/third_party/ffmpeg/libavcodec/ |
D | ratecontrol.c | 244 const double mb_num = s->mb_num; in get_qscale() local 254 rce->mv_bits / mb_num, in get_qscale() 256 rce->i_count / mb_num, in get_qscale() 257 rce->mc_mb_var_sum / mb_num, in get_qscale() 258 rce->mb_var_sum / mb_num, in get_qscale() 567 rce->misc_bits = s->mb_num + 10; in ff_rate_control_init() 568 rce->mb_var_sum = s->mb_num * 100; in ff_rate_control_init() 626 double bits = s->rc_initial_cplx * (i / 10000.0 + 1.0) * s->mb_num; in ff_rate_control_init() 637 rce.mc_mb_var_sum = bits * s->mb_num / 100000; in ff_rate_control_init() 638 rce.mb_var_sum = s->mb_num; in ff_rate_control_init() [all …]
|
D | mpeg4videodec.c | 147 return s->mb_num; in mpeg4_is_resync() 150 int len, mb_num; in mpeg4_is_resync() local 151 int mb_num_bits = av_log2(s->mb_num - 1) + 1; in mpeg4_is_resync() 161 mb_num = get_bits(&s->gb, mb_num_bits); in mpeg4_is_resync() 162 if (!mb_num || mb_num > s->mb_num || get_bits_count(&s->gb)+6 > s->gb.size_in_bits) in mpeg4_is_resync() 163 mb_num= -1; in mpeg4_is_resync() 168 return mb_num; in mpeg4_is_resync() 451 int mb_num_bits = av_log2(s->mb_num - 1) + 1; in ff_mpeg4_decode_video_packet_header() 452 int header_extension = 0, mb_num, len; in ff_mpeg4_decode_video_packet_header() local 472 mb_num = get_bits(&s->gb, mb_num_bits); in ff_mpeg4_decode_video_packet_header() [all …]
|
D | dnxhdenc.c | 349 ctx->m.mb_num * sizeof(RCEntry), fail); in dnxhd_init_rc() 352 ctx->m.mb_num, sizeof(RCCMPEntry), fail); in dnxhd_init_rc() 354 ctx->m.mb_num, sizeof(RCCMPEntry), fail); in dnxhd_init_rc() 482 ctx->m.mb_num = ctx->m.mb_height * ctx->m.mb_width; in dnxhd_encode_init() 518 ctx->m.mb_num * sizeof(uint16_t), fail); in dnxhd_encode_init() 520 ctx->m.mb_num * sizeof(uint8_t), fail); in dnxhd_encode_init() 901 ctx->mb_rc[(qscale * ctx->m.mb_num) + mb].ssd = ssd; in dnxhd_calc_bits_thread() 902 ctx->mb_rc[(qscale * ctx->m.mb_num) + mb].bits = ac_bits + dc_bits + 12 + in dnxhd_calc_bits_thread() 1061 int i = (q*ctx->m.mb_num) + mb; in dnxhd_encode_rdo() 1129 bits += ctx->mb_rc[(qscale*ctx->m.mb_num) + (y*ctx->m.mb_width+x)].bits; in dnxhd_find_qscale() [all …]
|
D | error_resilience.c | 733 for (i = 0; i < s->mb_num; i++) { in is_intra_more_likely() 809 atomic_init(&s->error_count, 3 * s->mb_num); in ff_er_frame_start() 833 const int start_i = av_clip(startx + starty * s->mb_width, 0, s->mb_num - 1); in ff_er_add_slice() 834 const int end_i = av_clip(endx + endy * s->mb_width, 0, s->mb_num); in ff_er_add_slice() 879 if (end_i == s->mb_num) in ff_er_add_slice() 990 for (i = s->mb_num - 1; i >= 0; i--) { in ff_er_frame_end() 1012 for (i = s->mb_num - 1; i >= 0; i--) { in ff_er_frame_end() 1036 for (i = s->mb_num - 2; i >= s->mb_width + 100; i--) { in ff_er_frame_end() 1061 for (i = s->mb_num - 1; i >= 0; i--) { in ff_er_frame_end() 1086 for (i = 0; i < s->mb_num; i++) { in ff_er_frame_end() [all …]
|
D | mpeg_er.c | 109 er->mb_num = s->mb_num; in ff_mpeg_er_init()
|
D | error_resilience.h | 59 int mb_num; member
|
D | ituh263enc.c | 249 if(s->mb_num > 1583) in ff_h263_encode_gob_header() 272 for(i=1; i<s->mb_num; i++){ in ff_clean_h263_qscales() 276 for(i=s->mb_num-2; i>=0; i--){ in ff_clean_h263_qscales() 282 for(i=1; i<s->mb_num; i++){ in ff_clean_h263_qscales() 830 if(s->mb_num-1 <= ff_mba_max[i]) break; in ff_h263_encode_mba()
|
D | mpeg4videoenc.c | 226 for (i = 0; i < s->mb_num; i++) { in ff_clean_mpeg4_qscales() 231 if (2 * odd > s->mb_num) in ff_clean_mpeg4_qscales() 236 for (i = 0; i < s->mb_num; i++) { in ff_clean_mpeg4_qscales() 244 for (i = 1; i < s->mb_num; i++) { in ff_clean_mpeg4_qscales() 1364 int mb_num_bits = av_log2(s->mb_num - 1) + 1; in ff_mpeg4_encode_video_packet_header()
|
D | h264dec.c | 265 er->mb_num = h->mb_num; in ff_h264_slice_context_init() 273 (h->mb_num + 1) * sizeof(int), fail); in ff_h264_slice_context_init()
|
D | svq3.c | 126 int mb_stride, mb_num; member 1073 i = (s->mb_num < 64) ? 6 : (1 + av_log2(s->mb_num - 1)); in svq3_decode_slice_header() 1316 s->mb_num = s->mb_width * s->mb_height; in svq3_decode_init()
|
D | ituh263dec.c | 144 if (s->mb_num - 1 <= ff_mba_max[i]) in ff_h263_decode_mba() 184 if(s->mb_num > 1583) in h263_decode_gob_header() 1228 s->mb_num = s->mb_width * s->mb_height; in ff_h263_decode_picture_header()
|
D | h264_slice.c | 360 h->mb_num = h1->mb_num; in ff_h264_update_thread_context() 1057 h->mb_num = h->mb_width * h->mb_height; in h264_init_ps() 1950 av_assert1(h->mb_num == h->mb_width * h->mb_height); in h264_slice_init() 1951 if (sl->first_mb_addr << FIELD_OR_MBAFF_PICTURE(h) >= h->mb_num || in h264_slice_init() 1952 sl->first_mb_addr >= h->mb_num) { in h264_slice_init() 2599 … const int start_i = av_clip(sl->resync_mb_x + sl->resync_mb_y * h->mb_width, 0, h->mb_num - 1); in decode_slice()
|
D | h264dec.h | 443 int mb_num; member
|
D | h261dec.c | 524 s->mb_num = s->mb_width * s->mb_height; in h261_decode_picture_header()
|
D | mpegvideo.h | 133 int mb_num; ///< number of MBs of a picture member
|
D | rv40.c | 237 if(r->s.mb_skip_run > (unsigned)s->mb_num) in rv40_decode_mb_info()
|
D | rv10.c | 292 if (show_bits(&s->gb, 12) == 0 || (mb_xy && mb_xy < s->mb_num)) { in rv10_decode_picture_header()
|
D | h263dec.c | 669 s->er.error_status_table[s->mb_num - 1] = ER_MB_ERROR; in ff_h263_decode_frame()
|
D | h264_cavlc.c | 719 if (mb_skip_run > h->mb_num) { in ff_h264_decode_mb_cavlc()
|
D | mpegvideo.c | 702 s->mb_num = s->mb_width * s->mb_height; in init_context_frame() 718 FF_ALLOCZ_OR_GOTO(s->avctx, s->mb_index2xy, (s->mb_num + 1) * sizeof(int), in init_context_frame()
|
D | mpegvideo_enc.c | 223 for (i = 0; i < s->mb_num; i++) { in ff_init_qscale_tab() 1566 s->mb_num / s->b_sensitivity) in select_input_picture() 1886 avctx->p_count = s->mb_num - s->i_count - s->skip_count; in ff_mpv_encode_picture()
|
D | motion_est.c | 1612 for(i=0; i<8; i++) score[i]= s->mb_num*(8-i); in ff_get_best_fcode()
|
D | snowenc.c | 85 s->m.mb_num = (avctx->width * avctx->height + 255) / 256; // For ratecontrol in encode_init()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gstmpeg4parser.c | 1333 vop->mb_num = vop->mb_height * vop->mb_width; in gst_mpeg4_parse_video_object_plane() 1409 vop->mb_num = vop->mb_height * vop->mb_width; in gst_mpeg4_parse_video_object_plane() 1670 vop->mb_num = vop->mb_height * vop->mb_width; in gst_mpeg4_parse_video_packet_header() 1675 g_bit_storage (vop->mb_num - 1)); in gst_mpeg4_parse_video_packet_header()
|
D | gstmpeg4parser.h | 495 guint mb_num; member
|