Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dratecontrol.c51 s->b_code, in ff_write_pass1_stats()
254 rce->pict_type == AV_PICTURE_TYPE_B ? (rce->f_code + rce->b_code) * 0.5 : rce->f_code, in get_qscale()
592 &rce->f_code, &rce->b_code, in ff_rate_control_init()
641 rce.b_code = 1; in ff_rate_control_init()
862 s->b_code = rce->b_code; in ff_get_2pass_fcode()
950 rce->b_code = s->b_code; in ff_rate_estimate_qscale()
Dmpeg12enc.c488 put_bits(&s->pb, 3, s->b_code); /* backward_f_code */ in ff_mpeg1_encode_picture_header()
507 put_bits(&s->pb, 4, s->b_code); in ff_mpeg1_encode_picture_header()
508 put_bits(&s->pb, 4, s->b_code); in ff_mpeg1_encode_picture_header()
977 s->b_code); in mpeg1_encode_mb_internal()
980 s->b_code); in mpeg1_encode_mb_internal()
1023 s->b_code); in mpeg1_encode_mb_internal()
1026 s->b_code); in mpeg1_encode_mb_internal()
Dratecontrol.h57 int b_code; member
Dvdpau_mpeg4.c67 info->vop_fcode_backward = s->b_code; in vdpau_mpeg4_start_frame()
Dnvdec_mpeg4.c81 .vop_fcode_backward = s->b_code, in nvdec_mpeg4_start_frame()
Dvaapi_mpeg4.c88 .vop_fcode_backward = s->b_code, in vaapi_mpeg4_start_frame()
Dmpeg4video.c51 return FFMAX3(s->f_code, s->b_code, 2) + 15; in ff_mpeg4_get_video_packet_prefix_length()
Dmpeg4videodec.c592 int b_code = get_bits(&s->gb, 3); in ff_mpeg4_decode_video_packet_header() local
593 if (b_code == 0) in ff_mpeg4_decode_video_packet_header()
1720 mx = ff_h263_decode_motion(s, s->last_mv[1][0][0], s->b_code); in mpeg4_decode_mb()
1721 my = ff_h263_decode_motion(s, s->last_mv[1][0][1], s->b_code); in mpeg4_decode_mb()
1748 mx = ff_h263_decode_motion(s, s->last_mv[1][i][0], s->b_code); in mpeg4_decode_mb()
1749 my = ff_h263_decode_motion(s, s->last_mv[1][i][1] / 2, s->b_code); in mpeg4_decode_mb()
3141 s->b_code = get_bits(gb, 3); in decode_vop_header()
3142 if (s->b_code == 0) { in decode_vop_header()
3145 s->b_code=1; in decode_vop_header()
3149 s->b_code = 1; in decode_vop_header()
[all …]
Dmpegvideo.h219 int b_code; ///< backward MV resolution for B-frames (MPEG-4) member
Dmpeg4videoenc.c586 s->b_code); in ff_mpeg4_encode_mb()
616 s->b_code); in ff_mpeg4_encode_mb()
1113 put_bits(&s->pb, 3, s->b_code); /* fcode_back */ in ff_mpeg4_encode_picture_header()
Dmotion_est.c1190 …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()
1528 bmin = estimate_motion_b(s, mb_x, mb_y, s->b_back_mv_table, 2, s->b_code) + in ff_estimate_b_frame_motion()
1543 c->current_mv_penalty= c->mv_penalty[s->b_code] + MAX_DMV; in ff_estimate_b_frame_motion()
Dmpegvideo_enc.c256 COPY(b_code); in update_duplicate_context_after_me()
3611 s->b_code = FFMAX(a, b); in encode_picture()
3614 … ff_fix_long_mvs(s, NULL, 0, s->b_back_mv_table, s->b_code, CANDIDATE_MB_TYPE_BACKWARD, 1); in encode_picture()
3616 … ff_fix_long_mvs(s, NULL, 0, s->b_bidir_back_mv_table, s->b_code, CANDIDATE_MB_TYPE_BIDIR, 1); in encode_picture()
3625 … s->b_field_mv_table[dir][i][j], dir ? s->b_code : s->f_code, type, 1); in encode_picture()
Dmpegvideo.c520 s->b_code = 1; in ff_mpv_common_defaults()