Home
last modified time | relevance | path

Searched refs:b_code (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dratecontrol.c52 s->b_code, in ff_write_pass1_stats()
255 rce->pict_type == AV_PICTURE_TYPE_B ? (rce->f_code + rce->b_code) * 0.5 : rce->f_code, in get_qscale()
593 &rce->f_code, &rce->b_code, in ff_rate_control_init()
642 rce.b_code = 1; in ff_rate_control_init()
863 s->b_code = rce->b_code; in ff_get_2pass_fcode()
951 rce->b_code = s->b_code; in ff_rate_estimate_qscale()
Dratecontrol.h57 int b_code; member
Dmpeg12enc.c459 put_bits(&s->pb, 3, s->b_code); /* backward_f_code */ in ff_mpeg1_encode_picture_header()
478 put_bits(&s->pb, 4, s->b_code); in ff_mpeg1_encode_picture_header()
479 put_bits(&s->pb, 4, s->b_code); in ff_mpeg1_encode_picture_header()
947 s->b_code); in mpeg1_encode_mb_internal()
950 s->b_code); in mpeg1_encode_mb_internal()
995 s->b_code); in mpeg1_encode_mb_internal()
998 s->b_code); in mpeg1_encode_mb_internal()
Dnvdec_mpeg4.c79 .vop_fcode_backward = s->b_code, in nvdec_mpeg4_start_frame()
Dvdpau_mpeg4.c67 info->vop_fcode_backward = s->b_code; in vdpau_mpeg4_start_frame()
Dvaapi_mpeg4.c86 .vop_fcode_backward = s->b_code, in vaapi_mpeg4_start_frame()
Dmpeg4video.c39 return FFMAX3(s->f_code, s->b_code, 2) + 15; in ff_mpeg4_get_video_packet_prefix_length()
Dmpeg4videodec.c521 int b_code = get_bits(&s->gb, 3); in ff_mpeg4_decode_video_packet_header() local
522 if (b_code == 0) in ff_mpeg4_decode_video_packet_header()
1647 mx = ff_h263_decode_motion(s, s->last_mv[1][0][0], s->b_code); in mpeg4_decode_mb()
1648 my = ff_h263_decode_motion(s, s->last_mv[1][0][1], s->b_code); in mpeg4_decode_mb()
1675 mx = ff_h263_decode_motion(s, s->last_mv[1][i][0], s->b_code); in mpeg4_decode_mb()
1676 my = ff_h263_decode_motion(s, s->last_mv[1][i][1] / 2, s->b_code); in mpeg4_decode_mb()
3057 s->b_code = get_bits(gb, 3); in decode_vop_header()
3058 if (s->b_code == 0) { in decode_vop_header()
3061 s->b_code=1; in decode_vop_header()
3065 s->b_code = 1; in decode_vop_header()
[all …]
Dmpeg4videoenc.c582 s->b_code); in ff_mpeg4_encode_mb()
614 s->b_code); in ff_mpeg4_encode_mb()
1114 put_bits(&s->pb, 3, s->b_code); /* fcode_back */ in ff_mpeg4_encode_picture_header()
Dmpegvideo.h239 int b_code; ///< backward MV resolution for B-frames (MPEG-4) member
Dmotion_est.c1188 …const uint8_t * const mv_penalty_b = c->mv_penalty[s->b_code] + MAX_DMV; // f_code of the prev fra… in check_bidir_mv()
1526 bmin = estimate_motion_b(s, mb_x, mb_y, s->b_back_mv_table, 2, s->b_code) + in ff_estimate_b_frame_motion()
1541 c->current_mv_penalty= c->mv_penalty[s->b_code] + MAX_DMV; in ff_estimate_b_frame_motion()
Dmpegvideo_enc.c240 COPY(b_code); in update_duplicate_context_after_me()
3834 s->b_code = FFMAX(a, b); in encode_picture()
3837 … ff_fix_long_mvs(s, NULL, 0, s->b_back_mv_table, s->b_code, CANDIDATE_MB_TYPE_BACKWARD, 1); in encode_picture()
3839 … ff_fix_long_mvs(s, NULL, 0, s->b_bidir_back_mv_table, s->b_code, CANDIDATE_MB_TYPE_BIDIR, 1); in encode_picture()
3848 … s->b_field_mv_table[dir][i][j], dir ? s->b_code : s->f_code, type, 1); in encode_picture()
Dmpegvideo.c689 s->b_code = 1; in ff_mpv_common_defaults()