Home
last modified time | relevance | path

Searched refs:mb_col (Results 1 – 25 of 43) sorted by relevance

12

/external/webrtc/modules/video_processing/
Dvideo_denoiser.cc49 for (int mb_col = 0; mb_col < mb_cols_; ++mb_col) { 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);
50 int mb_col);
/external/libvpx/libvpx/vp8/common/
Ddebugmodes.c17 int mb_col; in vp8_print_modes_and_motion_vectors() local
26 for (mb_col = 0; mb_col < cols; ++mb_col) { in vp8_print_modes_and_motion_vectors()
42 for (mb_col = 0; mb_col < cols; ++mb_col) { in vp8_print_modes_and_motion_vectors()
59 for (mb_col = 0; mb_col < cols; ++mb_col) { in vp8_print_modes_and_motion_vectors()
100 for (mb_col = 0; mb_col < cols; ++mb_col) { in vp8_print_modes_and_motion_vectors()
Dvp8_loopfilter.c171 int mb_col; in vp8_loop_filter_row_normal() local
177 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_loop_filter_row_normal()
195 if (mb_col > 0) in vp8_loop_filter_row_normal()
224 int mb_col; in vp8_loop_filter_row_simple() local
228 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_loop_filter_row_simple()
240 if (mb_col > 0) in vp8_loop_filter_row_simple()
269 int mb_col; in vp8_loop_filter_frame() local
293 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in vp8_loop_filter_frame()
311 if (mb_col > 0) in vp8_loop_filter_frame()
343 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in vp8_loop_filter_frame()
[all …]
Dvp8_skin_detection.c72 int i, j, mb_row, mb_col, num_bl; in vp8_compute_skin_map() local
92 for (mb_col = 0; mb_col < cm->mb_cols; mb_col += 1) { in vp8_compute_skin_map()
Dmfqe.c240 int mb_col; in vp8_multiframe_quality_enhance() local
258 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_multiframe_quality_enhance()
Dthreading.h198 int mb_col, const vpx_atomic_int *last_row_current_mb_col, in vp8_atomic_spin_wait() argument
200 while (mb_col > (vpx_atomic_load_acquire(last_row_current_mb_col) - nsync)) { in vp8_atomic_spin_wait()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c103 int mb_col, int first_blk_row, in calculate_overlaps_mb() argument
111 const int rel_ol_blk_col = first_blk_col - mb_col * 4; in calculate_overlaps_mb()
124 int end_col = VPXMIN(4 + mb_col * 4 - first_blk_col, 2); in calculate_overlaps_mb()
137 if (new_col < (mb_col * 16) << 3) end_col = 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
299 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in estimate_missing_mvs()
304 calc_prev_mb_overlaps(overlaps, prev_mi, mb_row, mb_col, mb_rows, in estimate_missing_mvs()
313 mb_col = first_corrupt - mb_row * mb_cols; in estimate_missing_mvs()
[all …]
Dthreading.c296 int mb_col; in mt_decode_mb_rows() local
359 for (mb_col = 0; mb_col < pc->mb_cols; ++mb_col) { in mt_decode_mb_rows()
360 if (((mb_col - 1) % nsync) == 0) { in mt_decode_mb_rows()
361 vpx_atomic_store_release(current_mb_col, mb_col - 1); in mt_decode_mb_rows()
364 if (mb_row && !(mb_col & (nsync - 1))) { in mt_decode_mb_rows()
365 vp8_atomic_spin_wait(mb_col, last_row_current_mb_col, nsync); in mt_decode_mb_rows()
372 xd->mb_to_left_edge = -((mb_col * 16) << 3); in mt_decode_mb_rows()
373 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 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()
460 memcpy((pbi->mt_yabove_row[mb_row + 1] + 32 + mb_col * 16), in mt_decode_mb_rows()
[all …]
Donyxd_if.c417 int mb_row, mb_col; in vp8dx_references_buffer() local
420 for (mb_col = 0; mb_col < oci->mb_cols; mb_col++, mi++) { in vp8dx_references_buffer()
Derror_concealment.h34 void vp8_interpolate_motion(MACROBLOCKD *mb, int mb_row, int mb_col,
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c77 int mb_col; in thread_encoding_proc() local
109 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in thread_encoding_proc()
110 if (((mb_col - 1) % nsync) == 0) { in thread_encoding_proc()
111 vpx_atomic_store_release(current_mb_col, mb_col - 1); in thread_encoding_proc()
114 if (mb_row && !(mb_col & (nsync - 1))) { in thread_encoding_proc()
115 vp8_atomic_spin_wait(mb_col, last_row_current_mb_col, nsync); in thread_encoding_proc()
126 xd->mb_to_left_edge = -((mb_col * 16) << 3); in thread_encoding_proc()
127 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in thread_encoding_proc()
134 x->mv_col_min = -((mb_col * 16) + (VP8BORDERINPIXELS - 16)); in thread_encoding_proc()
136 ((cm->mb_cols - 1 - mb_col) * 16) + (VP8BORDERINPIXELS - 16); in thread_encoding_proc()
[all …]
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
200 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in calc_activity_index()
245 int mb_row, mb_col; in build_activity_map() local
257 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in build_activity_map()
260 xd->left_available = (mb_col != 0); in build_activity_map()
267 mb_activity = mb_activity_measure(cpi, x, mb_row, mb_col); in build_activity_map()
329 int mb_col; in encode_mb_row() local
388 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in encode_mb_row()
[all …]
Dsegmentation.c15 int mb_row, mb_col; in vp8_update_gf_useage_maps() local
29 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_update_gf_useage_maps()
Dmr_dissim.c77 int mb_col; in vp8_cal_dissimilarity() local
84 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_cal_dissimilarity()
111 if (mb_col < (cm->mb_cols - 1)) { in vp8_cal_dissimilarity()
125 if (mb_col < (cm->mb_cols - 1) && mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity()
135 if (mb_col < (cm->mb_cols - 1)) { in vp8_cal_dissimilarity()
149 if (mb_col < (cm->mb_cols - 1) && mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity()
Dtemporal_filter.c192 int mb_col, mb_row; in vp8_temporal_filter_iterate_c() local
227 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in vp8_temporal_filter_iterate_c()
235 cpi->mb.mv_col_min = -((mb_col * 16) + (16 - 5)); in vp8_temporal_filter_iterate_c()
236 cpi->mb.mv_col_max = ((cpi->common.mb_cols - 1 - mb_col) * 16) + (16 - 5); in vp8_temporal_filter_iterate_c()
Dpickinter.c56 int mb_col, int channel) { in check_dot_artifact_candidate() argument
62 int index = mb_row * cpi->common.mb_cols + mb_col; in check_dot_artifact_candidate()
397 int mb_col) { in get_lower_res_motion_info() argument
412 parent_mb_col = mb_col * cpi->oxcf.mr_down_sampling_factor.den / in get_lower_res_motion_info()
560 int mb_col) { 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 …]
Dpickinter.h23 int mb_row, int mb_col);
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c27 int mb_col) { 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()
164 int mb_col) { 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
256 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in update_mbgraph_frame_stats()
257 MBGRAPH_MB_STATS *mb_stats = &stats->mb_stats[offset + 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
457 if (2 * mb_col + 1 < cm->mi_cols) { in get_bsize()
682 int mb_row, mb_col; in accumulate_floating_point_stats() local
687 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in accumulate_floating_point_stats()
688 const int mb_index = mb_row * cm->mb_cols + mb_col; in accumulate_floating_point_stats()
819 int mb_col; in vp9_first_pass_encode_tile_mb_row() local
878 for (mb_col = mb_col_start, c = 0; mb_col < mb_col_end; ++mb_col, c++) { in vp9_first_pass_encode_tile_mb_row()
881 const int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in vp9_first_pass_encode_tile_mb_row()
882 const BLOCK_SIZE bsize = get_bsize(cm, mb_row, mb_col); in vp9_first_pass_encode_tile_mb_row()
885 const int mb_index = mb_row * cm->mb_cols + mb_col; in vp9_first_pass_encode_tile_mb_row()
[all …]
/external/webrtc/modules/video_processing/util/
Dskin_detection.cc85 const int mb_col) { 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.h26 const int mb_col);
/external/libaom/libaom/av1/encoder/
Dfirstpass.c250 int mb_row, int mb_col) { in get_bsize() argument
251 if (mi_size_wide[BLOCK_16X16] * mb_col + 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()
388 xd->left_available = (mb_col != 0); in firstpass_intra_prediction()
392 mb_col * mb_scale, mi_size_wide[bsize], mi_params->mi_rows, in firstpass_intra_prediction()
406 } else if ((mb_col > 0) && (stats->image_data_start_row == INVALID_ROW)) { in firstpass_intra_prediction()
487 const int mb_row, const int mb_col, in accumulate_mv_stats() argument
[all …]
Dtemporal_filter.c64 const int mb_col, MV *ref_mv, MV *subblock_mvs, in tf_motion_search() argument
75 const int y_offset = mb_row * mb_height * y_stride + mb_col * mb_width; in tf_motion_search()
299 const int mb_col, const int num_planes, in tf_build_predictor() argument
310 const int mb_x = mb_width * mb_col; // X-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/libaom/libaom/test/
Dtemporal_filter_planewise_test.cc42 const BLOCK_SIZE block_size, const int mb_row, const int mb_col,
133 const int mb_col = 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