[FFmpeg-devel] [PATCH] Is flipping correct for MJPEG encoder?
Sat Oct 13 07:09:26 CEST 2007
In AMV video encoder (read MJPEG) picture have to be mirrored upside down.
I have made quick patch for handling this (attached).
Patch requires cleared CODEC_FLAG_EMU_EDGE (to avoid out of bounds error).
1. Is used in patch method correct ?
2. Where should i clear CODEC_FLAG_EMU_EDGE flag (currently it looks
like cleared, but i want to be sure)?
3. where can i get decoder's v_max equivalent (maximum of
mjpeg_vsample[i]), currently i've just hardcoded 2 there
("s->height/2", which is true for AMV, but hackish)
Note: attached patch is not complete AMV video encoder, but just it's
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1196 bytes
Desc: not available
More information about the ffmpeg-devel