Home
last modified time | relevance | path

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

123

/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c50 vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, sizeof(MB_OVERLAP)); in vp8_alloc_overlap_lists()
150 static void calculate_overlaps(MB_OVERLAP *overlap_ul, int mb_rows, int mb_cols, in calculate_overlaps() argument
167 if (new_row >= ((16 * mb_rows) << 3) || new_col >= ((16 * mb_cols) << 3)) { in calculate_overlaps()
186 end_row = VPXMIN(mb_rows - overlap_mb_row, 2); in calculate_overlaps()
277 int mb_row, int mb_col, int mb_rows, in calc_prev_mb_overlaps() argument
283 calculate_overlaps(overlaps, mb_rows, mb_cols, in calc_prev_mb_overlaps()
293 MODE_INFO *prev_mi, int mb_rows, int mb_cols, in estimate_missing_mvs() argument
296 memset(overlaps, 0, sizeof(MB_OVERLAP) * mb_rows * mb_cols); in estimate_missing_mvs()
298 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in estimate_missing_mvs()
304 calc_prev_mb_overlaps(overlaps, prev_mi, mb_row, mb_col, mb_rows, in estimate_missing_mvs()
[all …]
Dthreading.c82 for (i = 0; i < pc->mb_rows; ++i) in setup_decoding_thread_data()
293 for (mb_row = start_mb_row; mb_row < pc->mb_rows; in mt_decode_mb_rows()
323 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; in mt_decode_mb_rows()
394 vp8_interpolate_motion(xd, mb_row, mb_col, pc->mb_rows, pc->mb_cols); in mt_decode_mb_rows()
409 for (; mb_row < pc->mb_rows; in mt_decode_mb_rows()
458 if (mb_row != pc->mb_rows - 1) { in mt_decode_mb_rows()
548 if (mb_row != pc->mb_rows - 1) { in mt_decode_mb_rows()
577 if (last_mb_row + (int)pbi->decoding_thread_count + 1 >= pc->mb_rows) in mt_decode_mb_rows()
670 void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows) { in vp8mt_de_alloc_temp_buffers() argument
678 for (i = 0; i < mb_rows; ++i) { in vp8mt_de_alloc_temp_buffers()
[all …]
Derror_concealment.h35 int mb_rows, int mb_cols);
Ddecoderthreading.h23 void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows);
/external/libvpx/libvpx/test/
Dset_roi.cc48 cpi.common.mb_rows = 240 >> 4; in TEST()
50 const int mbs = (cpi.common.mb_rows * cpi.common.mb_cols); in TEST()
65 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST()
132 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST()
141 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST()
151 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows + 1, in TEST()
156 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, in TEST()
Dactive_map_refresh_test.cc49 void GenerateMap(int mb_rows, int mb_cols, const vpx_image_t &current, in GenerateMap() argument
51 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.c23 memset(cpi->gf_active_flags, 1, (cm->mb_rows * cm->mb_cols)); in vp8_update_gf_useage_maps()
24 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_update_gf_useage_maps()
27 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_update_gf_useage_maps()
Dmr_dissim.c82 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_cal_dissimilarity()
118 if (mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity()
125 if (mb_col < (cm->mb_cols - 1) && mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity()
142 if (mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity()
149 if (mb_col < (cm->mb_cols - 1) && mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity()
Donyx_if.c471 (cpi->common.mb_rows * cpi->common.mb_cols)); in set_segmentation_map()
503 int mbs_in_frame = cpi->common.mb_rows * cpi->common.mb_cols; in cyclic_background_refresh()
517 (cpi->common.mb_rows * cpi->common.mb_cols) / 10; in cyclic_background_refresh()
523 (cpi->common.mb_rows * cpi->common.mb_cols) / 20; in cyclic_background_refresh()
617 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in compute_skin_map()
636 for (mb_row = 1; mb_row < cm->mb_rows - 1; mb_row++) { in compute_skin_map()
1124 vpx_calloc((cpi->common.mb_cols + 1) * (cpi->common.mb_rows + 1), in vp8_alloc_partition_data()
1171 unsigned int tokens = cm->mb_rows * cm->mb_cols * 24 * 16; in vp8_alloc_compressor_data()
1183 vpx_calloc(sizeof(*cpi->gf_active_flags), cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data()
1184 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_alloc_compressor_data()
[all …]
Dtemporal_filter.c195 int mb_rows = cpi->common.mb_rows; in vp8_temporal_filter_iterate_c() local
210 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_temporal_filter_iterate_c()
224 cpi->mb.mv_row_max = ((cpi->common.mb_rows - 1 - mb_row) * 16) + (16 - 5); in vp8_temporal_filter_iterate_c()
Dlookahead.c96 int mb_rows = (src->y_height + 15) >> 4; in vp8_lookahead_push() local
109 for (row = 0; row < mb_rows; ++row) { in vp8_lookahead_push()
Dencodeframe.c198 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in calc_activity_index()
250 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in build_activity_map()
376 xd->mb_to_bottom_edge = ((cm->mb_rows - 1 - mb_row) * 16) << 3; in encode_mb_row()
382 x->mv_row_max = ((cm->mb_rows - 1 - mb_row) * 16) + (VP8BORDERINPIXELS - 16); in encode_mb_row()
757 for (i = 0; i < cm->mb_rows; ++i) in vp8_encode_frame()
764 for (mb_row = 0; mb_row < cm->mb_rows; in vp8_encode_frame()
797 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_encode_frame()
857 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_encode_frame()
/external/libvpx/libvpx/vp8/common/
Dalloccommon.c85 oci->mb_rows = height >> 4; in vp8_alloc_frame_buffers()
87 oci->MBs = oci->mb_rows * oci->mb_cols; in vp8_alloc_frame_buffers()
90 vpx_calloc((oci->mb_cols + 1) * (oci->mb_rows + 1), sizeof(MODE_INFO)); in vp8_alloc_frame_buffers()
Dvp8_loopfilter.c274 int mb_rows = cm->mb_rows; in vp8_loop_filter_frame() local
296 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_loop_filter_frame()
346 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_loop_filter_frame()
417 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_loop_filter_frame_yonly()
486 int mb_rows = post->y_height >> 4; in vp8_loop_filter_partial_frame() local
507 linestocopy = mb_rows / PARTIAL_FRAME_FRACTION; in vp8_loop_filter_partial_frame()
Dpostproc.c79 for (mbr = 0; mbr < cm->mb_rows; ++mbr) { in vp8_deblock()
125 int mb_rows = cm->mb_rows; in vp8_de_noise() local
135 for (mbr = 0; mbr < mb_rows; ++mbr) { in vp8_de_noise()
/external/libaom/libaom/av1/common/
Dalloccommon.c30 const int mb_rows = (mi_rows + 2) >> 2; in av1_get_MBs() local
31 return mb_rows * mb_cols; in av1_get_MBs()
80 cm->mb_rows = (cm->mi_rows + 2) >> 2; in av1_set_mb_mi()
81 cm->MBs = cm->mb_rows * cm->mb_cols; in av1_set_mb_mi()
/external/libaom/libaom/av1/encoder/
Dmbgraph.c238 x->mv_limits.row_max = (cm->mb_rows - 1) * 8 + BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats()
248 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in update_mbgraph_frame_stats()
298 aom_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), 1)); in separate_arf_mbs()
308 for (offset = 0, mb_row = 0; mb_row < cm->mb_rows; in separate_arf_mbs()
381 cm->mb_rows * cm->mb_cols * sizeof(*cpi->mbgraph_stats[i].mb_stats)); in av1_update_mbgraph_stats()
Dfirstpass.c372 aom_calloc(cm->mb_rows * cm->mb_cols, sizeof(*raw_motion_err_list))); in av1_first_pass()
430 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in av1_first_pass()
443 ((cm->mb_rows - 1 - mb_row) * 16) + BORDER_MV_PIXELS_B16; in av1_first_pass()
680 if (mb_row < cm->mb_rows / 2) { in av1_first_pass()
685 } else if (mb_row > cm->mb_rows / 2) { in av1_first_pass()
736 if ((image_data_start_row > cm->mb_rows / 2) || in av1_first_pass()
738 image_data_start_row = cm->mb_rows / 2; in av1_first_pass()
Dlookahead.c93 int mb_rows = (src->y_height + 15) >> 4; in av1_lookahead_push() local
126 for (row = 0; row < mb_rows; ++row) { in av1_lookahead_push()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c231 x->mv_limits.row_max = (cm->mb_rows - 1) * 8 + BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats()
243 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in update_mbgraph_frame_stats()
299 vpx_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), 1)); in separate_arf_mbs()
309 for (offset = 0, mb_row = 0; mb_row < cm->mb_rows; in separate_arf_mbs()
382 cm->mb_rows * cm->mb_cols * sizeof(*cpi->mbgraph_stats[i].mb_stats)); in vp9_update_mbgraph_stats()
Dvp9_multi_thread.c79 jobs_per_tile_col = VPXMAX(cm->mb_rows, sb_rows); in vp9_row_mt_mem_alloc()
180 int jobs_per_tile_col = cpi->oxcf.pass == 1 ? cm->mb_rows : sb_rows; in vp9_multi_thread_tile_init()
240 case FIRST_PASS_JOB: jobs_per_tile_col = cm->mb_rows; break; in vp9_prepare_job_queue()
Dvp9_lookahead.c94 int mb_rows = (src->y_height + 15) >> 4; in vp9_lookahead_push() local
127 for (row = 0; row < mb_rows; ++row) { in vp9_lookahead_push()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c29 cm->mb_rows = (cm->mi_rows + 1) >> 1; in vp9_set_mb_mi()
30 cm->MBs = cm->mb_rows * cm->mb_cols; in vp9_set_mb_mi()

123