]> git.seodisparate.com - EN605.617.81.FA21_StephenSeo_DitheringProject/log
EN605.617.81.FA21_StephenSeo_DitheringProject
4 months agoUpdate README.md master
Stephen Seo [Thu, 19 Dec 2024 11:50:21 +0000 (20:50 +0900)]
Update README.md

9 months agoUpdate README.md
Stephen Seo [Mon, 24 Jun 2024 04:24:01 +0000 (13:24 +0900)]
Update README.md

9 months agoHandle use of ffmpeg deprecated function
Stephen Seo [Mon, 24 Jun 2024 04:20:21 +0000 (13:20 +0900)]
Handle use of ffmpeg deprecated function

13 months agoUpdate LICENSE year
Stephen Seo [Thu, 7 Mar 2024 07:29:51 +0000 (16:29 +0900)]
Update LICENSE year

13 months agoMinor fix: un/signed int comparison warning
Stephen Seo [Thu, 7 Mar 2024 07:28:17 +0000 (16:28 +0900)]
Minor fix: un/signed int comparison warning

13 months agoFix use of deprecated OpenCL function
Stephen Seo [Thu, 7 Mar 2024 07:25:46 +0000 (16:25 +0900)]
Fix use of deprecated OpenCL function

Also specify use of OpenCL 3.0 instead of depending on default.

13 months agoFix usage of deprecated AVFrame::pkt_duration
Stephen Seo [Thu, 7 Mar 2024 07:15:19 +0000 (16:15 +0900)]
Fix usage of deprecated AVFrame::pkt_duration

Uses a macro to check FFMpeg version before setting AVFrame::duration or
AVFrame::pkt_duration.

22 months agoFix uninit. flag: videos outputted pngs sometimes
Stephen Seo [Sun, 28 May 2023 12:46:57 +0000 (21:46 +0900)]
Fix uninit. flag: videos outputted pngs sometimes

22 months agoUpdate LICENSE year
Stephen Seo [Tue, 23 May 2023 13:54:32 +0000 (22:54 +0900)]
Update LICENSE year

22 months agoSupport multiple OpenCL platforms
Stephen Seo [Tue, 23 May 2023 13:51:08 +0000 (22:51 +0900)]
Support multiple OpenCL platforms

Previously, the code only checked the first OpenCL platform and failed
if thet platform didn't have any devices.

3 years agoUpdate year in LICENSE
Stephen Seo [Fri, 18 Feb 2022 06:26:32 +0000 (15:26 +0900)]
Update year in LICENSE

3 years agoUpdate README.md
Stephen Seo [Fri, 18 Feb 2022 06:25:53 +0000 (15:25 +0900)]
Update README.md

3 years agoApply fixes based on FFmpeg 5.0
Stephen Seo [Fri, 18 Feb 2022 06:24:31 +0000 (15:24 +0900)]
Apply fixes based on FFmpeg 5.0

See README.md for more details

3 years agoSet up for more strict version checking of FFmpeg
Stephen Seo [Tue, 18 Jan 2022 03:35:08 +0000 (12:35 +0900)]
Set up for more strict version checking of FFmpeg

3 years agoSet maximum required versions of ffmpeg dependency
Stephen Seo [Tue, 18 Jan 2022 02:59:43 +0000 (11:59 +0900)]
Set maximum required versions of ffmpeg dependency

3 years agoUpdate README.md
Stephen Seo [Tue, 18 Jan 2022 02:55:19 +0000 (11:55 +0900)]
Update README.md

3 years agoUpdate README.md
Stephen Seo [Tue, 18 Jan 2022 02:54:37 +0000 (11:54 +0900)]
Update README.md

3 years agoUpdate README.md
Stephen Seo [Tue, 18 Jan 2022 02:51:53 +0000 (11:51 +0900)]
Update README.md

3 years agoUpdate README.md
Stephen Seo [Sun, 12 Dec 2021 07:15:51 +0000 (16:15 +0900)]
Update README.md

3 years agoUpdate README.md
Stephen Seo [Sun, 12 Dec 2021 06:53:36 +0000 (15:53 +0900)]
Update README.md

3 years agoMinor fix to Help/Usage text
Stephen Seo [Fri, 10 Dec 2021 07:08:33 +0000 (16:08 +0900)]
Minor fix to Help/Usage text

3 years agoUpdate README.md
Stephen Seo [Fri, 10 Dec 2021 06:49:14 +0000 (15:49 +0900)]
Update README.md

3 years agoRemove unnecessary include
Stephen Seo [Tue, 7 Dec 2021 07:49:09 +0000 (16:49 +0900)]
Remove unnecessary include

3 years agoImpl better handling of input video fps
Stephen Seo [Mon, 6 Dec 2021 08:02:09 +0000 (17:02 +0900)]
Impl better handling of input video fps

3 years agoFix memory leak with AVPacket, OpenCL logs
Stephen Seo [Mon, 6 Dec 2021 06:51:49 +0000 (15:51 +0900)]
Fix memory leak with AVPacket, OpenCL logs

3 years agoFix potential memory leak (free AVFrame instance)
Stephen Seo [Mon, 6 Dec 2021 06:24:02 +0000 (15:24 +0900)]
Fix potential memory leak (free AVFrame instance)

3 years agoFix --video-pngs where last frame may not be used
Stephen Seo [Mon, 6 Dec 2021 06:20:06 +0000 (15:20 +0900)]
Fix --video-pngs where last frame may not be used

3 years agoMore tweaking of encoding params for video
Stephen Seo [Sun, 5 Dec 2021 11:15:10 +0000 (20:15 +0900)]
More tweaking of encoding params for video

Also tweaked the notes/docs about resulting encoded video output.

3 years agoTweak encoding params for better quality video
Stephen Seo [Sun, 5 Dec 2021 10:54:13 +0000 (19:54 +0900)]
Tweak encoding params for better quality video

3 years agoUpdate README.md
Stephen Seo [Sat, 4 Dec 2021 11:09:55 +0000 (20:09 +0900)]
Update README.md

3 years agoFix Image::ColorToGray()
Stephen Seo [Sat, 4 Dec 2021 02:40:07 +0000 (11:40 +0900)]
Fix Image::ColorToGray()

Previous implementation had images brighter than usual. The algorithm
used was probably not necessary as it was for converting from
linear-space to a different one.

3 years agoMinor efficiency fix/refactoring
Stephen Seo [Sat, 4 Dec 2021 00:59:05 +0000 (09:59 +0900)]
Minor efficiency fix/refactoring

3 years agoUpdate README.md
Stephen Seo [Fri, 3 Dec 2021 11:15:02 +0000 (20:15 +0900)]
Update README.md

3 years agoImpl output to video, update program args
Stephen Seo [Fri, 3 Dec 2021 11:09:56 +0000 (20:09 +0900)]
Impl output to video, update program args

Turns out output to video suffers from loss of quality problems when in
color (not grayscale). It may be better in some cases to just output
each frame as a png and combining them later with ffmpeg like how it is
mentioned here: https://trac.ffmpeg.org/wiki/Slideshow . Grayscale video
is noticably better, but both cases result in large video sizes, so care
may be needed if free disk-space is sparse.

3 years agoMinor fixes
Stephen Seo [Thu, 2 Dec 2021 13:01:26 +0000 (22:01 +0900)]
Minor fixes

3 years agoMinor doc fixes, disable copy, allow move on Video
Stephen Seo [Thu, 2 Dec 2021 04:22:11 +0000 (13:22 +0900)]
Minor doc fixes, disable copy, allow move on Video

3 years agoMinor fix to documentation
Stephen Seo [Wed, 1 Dec 2021 12:35:05 +0000 (21:35 +0900)]
Minor fix to documentation

3 years agoMinor fix regarding blue-noise-offsets
Stephen Seo [Wed, 1 Dec 2021 09:13:21 +0000 (18:13 +0900)]
Minor fix regarding blue-noise-offsets

3 years agoUpdate README.md
Stephen Seo [Wed, 1 Dec 2021 08:41:49 +0000 (17:41 +0900)]
Update README.md

3 years agoAdd another generated blue-noise image to res/
Stephen Seo [Wed, 1 Dec 2021 08:38:34 +0000 (17:38 +0900)]
Add another generated blue-noise image to res/

3 years agoAdd to README.md note about supported file formats
Stephen Seo [Wed, 1 Dec 2021 08:36:46 +0000 (17:36 +0900)]
Add to README.md note about supported file formats

3 years agoUpdate README.md
Stephen Seo [Wed, 1 Dec 2021 08:33:28 +0000 (17:33 +0900)]
Update README.md

3 years agoAdd arg parsing
Stephen Seo [Wed, 1 Dec 2021 08:31:51 +0000 (17:31 +0900)]
Add arg parsing

3 years agoAdd comment about video.h
Stephen Seo [Wed, 1 Dec 2021 07:55:17 +0000 (16:55 +0900)]
Add comment about video.h

3 years agoUpdate README.md
Stephen Seo [Wed, 1 Dec 2021 07:51:28 +0000 (16:51 +0900)]
Update README.md

3 years agoUpdate README.md
Stephen Seo [Wed, 1 Dec 2021 07:50:11 +0000 (16:50 +0900)]
Update README.md

3 years agoCreate LICENSE
Stephen Seo [Wed, 1 Dec 2021 07:48:26 +0000 (16:48 +0900)]
Create LICENSE

3 years agoAdd some comments to video.h
Stephen Seo [Wed, 1 Dec 2021 07:31:56 +0000 (16:31 +0900)]
Add some comments to video.h

3 years agoMerge branch 'master' into develop
Stephen Seo [Wed, 1 Dec 2021 07:16:42 +0000 (16:16 +0900)]
Merge branch 'master' into develop

The merged code has support for decoding video into dithered images.

3 years agoUpdate README.md
Stephen Seo [Wed, 1 Dec 2021 07:16:33 +0000 (16:16 +0900)]
Update README.md

3 years agoMerge branch 'master' into develop
Stephen Seo [Wed, 1 Dec 2021 07:13:55 +0000 (16:13 +0900)]
Merge branch 'master' into develop

3 years agoAdd README.md
Stephen Seo [Wed, 1 Dec 2021 07:13:34 +0000 (16:13 +0900)]
Add README.md

3 years agoRefactoring of opencl_handle and image for reuse
Stephen Seo [Wed, 1 Dec 2021 07:02:34 +0000 (16:02 +0900)]
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.

3 years agoImpl convert video frames to color dithered pngs
Stephen Seo [Tue, 30 Nov 2021 07:02:51 +0000 (16:02 +0900)]
Impl convert video frames to color dithered pngs

3 years agoWIP Fix includes and linking with libav/ffmpeg
Stephen Seo [Mon, 29 Nov 2021 10:24:50 +0000 (19:24 +0900)]
WIP Fix includes and linking with libav/ffmpeg

3 years agoWIP Use ffmpeg to decode/encode dithered frames
Stephen Seo [Mon, 29 Nov 2021 10:13:26 +0000 (19:13 +0900)]
WIP Use ffmpeg to decode/encode dithered frames

3 years agoWrite more efficient dithered pngs using palettes
Stephen Seo [Sat, 27 Nov 2021 07:00:31 +0000 (16:00 +0900)]
Write more efficient dithered pngs using palettes

3 years agoMove image.cc fns to same order as in image.h
Stephen Seo [Sat, 27 Nov 2021 04:22:23 +0000 (13:22 +0900)]
Move image.cc fns to same order as in image.h

3 years agoAdd check: color-dithering usage on colored Image
Stephen Seo [Sat, 27 Nov 2021 04:17:35 +0000 (13:17 +0900)]
Add check: color-dithering usage on colored Image

3 years agoImpl dithering on red/green/blue channels
Stephen Seo [Sat, 27 Nov 2021 04:13:27 +0000 (13:13 +0900)]
Impl dithering on red/green/blue channels

Also add res/blue_noise_64x64.png for use in dithering.

3 years agoRename kernel using fns/vars with word "grayscale"
Stephen Seo [Sat, 27 Nov 2021 03:33:26 +0000 (12:33 +0900)]
Rename kernel using fns/vars with word "grayscale"

3 years agoSome fixes using dithering kernel
Stephen Seo [Sat, 27 Nov 2021 03:27:39 +0000 (12:27 +0900)]
Some fixes using dithering kernel

3 years agoImpl OpenCL Dithering with Blue-Noise
Stephen Seo [Fri, 26 Nov 2021 14:29:48 +0000 (23:29 +0900)]
Impl OpenCL Dithering with Blue-Noise

May need some cleanup (like adding comments).

3 years agoMinor fixes to opencl_handle
Stephen Seo [Thu, 18 Nov 2021 05:05:25 +0000 (14:05 +0900)]
Minor fixes to opencl_handle

3 years agoFix compiler error, minor fix
Stephen Seo [Tue, 16 Nov 2021 08:41:13 +0000 (17:41 +0900)]
Fix compiler error, minor fix

3 years agoclang-tidy/clang-format fixes
Stephen Seo [Tue, 16 Nov 2021 08:36:51 +0000 (17:36 +0900)]
clang-tidy/clang-format fixes

3 years agoImpl opencl_handle
Stephen Seo [Tue, 16 Nov 2021 08:14:13 +0000 (17:14 +0900)]
Impl opencl_handle

3 years agoTweaks to OpenCLContext/OpenCLHandle defs
Stephen Seo [Mon, 15 Nov 2021 13:10:45 +0000 (22:10 +0900)]
Tweaks to OpenCLContext/OpenCLHandle defs

3 years agoAdd skeleton code for OpenCL handling
Stephen Seo [Mon, 15 Nov 2021 05:40:11 +0000 (14:40 +0900)]
Add skeleton code for OpenCL handling

3 years agoImpl decode PGM/PPM, fix encode PNG
Stephen Seo [Fri, 12 Nov 2021 05:30:11 +0000 (14:30 +0900)]
Impl decode PGM/PPM, fix encode PNG

3 years agoImpl SaveAsPNG
Stephen Seo [Fri, 12 Nov 2021 04:12:15 +0000 (13:12 +0900)]
Impl SaveAsPNG

3 years agoMinor fix to comment
Stephen Seo [Fri, 12 Nov 2021 03:16:36 +0000 (12:16 +0900)]
Minor fix to comment

3 years agoImpl PNG decoding and PPM saving
Stephen Seo [Fri, 12 Nov 2021 03:13:46 +0000 (12:13 +0900)]
Impl PNG decoding and PPM saving

3 years agoWIP libpng image decoding
Stephen Seo [Thu, 11 Nov 2021 13:15:51 +0000 (22:15 +0900)]
WIP libpng image decoding

Also added Doxyfile for generation of doxygen-based documentation.

3 years agoInit project setup
Stephen Seo [Thu, 11 Nov 2021 11:04:59 +0000 (20:04 +0900)]
Init project setup

3 years agoInit empty commit
Stephen Seo [Thu, 11 Nov 2021 10:54:39 +0000 (19:54 +0900)]
Init empty commit