Home
last modified time | relevance | path

Searched refs:mb_rows (Results 1 – 25 of 37) sorted by relevance

12

/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c54 pbi->overlaps = vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, in vp8_alloc_overlap_lists()
172 int mb_rows, int mb_cols, in vp8_calculate_overlaps() argument
191 if (new_row >= ((16*mb_rows) << 3) || new_col >= ((16*mb_cols) << 3)) in vp8_calculate_overlaps()
212 end_row = VPXMIN(mb_rows - overlap_mb_row, 2); in vp8_calculate_overlaps()
329 int mb_rows, int mb_cols) in calc_prev_mb_overlaps() argument
338 overlaps, mb_rows, mb_cols, in calc_prev_mb_overlaps()
350 int mb_rows, int mb_cols, in estimate_missing_mvs() argument
354 memset(overlaps, 0, sizeof(MB_OVERLAP) * mb_rows * mb_cols); in estimate_missing_mvs()
356 for (mb_row = 0; mb_row < mb_rows; ++mb_row) in estimate_missing_mvs()
367 mb_rows, mb_cols); in estimate_missing_mvs()
[all …]
Dthreading.c89 for (i = 0; i < pc->mb_rows; i++) in setup_decoding_thread_data()
340 for (mb_row = start_mb_row; mb_row < pc->mb_rows; mb_row += (pbi->decoding_thread_count + 1)) in mt_decode_mb_rows()
369 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; in mt_decode_mb_rows()
452 pc->mb_rows, pc->mb_cols, in mt_decode_mb_rows()
500 if( mb_row != pc->mb_rows-1 ) in mt_decode_mb_rows()
589 if(mb_row != pc->mb_rows-1) in mt_decode_mb_rows()
617 if (last_mb_row == (pc->mb_rows - 1)) in mt_decode_mb_rows()
698 void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows) in vp8mt_de_alloc_temp_buffers() argument
710 for (i=0; i< mb_rows; i++) in vp8mt_de_alloc_temp_buffers()
721 for (i=0; i< mb_rows; i++) in vp8mt_de_alloc_temp_buffers()
[all …]
Derror_concealment.h37 int mb_rows, int mb_cols,
Ddecoderthreading.h23 void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows);
Donyxd_if.c391 for (row = 0; row < pbi->common.mb_rows; ++row) in vp8dx_receive_compressed_data()
459 for (mb_row = 0; mb_row < oci->mb_rows; mb_row++) in vp8dx_references_buffer()
507 vp8mt_de_alloc_temp_buffers(pbi, pbi->common.mb_rows); in vp8_remove_decoder_instances()
/external/libvpx/libvpx/test/
Dset_roi.cc53 cpi.common.mb_rows = 240 >> 4; in TEST()
55 const int mbs = (cpi.common.mb_rows * cpi.common.mb_cols); in TEST()
69 int roi_retval = vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, in TEST()
137 roi_retval = vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, in TEST()
147 roi_retval = vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, in TEST()
159 roi_retval = vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, in TEST()
166 roi_retval = vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows + 1, in TEST()
171 roi_retval = vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, in TEST()
Dactive_map_refresh_test.cc48 void GenerateMap(int mb_rows, int mb_cols, const vpx_image_t &current, in GenerateMap() argument
50 for (int mb_r = 0; mb_r < mb_rows; ++mb_r) { in GenerateMap()
/external/webrtc/webrtc/modules/video_processing/
Dvideo_denoiser.cc21 void VideoDenoiser::TrailingReduction(int mb_rows, in TrailingReduction() argument
26 for (int mb_row = 1; mb_row < mb_rows - 1; ++mb_row) { in TrailingReduction()
81 int mb_rows = height_ >> 4; in DenoiseFrame() local
83 metrics_.reset(new DenoiseMetrics[mb_cols * mb_rows]()); in DenoiseFrame()
93 for (int mb_row = 0; mb_row < mb_rows; ++mb_row) { in DenoiseFrame()
139 TrailingReduction(mb_rows, mb_cols, y_src, stride_y, y_dst); in DenoiseFrame()
Dvideo_denoiser.h25 void TrailingReduction(int mb_rows,
/external/libvpx/libvpx/vp8/encoder/
Dsegmentation.c26 memset(cpi->gf_active_flags, 1, (cm->mb_rows * cm->mb_cols)); in vp8_update_gf_useage_maps()
27 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_update_gf_useage_maps()
32 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in vp8_update_gf_useage_maps()
Dmr_dissim.c91 for (mb_row = 0; mb_row < cm->mb_rows; mb_row ++) in vp8_cal_dissimilarity()
132 if(mb_row < (cm->mb_rows-1)) in vp8_cal_dissimilarity()
141 && mb_row < (cm->mb_rows-1)) in vp8_cal_dissimilarity()
161 if(mb_row < (cm->mb_rows-1)) in vp8_cal_dissimilarity()
170 && mb_row < (cm->mb_rows-1)) in vp8_cal_dissimilarity()
Dtemporal_filter.c238 int mb_rows = cpi->common.mb_rows; in vp8_temporal_filter_iterate_c() local
253 for (mb_row = 0; mb_row < mb_rows; mb_row++) in vp8_temporal_filter_iterate_c()
268 cpi->mb.mv_row_max = ((cpi->common.mb_rows - 1 - mb_row) * 16) in vp8_temporal_filter_iterate_c()
Donyx_if.c504 memcpy(cpi->segmentation_map, segmentation_map, (cpi->common.mb_rows * cpi->common.mb_cols)); in set_segmentation_map()
537 int mbs_in_frame = cpi->common.mb_rows * cpi->common.mb_cols; in cyclic_background_refresh()
550 (cpi->common.mb_rows * cpi->common.mb_cols) / 10; in cyclic_background_refresh()
557 (cpi->common.mb_rows * cpi->common.mb_cols) / 20; in cyclic_background_refresh()
1167 (cpi->common.mb_rows + 1), in vp8_alloc_partition_data()
1216 unsigned int tokens = cm->mb_rows * cm->mb_cols * 24 * 16; in vp8_alloc_compressor_data()
1229 cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data()
1230 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_alloc_compressor_data()
1235 cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data()
1239 CHECK_MEM_ERROR(cpi->lfmv, vpx_calloc((cm->mb_rows+2) * (cm->mb_cols+2), in vp8_alloc_compressor_data()
[all …]
Dlookahead.c113 int mb_rows = (src->y_height + 15) >> 4; in vp8_lookahead_push() local
128 for (row = 0; row < mb_rows; ++row) in vp8_lookahead_push()
Dencodeframe.c224 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in calc_activity_index()
281 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in build_activity_map()
419 xd->mb_to_bottom_edge = ((cm->mb_rows - 1 - mb_row) * 16) << 3; in encode_mb_row()
425 x->mv_row_max = ((cm->mb_rows - 1 - mb_row) * 16) in encode_mb_row()
833 for (i = 0; i < cm->mb_rows; i++) in vp8_encode_frame()
841 for (mb_row = 0; mb_row < cm->mb_rows; mb_row += (cpi->encoding_thread_count + 1)) in vp8_encode_frame()
862 if(mb_row == cm->mb_rows - 1) in vp8_encode_frame()
870 for (mb_row = 0; mb_row < cm->mb_rows; mb_row ++) in vp8_encode_frame()
936 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in vp8_encode_frame()
Dethreading.c78 … for (mb_row = ithread + 1; mb_row < cm->mb_rows; mb_row += (cpi->encoding_thread_count + 1)) in thread_encoding_proc()
138 xd->mb_to_bottom_edge = ((cm->mb_rows - 1 - mb_row) * 16) << 3; in thread_encoding_proc()
146 x->mv_row_max = ((cm->mb_rows - 1 - mb_row) * 16) + (VP8BORDERINPIXELS - 16); in thread_encoding_proc()
313 if (mb_row == cm->mb_rows - 1) in thread_encoding_proc()
Dbitstream.c395 for (mb_row = i; mb_row < cpi->common.mb_rows; mb_row += num_part) in pack_tokens_into_partitions()
415 for (mb_row = 0; mb_row < cpi->common.mb_rows; mb_row++) in pack_mb_row_tokens()
541 int total_mbs = pc->mb_rows * pc->mb_cols; in pack_inter_mode_mvs()
563 while (++mb_row < pc->mb_rows) in pack_inter_mode_mvs()
582 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; in pack_inter_mode_mvs()
732 int total_mbs = c->mb_rows * c->mb_cols; in write_kfmodes()
746 while (++mb_row < c->mb_rows) in write_kfmodes()
/external/libvpx/libvpx/vp8/common/
Dalloccommon.c83 oci->mb_rows = height >> 4; in vp8_alloc_frame_buffers()
85 oci->MBs = oci->mb_rows * oci->mb_cols; in vp8_alloc_frame_buffers()
87 oci->mip = vpx_calloc((oci->mb_cols + 1) * (oci->mb_rows + 1), sizeof(MODE_INFO)); in vp8_alloc_frame_buffers()
Dvp8_loopfilter.c315 int mb_rows = cm->mb_rows; in vp8_loop_filter_frame() local
338 for (mb_row = 0; mb_row < mb_rows; mb_row++) in vp8_loop_filter_frame()
394 for (mb_row = 0; mb_row < mb_rows; mb_row++) in vp8_loop_filter_frame()
480 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in vp8_loop_filter_frame_yonly()
566 int mb_rows = post->y_height >> 4; in vp8_loop_filter_partial_frame() local
587 linestocopy = mb_rows / PARTIAL_FRAME_FRACTION; in vp8_loop_filter_partial_frame()
Dpostproc.c345 for (mbr = 0; mbr < cm->mb_rows; mbr++) in vp8_deblock()
399 int mb_rows = cm->mb_rows; in vp8_de_noise() local
409 for (mbr = 0; mbr < mb_rows; mbr++) in vp8_de_noise()
851 oci->mb_cols, oci->mb_rows); in vp8_post_proc_frame()
860 int mb_rows = post->y_height >> 4; in vp8_post_proc_frame() local
868 for (i = 0; i < mb_rows; i++) in vp8_post_proc_frame()
892 int mb_rows = post->y_height >> 4; in vp8_post_proc_frame() local
900 for (i = 0; i < mb_rows; i++) in vp8_post_proc_frame()
Donyxc_int.h103 int mb_rows; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c251 x->mv_row_max = (cm->mb_rows - 1) * 8 + BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats()
261 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in update_mbgraph_frame_stats()
312 vpx_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), in separate_arf_mbs()
323 for (offset = 0, mb_row = 0; mb_row < cm->mb_rows; in separate_arf_mbs()
399 cm->mb_rows * cm->mb_cols * sizeof(*cpi->mbgraph_stats[i].mb_stats)); in vp9_update_mbgraph_stats()
Dvp9_lookahead.c101 int mb_rows = (src->y_height + 15) >> 4; in vp9_lookahead_push() local
136 for (row = 0; row < mb_rows; ++row) { in vp9_lookahead_push()
Dvp9_encoder.h587 static INLINE int get_token_alloc(int mb_rows, int mb_cols) { in get_token_alloc() argument
593 return mb_rows * mb_cols * (16 * 16 * 3 + 4); in get_token_alloc()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c47 cm->mb_rows = (cm->mi_rows + 1) >> 1; in vp9_set_mb_mi()
48 cm->MBs = cm->mb_rows * cm->mb_cols; in vp9_set_mb_mi()

12