/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 | 149 return s->mb_num; in mpeg4_is_resync() 152 int len, mb_num; in mpeg4_is_resync() local 153 int mb_num_bits = av_log2(s->mb_num - 1) + 1; in mpeg4_is_resync() 163 mb_num = get_bits(&s->gb, mb_num_bits); in mpeg4_is_resync() 164 if (!mb_num || mb_num > s->mb_num || get_bits_count(&s->gb)+6 > s->gb.size_in_bits) in mpeg4_is_resync() 165 mb_num= -1; in mpeg4_is_resync() 170 return mb_num; in mpeg4_is_resync() 449 int mb_num_bits = av_log2(s->mb_num - 1) + 1; in ff_mpeg4_decode_video_packet_header() 450 int header_extension = 0, mb_num, len; in ff_mpeg4_decode_video_packet_header() local 470 mb_num = get_bits(&s->gb, mb_num_bits); in ff_mpeg4_decode_video_packet_header() [all …]
|
D | dnxhdenc.c | 336 if (!FF_ALLOCZ_TYPED_ARRAY(ctx->mb_rc, (ctx->m.avctx->qmax + 1) * ctx->m.mb_num)) in dnxhd_init_rc() 340 if (!FF_ALLOCZ_TYPED_ARRAY(ctx->mb_cmp, ctx->m.mb_num) || in dnxhd_init_rc() 341 !FF_ALLOCZ_TYPED_ARRAY(ctx->mb_cmp_tmp, ctx->m.mb_num)) in dnxhd_init_rc() 466 ctx->m.mb_num = ctx->m.mb_height * ctx->m.mb_width; in dnxhd_encode_init() 499 !FF_ALLOCZ_TYPED_ARRAY(ctx->mb_bits, ctx->m.mb_num) || in dnxhd_encode_init() 500 !FF_ALLOCZ_TYPED_ARRAY(ctx->mb_qscale, ctx->m.mb_num)) in dnxhd_encode_init() 879 ctx->mb_rc[(qscale * ctx->m.mb_num) + mb].ssd = ssd; in dnxhd_calc_bits_thread() 880 ctx->mb_rc[(qscale * ctx->m.mb_num) + mb].bits = ac_bits + dc_bits + 12 + in dnxhd_calc_bits_thread() 1039 int i = (q*ctx->m.mb_num) + mb; in dnxhd_encode_rdo() 1107 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 | 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() 827 if(s->mb_num-1 <= ff_mba_max[i]) break; in ff_h263_encode_mba()
|
D | error_resilience.h | 59 int mb_num; member
|
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() 1363 int mb_num_bits = av_log2(s->mb_num - 1) + 1; in ff_mpeg4_encode_video_packet_header()
|
D | h264dec.c | 249 er->mb_num = h->mb_num; in ff_h264_slice_context_init() 256 if (!FF_ALLOCZ_TYPED_ARRAY(er->mb_index2xy, h->mb_num + 1) || in ff_h264_slice_context_init()
|
D | svq3.c | 122 int mb_stride, mb_num; member 1068 i = (s->mb_num < 64) ? 6 : (1 + av_log2(s->mb_num - 1)); in svq3_decode_slice_header() 1298 s->mb_num = s->mb_width * s->mb_height; in svq3_decode_init()
|
D | ituh263dec.c | 143 if (s->mb_num - 1 <= ff_mba_max[i]) in ff_h263_decode_mba() 183 if(s->mb_num > 1583) in h263_decode_gob_header() 1227 s->mb_num = s->mb_width * s->mb_height; in ff_h263_decode_picture_header()
|
D | h264_slice.c | 352 h->mb_num = h1->mb_num; in ff_h264_update_thread_context() 1071 h->mb_num = h->mb_width * h->mb_height; in h264_init_ps() 1965 av_assert1(h->mb_num == h->mb_width * h->mb_height); in h264_slice_init() 1966 if (sl->first_mb_addr << FIELD_OR_MBAFF_PICTURE(h) >= h->mb_num || in h264_slice_init() 1967 sl->first_mb_addr >= h->mb_num) { in h264_slice_init() 2614 … 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 | 444 int mb_num; member
|
D | h261dec.c | 519 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 | 240 if(r->s.mb_skip_run > (unsigned)s->mb_num) in rv40_decode_mb_info()
|
D | rv10.c | 141 if (show_bits(&s->gb, 12) == 0 || (mb_xy && mb_xy < s->mb_num)) { in rv10_decode_picture_header()
|
D | h263dec.c | 670 s->er.error_status_table[s->mb_num - 1] = ER_MB_ERROR; in ff_h263_decode_frame()
|
D | h264_cavlc.c | 714 if (mb_skip_run > h->mb_num) { in ff_h264_decode_mb_cavlc()
|
D | mpegvideo.c | 731 s->mb_num = s->mb_width * s->mb_height; in init_context_frame() 747 if (!FF_ALLOCZ_TYPED_ARRAY(s->mb_index2xy, s->mb_num + 1)) in init_context_frame()
|
D | mpegvideo_enc.c | 225 for (i = 0; i < s->mb_num; i++) { in ff_init_qscale_tab() 1605 s->mb_num / s->b_sensitivity) in select_input_picture() 1926 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 | 500 guint mb_num; member
|