Menu

Commit [r3004]  Maximize  Restore  History

added the patch for : Johannes Lehtinen

Changes affecting the yuvfps core:

- removed the limitation of 3 plane chroma modes only
(allocate space for Y4M_MAX_NUM_PLANES in static structures and
dynamically allocate space for the actually required planes)

- for all malloc calls use a new static checked_malloc function which
checks for failures (to minimize the amount of duplicated code)

- moved the frame rate normalization to the main function
(so that it is shared by the two alternative algorithms)

- added support for specifying output/input interlacing mode
(can be changed only when using weighted average resampling mode)

- optionally use weighted average resampling mode, if so specified

The default is to use the drop/duplicate algorithm as before.

I did not update the version number (still 0.1), although the LOC count
doubled :) Also, I did not update the dates in the man page, although I
did add several paragraphs there.

Most of the wa resampling code is contained in resample_wa function.
Eliminating couple of separate functions made the code a bit less
readable but I thought it was still cleaner way to do it than passing
all the required variables internal to resample_wa as parameters or
making them global static variables.

waldviertler 2006-01-08

changed /trunk/mjpeg_play/docs/yuvfps.1
changed /trunk/mjpeg_play/lavtools/yuvfps.c
/trunk/mjpeg_play/docs/yuvfps.1 Diff Switch to side-by-side view
Loading...
/trunk/mjpeg_play/lavtools/yuvfps.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.