Commit graph

39 commits

Author SHA1 Message Date
de1b0cc2ac Minor fix regarding blue-noise-offsets 2021-12-01 18:13:21 +09:00
6e27c41f43 Update README.md 2021-12-01 17:41:49 +09:00
46555ce85a Add another generated blue-noise image to res/ 2021-12-01 17:38:34 +09:00
12c7921d63 Add to README.md note about supported file formats 2021-12-01 17:36:46 +09:00
0fc796e582 Update README.md 2021-12-01 17:33:28 +09:00
07d931126f Add arg parsing 2021-12-01 17:31:51 +09:00
af7b28f794 Add comment about video.h 2021-12-01 16:55:17 +09:00
b5cf224935
Update README.md 2021-12-01 16:51:28 +09:00
be976b8ee7
Update README.md 2021-12-01 16:50:11 +09:00
491b8bc531
Create LICENSE 2021-12-01 16:48:26 +09:00
fa7b5a110a Add some comments to video.h 2021-12-01 16:31:56 +09:00
f9e87adcd3 Merge branch 'master' into develop
The merged code has support for decoding video into dithered images.
2021-12-01 16:23:48 +09:00
ce853fa54e Update README.md 2021-12-01 16:16:33 +09:00
6efb6e98cd Merge branch 'master' into develop 2021-12-01 16:13:55 +09:00
56dfb9f8e5 Add README.md 2021-12-01 16:13:34 +09:00
6e5eaac63d Refactoring of opencl_handle and image for reuse
Refactoring was done so that the OpenCL kernels wouldn't need to be
recompiled every time an image was dithered, among other efficiency
fixes.
2021-12-01 16:04:05 +09:00
11f48592bf Impl convert video frames to color dithered pngs 2021-11-30 16:02:51 +09:00
6677fba89c WIP Fix includes and linking with libav/ffmpeg 2021-11-29 19:24:50 +09:00
cfdd411b99 WIP Use ffmpeg to decode/encode dithered frames 2021-11-29 19:13:26 +09:00
7705170f9a Write more efficient dithered pngs using palettes 2021-11-27 16:00:31 +09:00
6f0a0219b3 Move image.cc fns to same order as in image.h 2021-11-27 13:22:23 +09:00
a2535ce630 Add check: color-dithering usage on colored Image 2021-11-27 13:17:35 +09:00
3cece9ae1d Impl dithering on red/green/blue channels
Also add res/blue_noise_64x64.png for use in dithering.
2021-11-27 13:13:27 +09:00
b14f0a01b2 Rename kernel using fns/vars with word "grayscale" 2021-11-27 12:33:26 +09:00
5ad6f9d035 Some fixes using dithering kernel 2021-11-27 12:27:39 +09:00
732c99403a Impl OpenCL Dithering with Blue-Noise
May need some cleanup (like adding comments).
2021-11-26 23:29:48 +09:00
165fa65cc1 Minor fixes to opencl_handle 2021-11-18 14:05:25 +09:00
e3d1012af8 Fix compiler error, minor fix 2021-11-16 17:41:13 +09:00
4f78d92bc8 clang-tidy/clang-format fixes 2021-11-16 17:36:51 +09:00
ddb83ac7fc Impl opencl_handle 2021-11-16 17:14:13 +09:00
b794cace6e Tweaks to OpenCLContext/OpenCLHandle defs 2021-11-15 22:10:45 +09:00
e07691f71d Add skeleton code for OpenCL handling 2021-11-15 14:40:11 +09:00
19e4dfcb1c Impl decode PGM/PPM, fix encode PNG 2021-11-12 14:30:11 +09:00
577e7ae5e9 Impl SaveAsPNG 2021-11-12 13:12:15 +09:00
ee63cc2a7c Minor fix to comment 2021-11-12 12:16:36 +09:00
5ff32ab42c Impl PNG decoding and PPM saving 2021-11-12 12:13:46 +09:00
7a8ad131ed WIP libpng image decoding
Also added Doxyfile for generation of doxygen-based documentation.
2021-11-11 22:17:00 +09:00
06f60186a6 Init project setup 2021-11-11 20:04:59 +09:00
a00fdfcc9e Init empty commit 2021-11-11 19:54:39 +09:00