Menu

Commit [r2180]  Maximize  Restore  History

Reinstate fieldenc-from-input-header patch (updated):

4:2:0 (vertical) chroma subsampling is dependent on interlacing vs.
progressive, and the MPEG decoder decides which to use based on
'progressive-frame' flag, and this flag is set/cleared in the MPEG
stream by 'fieldenc' parameter in the encoder library, so:

o Automagically determine 'fieldenc' (aka "-I n") from the input stream
header's interlacing info (allowing command-line arg to override).

Also:

o Declare "input_interlacing" as 'int', not 'unsigned int'.
o Initialize "input_interlacing" to Y4M_UNKNOWN.
o Promote unknown stream interlacing to 'progressive' for input_interlacing.

mdoggydog 2004-01-15

changed /trunk/mjpeg_play/mpeg2enc/mpeg2encoptions.cc
changed /trunk/mjpeg_play/mpeg2enc/mpeg2encparams.h
/trunk/mjpeg_play/mpeg2enc/mpeg2encoptions.cc Diff Switch to side-by-side view
Loading...
/trunk/mjpeg_play/mpeg2enc/mpeg2encparams.h 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.