{"id":18023007,"url":"https://github.com/kanryu/simd_lode_png","last_synced_at":"2025-04-04T18:17:37.700Z","repository":{"id":140593775,"uuid":"164439110","full_name":"kanryu/simd_lode_png","owner":"kanryu","description":"A fast png loader implementation","archived":false,"fork":false,"pushed_at":"2019-01-07T14:35:30.000Z","size":1526,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-10T03:26:51.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kanryu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-07T13:47:07.000Z","updated_at":"2019-07-25T21:22:06.000Z","dependencies_parsed_at":"2023-05-03T20:02:13.227Z","dependency_job_id":null,"html_url":"https://github.com/kanryu/simd_lode_png","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fsimd_lode_png","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fsimd_lode_png/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fsimd_lode_png/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fsimd_lode_png/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanryu","download_url":"https://codeload.github.com/kanryu/simd_lode_png/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226191,"owners_count":20904467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T07:06:39.321Z","updated_at":"2025-04-04T18:17:37.676Z","avatar_url":"https://github.com/kanryu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simd_lode_png\nA fast png loader implementation\n\n## 注意\n\nこのプロジェクトはまだ開発中のものです。\n\n## 目的\n\nlibpngより短時間でpng画像をビットマップにデコードするライブラリを作成します。\nこれは1スレッドで考える場合と並列処理化した場合の両方を含みます。\nつまり1スレッド実行でもある程度高速処理できるようにした上で、並列実装を盛り込み更に高速化します。\n最終的にlibpngの5倍以上の能力を目指します。\n\n## 現在の内容\n\n- libdeflate\n    - submoduleを取ってきて、中でmsys2/mingw64版のmake/gccを使ってビルドしてください。msvcにやらせるとSIMD実装が含まれないビルドになります。\n- lodepng\n    - 数カ所にhackが入っています。\n    - zlib処理をlibdeflateで差し替えれるようにしています。\n    - intel/filter_sse2_intrinsics.c はlibpngから取ってきたものです。\n    - intel/filter_sse2_intrinsics.c のビルドにはnasmが必要です。msys2のpacmanで入ります。\n    - これからlodepng.cppに更にhackを入れていきます。\n    - まずはオーバーヘッドの大きい decodeGeneric() および postProcessScanlines()あたりから。\n- simd_lode_png\n    - hackされたlodepngのクライアントです。\n    - ここで実際の画像の読み込みテストをやります。\n\n## 現時点での修正点\n\n- zlibのデコード処理をlibdeflateに差し替えた\n- unfilterをlibpngのものに差し替えた\n\n## 今後の修正予定\n\n- unfilterをparngのものに差し替える\n- lodepngのオーバーヘッドを削る\n- lodepngがやっている動的メモリ確保の回数を減らし、一度確保したメモリを使い回せるようにする\n- 同時に、出力先のビットマップのバッファは外部から指定できるようにする\n- lodepngが実施している各処理を並列化し、デコード所要時間を更に削る\n\n## ライセンス\n\nzlib/MIT/Apache2のいずれかの予定。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanryu%2Fsimd_lode_png","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanryu%2Fsimd_lode_png","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanryu%2Fsimd_lode_png/lists"}