Home
last modified time | relevance | path

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

12

/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, int post_uvstride, in vp8_loop_filter_row_simple() argument
251 if (mb_row > 0) in vp8_loop_filter_row_simple()
272 int mb_row; in vp8_loop_filter_frame() local
296 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_loop_filter_frame()
324 if (mb_row > 0) in vp8_loop_filter_frame()
346 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_loop_filter_frame()
367 if (mb_row > 0) in vp8_loop_filter_frame()
393 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/webrtc/webrtc/modules/video_processing/
Dvideo_denoiser.cc26 for (int mb_row = 1; mb_row < mb_rows - 1; ++mb_row) { in TrailingReduction() local
28 int mb_index = mb_row * mb_cols + mb_col; in TrailingReduction()
29 uint8_t* mb_dst = y_dst + (mb_row << 4) * stride_y + (mb_col << 4); in TrailingReduction()
30 const uint8_t* mb_src = y_src + (mb_row << 4) * stride_y + (mb_col << 4); in TrailingReduction()
93 for (int mb_row = 0; mb_row < mb_rows; ++mb_row) { in DenoiseFrame() local
95 const uint8_t* mb_src = y_src + (mb_row << 4) * stride_y + (mb_col << 4); in DenoiseFrame()
96 uint8_t* mb_dst = y_dst + (mb_row << 4) * stride_y + (mb_col << 4); in DenoiseFrame()
97 int mb_index = mb_row * mb_cols + mb_col; in DenoiseFrame()
108 y_src, u_src, v_src, stride_y, stride_u, stride_v, mb_row, mb_col); in DenoiseFrame()
127 u_src + (mb_row << 3) * stride_u + (mb_col << 3); in DenoiseFrame()
[all …]
/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.c420 int mb_row, mb_col; in vp8dx_references_buffer() local
422 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 …]
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 …]
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()
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()
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
634 cpi, x, target_y, stride, plane[LAST_FRAME][0], mb_row, mb_col, 0); in vp8_pick_inter_mode()
638 cpi, x, target_u, stride_uv, plane[LAST_FRAME][1], mb_row, mb_col, 1); in vp8_pick_inter_mode()
641 cpi, x, target_v, stride_uv, plane[LAST_FRAME][2], mb_row, mb_col, in vp8_pick_inter_mode()
657 &parent_ref_mv, mb_row, mb_col); in vp8_pick_inter_mode()
692 int block_index = mb_row * cpi->common.mb_cols + mb_col; in vp8_pick_inter_mode()
[all …]
/external/libaom/libaom/av1/encoder/
Dmbgraph.c28 int mb_row, int mb_col) { in do_16x16_motion_iteration() argument
60 x, &cpi->common, mb_row, mb_col, ref_mv, in do_16x16_motion_iteration()
74 av1_enc_build_inter_predictor(&cpi->common, xd, mb_row, mb_col, NULL, in do_16x16_motion_iteration()
84 static int do_16x16_motion_search(AV1_COMP *cpi, const MV *ref_mv, int mb_row, in do_16x16_motion_search() argument
99 tmp_err = do_16x16_motion_iteration(cpi, ref_mv, mb_row, mb_col); in do_16x16_motion_search()
110 tmp_err = do_16x16_motion_iteration(cpi, &zero_ref_mv, mb_row, mb_col); in do_16x16_motion_search()
171 YV12_BUFFER_CONFIG *alt_ref, int mb_row, in update_mbgraph_mb_stats() argument
196 do_16x16_motion_search(cpi, prev_golden_ref_mv, mb_row, mb_col); in update_mbgraph_mb_stats()
229 int mb_col, mb_row, offset = 0; in update_mbgraph_frame_stats() local
248 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in update_mbgraph_frame_stats()
[all …]
Dfirstpass.c277 static BLOCK_SIZE get_bsize(const AV1_COMMON *cm, int mb_row, int mb_col) { in get_bsize() argument
280 return mi_size_wide[BLOCK_16X16] * mb_row + mi_size_wide[BLOCK_8X8] < in get_bsize()
285 return mi_size_wide[BLOCK_16X16] * mb_row + mi_size_wide[BLOCK_8X8] < in get_bsize()
322 int mb_row, mb_col; in av1_first_pass() local
430 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in av1_first_pass()
434 xd->up_available = (mb_row != 0); in av1_first_pass()
435 recon_yoffset = (mb_row * recon_y_stride * 16); in av1_first_pass()
436 src_yoffset = (mb_row * src_y_stride * 16); in av1_first_pass()
437 recon_uvoffset = (mb_row * recon_uv_stride * uv_mb_height); in av1_first_pass()
441 x->mv_limits.row_min = -((mb_row * 16) + BORDER_MV_PIXELS_B16); in av1_first_pass()
[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.c455 static BLOCK_SIZE get_bsize(const VP9_COMMON *cm, int mb_row, int mb_col) { in get_bsize() argument
457 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_16X16 : BLOCK_16X8; in get_bsize()
459 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_8X16 : BLOCK_8X8; in get_bsize()
681 int mb_row, mb_col; in accumulate_floating_point_stats() local
685 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in accumulate_floating_point_stats()
687 const int mb_index = mb_row * cm->mb_cols + mb_col; in accumulate_floating_point_stats()
817 int mb_row) { in vp9_first_pass_encode_tile_mb_row() argument
851 xd->mi = cm->mi_grid_visible + xd->mi_stride * (mb_row << 1) + mb_col_start; in vp9_first_pass_encode_tile_mb_row()
852 xd->mi[0] = cm->mi + xd->mi_stride * (mb_row << 1) + mb_col_start; in vp9_first_pass_encode_tile_mb_row()
866 recon_yoffset = (mb_row * recon_y_stride * 16) + mb_col_start * 16; in vp9_first_pass_encode_tile_mb_row()
[all …]
Dvp9_temporal_filter.c589 int mb_row, int mb_col_start, in vp9_temporal_filter_iterate_row_c() argument
617 int mb_y_offset = mb_row * BH * (f->y_stride) + BW * mb_col_start; in vp9_temporal_filter_iterate_row_c()
619 mb_row * mb_uv_height * f->uv_stride + mb_uv_width * mb_col_start; in vp9_temporal_filter_iterate_row_c()
640 td->mb.mv_limits.row_min = -((mb_row * BH) + (17 - 2 * VP9_INTERP_EXTEND)); in vp9_temporal_filter_iterate_row_c()
642 ((mb_rows - 1 - mb_row) * BH) + (17 - 2 * VP9_INTERP_EXTEND); in vp9_temporal_filter_iterate_row_c()
750 mb_col * BW, mb_row * BH, blk_mvs, use_32x32); in vp9_temporal_filter_iterate_row_c()
950 int mb_row; in temporal_filter_iterate_tile_c() local
952 for (mb_row = mb_row_start; mb_row < mb_row_end; mb_row++) { in temporal_filter_iterate_tile_c()
953 vp9_temporal_filter_iterate_row_c(cpi, &cpi->td, mb_row, mb_col_start, in temporal_filter_iterate_tile_c()
Dvp9_ethread.c408 int mb_row; in first_pass_worker_hook() local
425 mb_row = proc_job->vert_unit_row_num; in first_pass_worker_hook()
431 this_tile, &best_ref_mv, mb_row); in first_pass_worker_hook()
497 int mb_row; in temporal_filter_worker_hook() local
515 mb_row = proc_job->vert_unit_row_num; in temporal_filter_worker_hook()
517 vp9_temporal_filter_iterate_row_c(cpi, thread_data->td, mb_row, in temporal_filter_worker_hook()
/external/webrtc/webrtc/modules/video_processing/util/
Dskin_detection.cc49 const int mb_row, in MbHasSkinColor() argument
51 const uint8_t* y = y_src + ((mb_row << 4) + 8) * stride_y + (mb_col << 4) + 8; in MbHasSkinColor()
52 const uint8_t* u = u_src + ((mb_row << 3) + 4) * stride_u + (mb_col << 3) + 4; in MbHasSkinColor()
53 const uint8_t* v = v_src + ((mb_row << 3) + 4) * stride_v + (mb_col << 3) + 4; in MbHasSkinColor()
Dskin_detection.h23 const int mb_row,

12