707 |
707 |
|
708 |
708 |
if (CONFIG_H261_ENCODER && s->out_format == FMT_H261)
|
709 |
709 |
ff_h261_encode_init(s);
|
710 |
|
if (CONFIG_ANY_H263_ENCODER && s->out_format == FMT_H263)
|
|
710 |
if (CONFIG_H263_ENCODER && s->out_format == FMT_H263)
|
711 |
711 |
h263_encode_init(s);
|
712 |
712 |
if (CONFIG_MSMPEG4_ENCODER && s->msmpeg4_version)
|
713 |
713 |
ff_msmpeg4_encode_init(s);
|
... | ... | |
2472 |
2472 |
}
|
2473 |
2473 |
s->last_bits= put_bits_count(&s->pb);
|
2474 |
2474 |
|
2475 |
|
if (CONFIG_ANY_H263_ENCODER &&
|
|
2475 |
if (CONFIG_H263_ENCODER &&
|
2476 |
2476 |
s->out_format == FMT_H263 && s->pict_type!=FF_B_TYPE)
|
2477 |
2477 |
ff_h263_update_motion_val(s);
|
2478 |
2478 |
|
... | ... | |
2599 |
2599 |
// RAL: Update last macroblock type
|
2600 |
2600 |
s->last_mv_dir = s->mv_dir;
|
2601 |
2601 |
|
2602 |
|
if (CONFIG_ANY_H263_ENCODER &&
|
|
2602 |
if (CONFIG_H263_ENCODER &&
|
2603 |
2603 |
s->out_format == FMT_H263 && s->pict_type!=FF_B_TYPE)
|
2604 |
2604 |
ff_h263_update_motion_val(s);
|
2605 |
2605 |
|
... | ... | |
2630 |
2630 |
s->dest[2], w>>1, h>>s->chroma_y_shift, s->uvlinesize);
|
2631 |
2631 |
}
|
2632 |
2632 |
if(s->loop_filter){
|
2633 |
|
if(CONFIG_ANY_H263_ENCODER && s->out_format == FMT_H263)
|
|
2633 |
if(CONFIG_H263_ENCODER && s->out_format == FMT_H263)
|
2634 |
2634 |
ff_h263_loop_filter(s);
|
2635 |
2635 |
}
|
2636 |
2636 |
//printf("MB %d %d bits\n", s->mb_x+s->mb_y*s->mb_stride, put_bits_count(&s->pb));
|
... | ... | |
2936 |
2936 |
rv20_encode_picture_header(s, picture_number);
|
2937 |
2937 |
else if (CONFIG_FLV_ENCODER && s->codec_id == CODEC_ID_FLV1)
|
2938 |
2938 |
ff_flv_encode_picture_header(s, picture_number);
|
2939 |
|
else if (CONFIG_ANY_H263_ENCODER)
|
|
2939 |
else if (CONFIG_H263_ENCODER)
|
2940 |
2940 |
h263_encode_picture_header(s, picture_number);
|
2941 |
2941 |
break;
|
2942 |
2942 |
case FMT_MPEG1:
|