/external/libvpx/libvpx/vp8/common/ |
D | debugmodes.c | 17 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()
|
D | vp8_loopfilter.c | 171 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() 225 int mb_col; in vp8_loop_filter_row_simple() local 230 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_loop_filter_row_simple() 242 if (mb_col > 0) in vp8_loop_filter_row_simple() 273 int mb_col; in vp8_loop_filter_frame() local 297 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in vp8_loop_filter_frame() 315 if (mb_col > 0) in vp8_loop_filter_frame() 347 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in vp8_loop_filter_frame() [all …]
|
D | vp8_skin_detection.c | 72 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()
|
D | mfqe.c | 240 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()
|
D | threading.h | 198 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/webrtc/webrtc/modules/video_processing/ |
D | video_denoiser.cc | 27 for (int mb_col = 1; mb_col < mb_cols - 1; ++mb_col) { 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() 94 for (int mb_col = 0; mb_col < mb_cols; ++mb_col) { 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/ |
D | error_concealment.c | 103 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 …]
|
D | threading.c | 296 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 …]
|
D | onyxd_if.c | 420 int mb_row, mb_col; in vp8dx_references_buffer() local 423 for (mb_col = 0; mb_col < oci->mb_cols; mb_col++, mi++) { in vp8dx_references_buffer()
|
D | error_concealment.h | 34 void vp8_interpolate_motion(MACROBLOCKD *mb, int mb_row, int mb_col,
|
D | decodeframe.c | 446 int mb_row, mb_col; in decode_mb_rows() local 526 for (mb_col = 0; mb_col < pc->mb_cols; ++mb_col) { in decode_mb_rows() 531 xd->mb_to_left_edge = -((mb_col * 16) << 3); in decode_mb_rows() 532 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 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()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | encodeframe.c | 104 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 …]
|
D | ethreading.c | 77 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 …]
|
D | mr_dissim.c | 77 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()
|
D | segmentation.c | 15 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()
|
D | temporal_filter.c | 192 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()
|
D | pickinter.c | 56 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 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 …]
|
D | pickinter.h | 23 int mb_row, int mb_col);
|
D | encodeframe.h | 32 int recon_uvoffset, int mb_row, int mb_col);
|
/external/libaom/libaom/av1/encoder/ |
D | mbgraph.c | 28 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() 85 int mb_col) { 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() 172 int mb_col) { 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 260 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in update_mbgraph_frame_stats() [all …]
|
D | firstpass.c | 277 static BLOCK_SIZE get_bsize(const AV1_COMMON *cm, int mb_row, int mb_col) { in get_bsize() argument 278 if (mi_size_wide[BLOCK_16X16] * mb_col + mi_size_wide[BLOCK_8X8] < in get_bsize() 322 int mb_row, mb_col; in av1_first_pass() local 445 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in av1_first_pass() 447 const int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in av1_first_pass() 448 const BLOCK_SIZE bsize = get_bsize(cm, mb_row, mb_col); in av1_first_pass() 454 const int idx_str = xd->mi_stride * mb_row * mb_scale + mb_col * mb_scale; in av1_first_pass() 460 xd->left_available = (mb_col != 0); in av1_first_pass() 464 mb_col * mb_scale, mi_size_wide[bsize], cm->mi_rows, in av1_first_pass() 475 av1_encode_intra_block_plane(cpi, x, bsize, 0, 0, mb_row * 2, mb_col * 2); in av1_first_pass() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mbgraph.c | 27 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 …]
|
D | vp9_firstpass.c | 455 static BLOCK_SIZE get_bsize(const VP9_COMMON *cm, int mb_row, int mb_col) { in get_bsize() argument 456 if (2 * mb_col + 1 < cm->mi_cols) { in get_bsize() 681 int mb_row, mb_col; in accumulate_floating_point_stats() local 686 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in accumulate_floating_point_stats() 687 const int mb_index = mb_row * cm->mb_cols + mb_col; in accumulate_floating_point_stats() 818 int mb_col; in vp9_first_pass_encode_tile_mb_row() local 876 for (mb_col = mb_col_start, c = 0; mb_col < mb_col_end; ++mb_col, c++) { in vp9_first_pass_encode_tile_mb_row() 879 const int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in vp9_first_pass_encode_tile_mb_row() 880 const BLOCK_SIZE bsize = get_bsize(cm, mb_row, mb_col); in vp9_first_pass_encode_tile_mb_row() 883 const int mb_index = mb_row * cm->mb_cols + mb_col; in vp9_first_pass_encode_tile_mb_row() [all …]
|
/external/webrtc/webrtc/modules/video_processing/util/ |
D | skin_detection.cc | 50 const int mb_col) { 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()
|
D | skin_detection.h | 24 const int mb_col);
|