Commit graph

9 commits

Author SHA1 Message Date
2eaabd7a95 Stub program that can display a jpg passed through cli 2021-11-02 23:38:27 +01:00
b1c717ceb6 Split src into subdirectories 2021-11-02 23:12:04 +01:00
1413f76d2a Convert to greyscale instead of rgb 2021-11-01 23:56:44 +01:00
eae5f4cfdf Bring the open2() call back into avcodec
I only need to pass the format to the custom get_format
function, not this* which is even wrong if user moves
the Decoder object.
2021-11-01 17:02:47 +01:00
2b035ddf49 get_format should not be set after calling avcodec_open2() 2021-11-01 16:23:12 +01:00
ab145e2bb0 Refactoring to remove the FavouriteFormat static member 2021-11-01 16:16:47 +01:00
341b60c9d0 Convert camera data to rgb24 with ffmpeg 2021-11-01 15:48:56 +01:00
36e5d15400 Clean up main() 2021-10-31 18:28:10 +01:00
2f4587e40a First import
Program can read from /dev/video0 and dump the frame to the disk
2021-10-31 16:43:18 +01:00