一 Encoder函数调用图
1 avcodec_encode_video
|___ avcodec_check_dimensions
|___ avctx->codec->encode(for mpeg-2 call MPV_encode_picture)
|___ init_put_bits(for multiple thread)
|___ load_input_picture(copy data from input pic_arg)
|___ select_input_picture(I,B,P)
|___ MPV_frame_start
|___ encode_picture
| |___ s->avctx->execute
| |___ encode_thread
| |___ encode_mb
| |___ MPV_decode_mb
|
|
|___ MPV_frame_end