Home
last modified time | relevance | path

Searched refs:mb_row (Results 1 – 25 of 37) 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.c237 int mb_row; in vp8_multiframe_quality_enhance() local
255 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.c429 int mb_row, mb_col; in vp8dx_references_buffer() local
431 for (mb_row = 0; mb_row < oci->mb_rows; ++mb_row) { in vp8dx_references_buffer()
Derror_concealment.h34 void vp8_interpolate_motion(MACROBLOCKD *mb, int mb_row, int mb_col,
/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()
Dtemporal_filter.c191 int mb_col, mb_row; in vp8_temporal_filter_iterate_c() local
209 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_temporal_filter_iterate_c()
222 cpi->mb.mv_row_min = -((mb_row * 16) + (16 - 5)); in vp8_temporal_filter_iterate_c()
223 cpi->mb.mv_row_max = ((cpi->common.mb_rows - 1 - mb_row) * 16) + (16 - 5); in vp8_temporal_filter_iterate_c()
Dbitstream.c307 int mb_row; in pack_tokens_into_partitions() local
313 for (mb_row = i; mb_row < cpi->common.mb_rows; mb_row += num_part) { in pack_tokens_into_partitions()
314 const TOKENEXTRA *p = cpi->tplist[mb_row].start; in pack_tokens_into_partitions()
315 const TOKENEXTRA *stop = cpi->tplist[mb_row].stop; in pack_tokens_into_partitions()
328 int mb_row; in pack_mb_row_tokens() local
330 for (mb_row = 0; mb_row < cpi->common.mb_rows; ++mb_row) { in pack_mb_row_tokens()
331 const TOKENEXTRA *p = cpi->tplist[mb_row].start; in pack_mb_row_tokens()
332 const TOKENEXTRA *stop = cpi->tplist[mb_row].stop; in pack_mb_row_tokens()
423 int mb_row = -1; in pack_inter_mode_mvs() local
456 while (++mb_row < pc->mb_rows) { in pack_inter_mode_mvs()
[all …]
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()
397 int_mv *parent_ref_mv, int mb_row, in get_lower_res_motion_info() argument
411 parent_mb_row = mb_row * cpi->oxcf.mr_down_sampling_factor.den / in get_lower_res_motion_info()
560 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()
639 cpi, x, target_u, stride_uv, plane[LAST_FRAME][1], mb_row, mb_col, 1); in vp8_pick_inter_mode()
642 cpi, x, target_v, stride_uv, plane[LAST_FRAME][2], mb_row, mb_col, in vp8_pick_inter_mode()
658 &parent_ref_mv, mb_row, mb_col); in vp8_pick_inter_mode()
693 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
70 vp9_build_inter_predictors_sby(xd, mb_row, mb_col, BLOCK_16X16); in do_16x16_motion_iteration()
77 int_mv *dst_mv, int mb_row, int mb_col) { in do_16x16_motion_search() argument
91 tmp_err = do_16x16_motion_iteration(cpi, ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search()
104 do_16x16_motion_iteration(cpi, &zero_ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search()
162 YV12_BUFFER_CONFIG *alt_ref, int mb_row, in update_mbgraph_mb_stats() argument
188 &stats->ref[GOLDEN_FRAME].m.mv, mb_row, mb_col); in update_mbgraph_mb_stats()
220 int mb_col, mb_row, offset = 0; in update_mbgraph_frame_stats() local
242 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in update_mbgraph_frame_stats()
259 &gld_left_mv, alt_ref, mb_row, mb_col); in update_mbgraph_frame_stats()
[all …]
Dvp9_temporal_filter.c285 int mb_row, int mb_col_start, in vp9_temporal_filter_iterate_row_c() argument
314 int mb_y_offset = mb_row * 16 * (f->y_stride) + 16 * mb_col_start; in vp9_temporal_filter_iterate_row_c()
316 mb_row * mb_uv_height * f->uv_stride + mb_uv_width * mb_col_start; in vp9_temporal_filter_iterate_row_c()
337 td->mb.mv_limits.row_min = -((mb_row * 16) + (17 - 2 * VP9_INTERP_EXTEND)); in vp9_temporal_filter_iterate_row_c()
339 ((mb_rows - 1 - mb_row) * 16) + (17 - 2 * VP9_INTERP_EXTEND); in vp9_temporal_filter_iterate_row_c()
405 mb_col * 16, mb_row * 16); in vp9_temporal_filter_iterate_row_c()
610 int mb_row; in temporal_filter_iterate_tile_c() local
612 for (mb_row = mb_row_start; mb_row < mb_row_end; mb_row++) { in temporal_filter_iterate_tile_c()
613 vp9_temporal_filter_iterate_row_c(cpi, &cpi->td, mb_row, mb_col_start, in temporal_filter_iterate_tile_c()
Dvp9_firstpass.c467 static BLOCK_SIZE get_bsize(const VP9_COMMON *cm, int mb_row, int mb_col) { in get_bsize() argument
469 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_16X16 : BLOCK_16X8; in get_bsize()
471 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_8X16 : BLOCK_8X8; in get_bsize()
696 int mb_row, mb_col; in accumulate_floating_point_stats() local
700 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in accumulate_floating_point_stats()
702 const int mb_index = mb_row * cm->mb_cols + mb_col; in accumulate_floating_point_stats()
831 int mb_row) { in vp9_first_pass_encode_tile_mb_row() argument
884 xd->mi = cm->mi_grid_visible + xd->mi_stride * (mb_row << 1) + in vp9_first_pass_encode_tile_mb_row()
886 xd->mi[0] = cm->mi + xd->mi_stride * (mb_row << 1) + (tile.mi_col_start >> 1); in vp9_first_pass_encode_tile_mb_row()
901 (mb_row * recon_y_stride * 16) + (tile.mi_col_start >> 1) * 16; in vp9_first_pass_encode_tile_mb_row()
[all …]
Dvp9_ethread.c407 int mb_row; in first_pass_worker_hook() local
424 mb_row = proc_job->vert_unit_row_num; in first_pass_worker_hook()
430 this_tile, &best_ref_mv, mb_row); in first_pass_worker_hook()
495 int mb_row; in temporal_filter_worker_hook() local
513 mb_row = proc_job->vert_unit_row_num; in temporal_filter_worker_hook()
515 vp9_temporal_filter_iterate_row_c(cpi, thread_data->td, mb_row, in temporal_filter_worker_hook()
Dvp9_temporal_filter.h24 int mb_row, int mb_col_start,
/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