[FFmpeg-devel] /libavcodec/h264_slice.c: selectively discard MB to be decoded

Mehdi Hosseini mehdi.hoseini at gmail.com
Thu Feb 11 10:08:06 CET 2016


Hi all,

I want to discard some MBs of a B-FRAME from decoding. In fact, I want to
avoid some special MB to be decoded and instead copy the MB of one of its
parents. Note that no B-Frame is reference. The best function for me to
discard a list of MB is:

(/libavcodec/h264_slice.c) static int decode_slice(struct AVCodecContext
*avctx, void *arg)

 FRAME_MBAFF(h)


More information about the ffmpeg-devel mailing list