Home
last modified time | relevance | path

Searched refs:mb_row (Results 1 – 25 of 47) sorted by relevance

12

/external/webrtc/modules/video_processing/
Dvideo_denoiser.cc48 for (int mb_row = 0; mb_row < mb_rows_; ++mb_row) { in ShowRect() local
50 int mb_index = mb_row * mb_cols_ + mb_col; in ShowRect()
52 u_src + (mb_row << 3) * stride_u_src + (mb_col << 3); in ShowRect()
54 v_src + (mb_row << 3) * stride_v_src + (mb_col << 3); in ShowRect()
55 uint8_t* mb_dst_u = u_dst + (mb_row << 3) * stride_u_dst + (mb_col << 3); in ShowRect()
56 uint8_t* mb_dst_v = v_dst + (mb_row << 3) * stride_v_dst + (mb_col << 3); in ShowRect()
63 } else if (moving_edge_red[mb_row * mb_cols_ + mb_col] && in ShowRect()
64 x_density[mb_col] * y_density[mb_row]) { in ShowRect()
99 int VideoDenoiser::PositionCheck(int mb_row, int mb_col, int noise_level) { in PositionCheck() argument
102 if ((mb_row <= (mb_rows_ >> 4)) || (mb_col <= (mb_cols_ >> 4)) || in PositionCheck()
[all …]
Dvideo_denoiser.h39 int PositionCheck(int mb_row, int mb_col, int noise_level);
49 int mb_row,
/external/libvpx/libvpx/vp8/common/
Ddebugmodes.c16 int mb_row; in vp8_print_modes_and_motion_vectors() local
25 for (mb_row = 0; mb_row < rows; ++mb_row) { in vp8_print_modes_and_motion_vectors()
41 for (mb_row = 0; mb_row < rows; ++mb_row) { in vp8_print_modes_and_motion_vectors()
58 for (mb_row = 0; mb_row < rows; ++mb_row) { in vp8_print_modes_and_motion_vectors()
99 for (mb_row = 0; mb_row < rows; ++mb_row) { in vp8_print_modes_and_motion_vectors()
Dvp8_loopfilter.c168 int mb_row, int post_ystride, int post_uvstride, in vp8_loop_filter_row_normal() argument
204 if (mb_row > 0) in vp8_loop_filter_row_normal()
222 int mb_row, int post_ystride, in vp8_loop_filter_row_simple() argument
249 if (mb_row > 0) in vp8_loop_filter_row_simple()
268 int mb_row; in vp8_loop_filter_frame() local
292 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_loop_filter_frame()
320 if (mb_row > 0) in vp8_loop_filter_frame()
342 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_loop_filter_frame()
363 if (mb_row > 0) in vp8_loop_filter_frame()
389 int mb_row; in vp8_loop_filter_frame_yonly() local
[all …]
Dvp8_skin_detection.c72 int i, j, mb_row, mb_col, num_bl; in vp8_compute_skin_map() local
90 for (mb_row = 0; mb_row < cm->mb_rows; mb_row += 1) { in vp8_compute_skin_map()
Dloopfilter.h89 struct modeinfo *mode_info_context, int mb_row,
95 struct modeinfo *mode_info_context, int mb_row,
Dmfqe.c239 int mb_row; in vp8_multiframe_quality_enhance() local
257 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_multiframe_quality_enhance()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c102 int new_row, int new_col, int mb_row, in calculate_overlaps_mb() argument
110 const int rel_ol_blk_row = first_blk_row - mb_row * 4; in calculate_overlaps_mb()
123 int end_row = VPXMIN(4 + mb_row * 4 - first_blk_row, 2); in calculate_overlaps_mb()
136 if (new_row < (mb_row * 16) << 3) end_row = 1; in calculate_overlaps_mb()
277 int mb_row, int mb_col, int mb_rows, in calc_prev_mb_overlaps() argument
285 4 * mb_row + sub_row, 4 * mb_col + sub_col); in calc_prev_mb_overlaps()
295 int mb_row, mb_col; in estimate_missing_mvs() local
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()
312 mb_row = first_corrupt / mb_cols; in estimate_missing_mvs()
[all …]
Dthreading.c253 int mb_row; in mt_decode_mb_rows() local
293 for (mb_row = start_mb_row; mb_row < pc->mb_rows; in mt_decode_mb_rows()
294 mb_row += (pbi->decoding_thread_count + 1)) { in mt_decode_mb_rows()
301 last_mb_row = mb_row; in mt_decode_mb_rows()
303 xd->current_bc = &pbi->mbc[mb_row % num_part]; in mt_decode_mb_rows()
305 if (mb_row > 0) { in mt_decode_mb_rows()
306 last_row_current_mb_col = &pbi->mt_current_mb_col[mb_row - 1]; in mt_decode_mb_rows()
311 current_mb_col = &pbi->mt_current_mb_col[mb_row]; in mt_decode_mb_rows()
313 recon_yoffset = mb_row * recon_y_stride * 16; in mt_decode_mb_rows()
314 recon_uvoffset = mb_row * recon_uv_stride * 8; in mt_decode_mb_rows()
[all …]
Ddecodeframe.c446 int mb_row, mb_col; in decode_mb_rows() local
486 for (mb_row = 0; mb_row < pc->mb_rows; ++mb_row) { in decode_mb_rows()
494 recon_yoffset = mb_row * recon_y_stride * 16; in decode_mb_rows()
495 recon_uvoffset = mb_row * recon_uv_stride * 8; in decode_mb_rows()
503 xd->mb_to_top_edge = -((mb_row * 16) << 3); in decode_mb_rows()
504 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; in decode_mb_rows()
551 vp8_interpolate_motion(xd, mb_row, mb_col, pc->mb_rows, pc->mb_cols); in decode_mb_rows()
606 if (mb_row > 0) { in decode_mb_rows()
608 vp8_loop_filter_row_normal(pc, lf_mic, mb_row - 1, recon_y_stride, in decode_mb_rows()
612 vp8_loop_filter_row_simple(pc, lf_mic, mb_row - 1, recon_y_stride, in decode_mb_rows()
[all …]
Donyxd_if.c417 int mb_row, mb_col; in vp8dx_references_buffer() local
419 for (mb_row = 0; mb_row < oci->mb_rows; ++mb_row) { in vp8dx_references_buffer()
/external/libvpx/libvpx/vp8/encoder/
Dencodeframe.c104 int mb_row, int mb_col) { in mb_activity_measure() argument
108 int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in mb_activity_measure()
183 int mb_row, mb_col; in calc_activity_index() local
198 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in calc_activity_index()
245 int mb_row, mb_col; in build_activity_map() local
250 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in build_activity_map()
253 xd->up_available = (mb_row != 0); in build_activity_map()
254 recon_yoffset = (mb_row * recon_y_stride * 16); in build_activity_map()
267 mb_activity = mb_activity_measure(cpi, x, mb_row, mb_col); in build_activity_map()
325 static void encode_mb_row(VP8_COMP *cpi, VP8_COMMON *cm, int mb_row, in encode_mb_row() argument
[all …]
Dsegmentation.c15 int mb_row, mb_col; in vp8_update_gf_useage_maps() local
27 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_update_gf_useage_maps()
Dmr_dissim.c76 int mb_row; in vp8_cal_dissimilarity() local
82 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()
Dethreading.c56 int mb_row; in thread_encoding_proc() local
74 for (mb_row = ithread + 1; mb_row < cm->mb_rows; in thread_encoding_proc()
75 mb_row += (cpi->encoding_thread_count + 1)) { in thread_encoding_proc()
82 int map_index = (mb_row * cm->mb_cols); in thread_encoding_proc()
84 vpx_atomic_int *current_mb_col = &cpi->mt_current_mb_col[mb_row]; in thread_encoding_proc()
87 vp8_writer *w = &cpi->bc[1 + (mb_row % num_part)]; in thread_encoding_proc()
89 tp = cpi->tok + (mb_row * (cm->mb_cols * 16 * 24)); in thread_encoding_proc()
90 cpi->tplist[mb_row].start = tp; in thread_encoding_proc()
93 last_row_current_mb_col = &cpi->mt_current_mb_col[mb_row - 1]; in thread_encoding_proc()
101 xd->up_available = (mb_row != 0); in thread_encoding_proc()
[all …]
Dbitstream.c300 int mb_row; in pack_tokens_into_partitions() local
306 for (mb_row = i; mb_row < cpi->common.mb_rows; mb_row += num_part) { in pack_tokens_into_partitions()
307 const TOKENEXTRA *p = cpi->tplist[mb_row].start; in pack_tokens_into_partitions()
308 const TOKENEXTRA *stop = cpi->tplist[mb_row].stop; in pack_tokens_into_partitions()
321 int mb_row; in pack_mb_row_tokens() local
323 for (mb_row = 0; mb_row < cpi->common.mb_rows; ++mb_row) { in pack_mb_row_tokens()
324 const TOKENEXTRA *p = cpi->tplist[mb_row].start; in pack_mb_row_tokens()
325 const TOKENEXTRA *stop = cpi->tplist[mb_row].stop; in pack_mb_row_tokens()
416 int mb_row = -1; in pack_inter_mode_mvs() local
445 while (++mb_row < pc->mb_rows) { in pack_inter_mode_mvs()
[all …]
Dtemporal_filter.c192 int mb_col, mb_row; in vp8_temporal_filter_iterate_c() local
210 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_temporal_filter_iterate_c()
223 cpi->mb.mv_row_min = -((mb_row * 16) + (16 - 5)); 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()
Dpickinter.c55 unsigned char *last_ref, int mb_row, in check_dot_artifact_candidate() argument
62 int index = mb_row * cpi->common.mb_cols + mb_col; in check_dot_artifact_candidate()
396 int_mv *parent_ref_mv, int mb_row, in get_lower_res_motion_info() argument
410 parent_mb_row = mb_row * cpi->oxcf.mr_down_sampling_factor.den / in get_lower_res_motion_info()
559 int *returndistortion, int *returnintra, int mb_row, in vp8_pick_inter_mode() argument
635 cpi, x, target_y, stride, plane[LAST_FRAME][0], mb_row, mb_col, 0); in vp8_pick_inter_mode()
640 cpi, x, target_u, stride_uv, plane[LAST_FRAME][1], mb_row, mb_col, 1); in vp8_pick_inter_mode()
644 cpi, x, target_v, stride_uv, plane[LAST_FRAME][2], mb_row, mb_col, in vp8_pick_inter_mode()
660 &parent_ref_mv, mb_row, mb_col); in vp8_pick_inter_mode()
695 int block_index = mb_row * cpi->common.mb_cols + mb_col; in vp8_pick_inter_mode()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c26 MV *dst_mv, int mb_row, in do_16x16_motion_iteration() argument
71 vp9_build_inter_predictors_sby(xd, mb_row, mb_col, BLOCK_16X16); in do_16x16_motion_iteration()
78 int_mv *dst_mv, int mb_row, int mb_col) { in do_16x16_motion_search() argument
92 tmp_err = do_16x16_motion_iteration(cpi, ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search()
105 do_16x16_motion_iteration(cpi, &zero_ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search()
163 YV12_BUFFER_CONFIG *alt_ref, int mb_row, in update_mbgraph_mb_stats() argument
189 &stats->ref[GOLDEN_FRAME].m.mv, mb_row, mb_col); in update_mbgraph_mb_stats()
221 int mb_col, mb_row, offset = 0; in update_mbgraph_frame_stats() local
243 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in update_mbgraph_frame_stats()
260 &gld_left_mv, alt_ref, mb_row, mb_col); in update_mbgraph_frame_stats()
[all …]
Dvp9_firstpass.c456 static BLOCK_SIZE get_bsize(const VP9_COMMON *cm, int mb_row, int mb_col) { in get_bsize() argument
458 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_16X16 : BLOCK_16X8; in get_bsize()
460 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_8X16 : BLOCK_8X8; in get_bsize()
682 int mb_row, mb_col; in accumulate_floating_point_stats() local
686 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in accumulate_floating_point_stats()
688 const int mb_index = mb_row * cm->mb_cols + mb_col; in accumulate_floating_point_stats()
818 int mb_row) { in vp9_first_pass_encode_tile_mb_row() argument
853 xd->mi = cm->mi_grid_visible + xd->mi_stride * (mb_row << 1) + mb_col_start; in vp9_first_pass_encode_tile_mb_row()
854 xd->mi[0] = cm->mi + xd->mi_stride * (mb_row << 1) + mb_col_start; in vp9_first_pass_encode_tile_mb_row()
868 recon_yoffset = (mb_row * recon_y_stride * 16) + mb_col_start * 16; in vp9_first_pass_encode_tile_mb_row()
[all …]
/external/libaom/libaom/av1/encoder/
Dfirstpass.c250 int mb_row, int mb_col) { in get_bsize() argument
253 return mi_size_wide[BLOCK_16X16] * mb_row + mi_size_wide[BLOCK_8X8] < in get_bsize()
258 return mi_size_wide[BLOCK_16X16] * mb_row + mi_size_wide[BLOCK_8X8] < in get_bsize()
370 const TileInfo *const tile, const int mb_row, const int mb_col, in firstpass_intra_prediction() argument
379 const int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in firstpass_intra_prediction()
381 const BLOCK_SIZE bsize = get_bsize(mi_params, mb_row, mb_col); in firstpass_intra_prediction()
384 set_mi_offsets(mi_params, xd, mb_row * mb_scale, mb_col * mb_scale); in firstpass_intra_prediction()
391 set_mi_row_col(xd, tile, mb_row * mb_scale, mi_size_high[bsize], in firstpass_intra_prediction()
407 stats->image_data_start_row = mb_row; in firstpass_intra_prediction()
487 const int mb_row, const int mb_col, in accumulate_mv_stats() argument
[all …]
Dtemporal_filter.c63 const BLOCK_SIZE block_size, const int mb_row, in tf_motion_search() argument
75 const int y_offset = mb_row * mb_height * y_stride + mb_col * mb_width; in tf_motion_search()
298 const BLOCK_SIZE block_size, const int mb_row, in tf_build_predictor() argument
309 const int mb_y = mb_height * mb_row; // Y-coord (Top-left). in tf_build_predictor()
519 const BLOCK_SIZE block_size, const int mb_row, const int mb_col, in av1_apply_temporal_filter_yuv_c() argument
544 const int frame_offset = mb_row * plane_h * frame_stride + mb_col * plane_w; in av1_apply_temporal_filter_yuv_c()
655 const BLOCK_SIZE block_size, const int mb_row, const int mb_col, in av1_apply_temporal_filter_planewise_c() argument
680 const int frame_offset = mb_row * plane_h * frame_stride + mb_col * plane_w; in av1_apply_temporal_filter_planewise_c()
803 const BLOCK_SIZE block_size, const int mb_row, const int mb_col, in av1_apply_temporal_filter_others() argument
815 frame_to_filter, mbd, block_size, mb_row, mb_col, num_planes, in av1_apply_temporal_filter_others()
[all …]
/external/webrtc/modules/video_processing/util/
Dskin_detection.cc84 const int mb_row, in MbHasSkinColor() argument
86 const uint8_t* y = y_src + ((mb_row << 4) + 8) * stride_y + (mb_col << 4) + 8; in MbHasSkinColor()
87 const uint8_t* u = u_src + ((mb_row << 3) + 4) * stride_u + (mb_col << 3) + 4; in MbHasSkinColor()
88 const uint8_t* v = v_src + ((mb_row << 3) + 4) * stride_v + (mb_col << 3) + 4; in MbHasSkinColor()
Dskin_detection.h25 const int mb_row,
/external/libaom/libaom/test/
Dtemporal_filter_planewise_test.cc42 const BLOCK_SIZE block_size, const int mb_row, const int mb_col,
132 const int mb_row = 0; in RunTest() local
150 params_.ref_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest()
153 params_.tst_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest()
160 params_.ref_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest()
170 params_.tst_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest()

12