/external/webrtc/webrtc/modules/video_processing/ |
D | video_denoiser.cc | 22 int mb_cols, in TrailingReduction() argument 27 for (int mb_col = 1; mb_col < mb_cols - 1; ++mb_col) { in TrailingReduction() 28 int mb_index = mb_row * mb_cols + mb_col; in TrailingReduction() 39 metrics_[mb_index + mb_cols].denoise + in TrailingReduction() 40 metrics_[mb_index - mb_cols].denoise <= in TrailingReduction() 48 metrics_[mb_index + mb_cols + 1].denoise + in TrailingReduction() 49 metrics_[mb_index + mb_cols - 1].denoise + in TrailingReduction() 50 metrics_[mb_index - mb_cols + 1].denoise + in TrailingReduction() 51 metrics_[mb_index - mb_cols - 1].denoise + in TrailingReduction() 52 metrics_[mb_index + mb_cols].denoise + in TrailingReduction() [all …]
|
D | video_denoiser.h | 26 int mb_cols,
|
/external/libvpx/libvpx/vp8/decoder/ |
D | error_concealment.c | 50 vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, sizeof(MB_OVERLAP)); in vp8_alloc_overlap_lists() 150 static void calculate_overlaps(MB_OVERLAP *overlap_ul, int mb_rows, int mb_cols, in calculate_overlaps() argument 167 if (new_row >= ((16 * mb_rows) << 3) || new_col >= ((16 * mb_cols) << 3)) { in calculate_overlaps() 187 end_col = VPXMIN(mb_cols - overlap_mb_col, 2); in calculate_overlaps() 200 mb_overlap = overlap_ul + (overlap_mb_row + rel_row) * mb_cols + in calculate_overlaps() 278 int mb_cols) { in calc_prev_mb_overlaps() argument 283 calculate_overlaps(overlaps, mb_rows, mb_cols, in calc_prev_mb_overlaps() 293 MODE_INFO *prev_mi, int mb_rows, int mb_cols, in estimate_missing_mvs() argument 296 memset(overlaps, 0, sizeof(MB_OVERLAP) * mb_rows * mb_cols); in estimate_missing_mvs() 299 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in estimate_missing_mvs() [all …]
|
D | error_concealment.h | 35 int mb_rows, int mb_cols);
|
D | threading.c | 257 VPX_ATOMIC_INIT(pc->mb_cols + nsync); in mt_decode_mb_rows() 359 for (mb_col = 0; mb_col < pc->mb_cols; ++mb_col) { 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() 412 vpx_atomic_store_release(current_mb_col, pc->mb_cols + nsync); in mt_decode_mb_rows() 469 if (mb_col != pc->mb_cols - 1) { in mt_decode_mb_rows()
|
/external/libvpx/libvpx/test/ |
D | set_roi.cc | 49 cpi.common.mb_cols = 320 >> 4; in TEST() 50 const int mbs = (cpi.common.mb_rows * cpi.common.mb_cols); in TEST() 65 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST() 132 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST() 141 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST() 152 cpi.common.mb_cols, delta_q, delta_lf, threshold); in TEST() 157 cpi.common.mb_cols - 1, delta_q, delta_lf, threshold); in TEST()
|
D | active_map_refresh_test.cc | 49 void GenerateMap(int mb_rows, int mb_cols, const vpx_image_t ¤t, in GenerateMap() argument 52 for (int mb_c = 0; mb_c < mb_cols; ++mb_c) { in GenerateMap() 53 map[mb_r * mb_cols + mb_c] = CheckMb(current, previous, mb_r, mb_c); in GenerateMap()
|
/external/libvpx/libvpx/vp8/common/ |
D | alloccommon.c | 86 oci->mb_cols = width >> 4; in vp8_alloc_frame_buffers() 87 oci->MBs = oci->mb_rows * oci->mb_cols; in vp8_alloc_frame_buffers() 88 oci->mode_info_stride = oci->mb_cols + 1; in vp8_alloc_frame_buffers() 90 vpx_calloc((oci->mb_cols + 1) * (oci->mb_rows + 1), sizeof(MODE_INFO)); in vp8_alloc_frame_buffers() 100 vpx_calloc(sizeof(ENTROPY_CONTEXT_PLANES) * oci->mb_cols, 1); in vp8_alloc_frame_buffers() 119 oci->pp_limits_buffer = vpx_memalign(16, 24 * ((oci->mb_cols + 1) & ~1)); in vp8_alloc_frame_buffers()
|
D | vp8_loopfilter.c | 177 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_loop_filter_row_normal() 230 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_loop_filter_row_simple() 275 int mb_cols = cm->mb_cols; in vp8_loop_filter_frame() local 297 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in vp8_loop_filter_frame() 347 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in vp8_loop_filter_frame() 418 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_loop_filter_frame_yonly() 485 int mb_cols = post->y_width >> 4; in vp8_loop_filter_partial_frame() local 512 mode_info_context = cm->mi + (post->y_height >> 5) * (mb_cols + 1); in vp8_loop_filter_partial_frame() 516 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { in vp8_loop_filter_partial_frame()
|
D | mfqe.c | 258 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_multiframe_quality_enhance() 318 y_ptr += show->y_stride * 16 - 16 * cm->mb_cols; in vp8_multiframe_quality_enhance() 319 u_ptr += show->uv_stride * 8 - 8 * cm->mb_cols; in vp8_multiframe_quality_enhance() 320 v_ptr += show->uv_stride * 8 - 8 * cm->mb_cols; in vp8_multiframe_quality_enhance() 321 yd_ptr += dest->y_stride * 16 - 16 * cm->mb_cols; in vp8_multiframe_quality_enhance() 322 ud_ptr += dest->uv_stride * 8 - 8 * cm->mb_cols; in vp8_multiframe_quality_enhance() 323 vd_ptr += dest->uv_stride * 8 - 8 * cm->mb_cols; in vp8_multiframe_quality_enhance()
|
D | postproc.c | 74 unsigned char *uvlimits = cm->pp_limits_buffer + 16 * cm->mb_cols; in vp8_deblock() 82 for (mbc = 0; mbc < cm->mb_cols; ++mbc) { in vp8_deblock() 126 int mb_cols = cm->mb_cols; in vp8_de_noise() local 132 memset(limits, (unsigned char)ppl, 16 * mb_cols); in vp8_de_noise()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | lookahead.c | 97 int mb_cols = (src->y_width + 15) >> 4; in vp8_lookahead_push() local 114 for (; col < mb_cols; ++col) { in vp8_lookahead_push() 119 if (col == mb_cols) break; in vp8_lookahead_push() 124 for (; active_end < mb_cols; ++active_end) { in vp8_lookahead_push() 136 active_map += mb_cols; in vp8_lookahead_push()
|
D | segmentation.c | 23 memset(cpi->gf_active_flags, 1, (cm->mb_rows * cm->mb_cols)); in vp8_update_gf_useage_maps() 24 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_update_gf_useage_maps() 29 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in vp8_update_gf_useage_maps()
|
D | mr_dissim.c | 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 | encodeframe.c | 200 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in calc_activity_index() 257 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in build_activity_map() 283 x->src.y_buffer += 16 * x->src.y_stride - 16 * cm->mb_cols; in build_activity_map() 334 int map_index = (mb_row * cpi->common.mb_cols); in encode_mb_row() 344 vpx_atomic_int rightmost_col = VPX_ATOMIC_INIT(cm->mb_cols + nsync); in encode_mb_row() 388 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in encode_mb_row() 397 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in encode_mb_row() 404 ((cm->mb_cols - 1 - mb_col) * 16) + (VP8BORDERINPIXELS - 16); in encode_mb_row() 615 memset(cm->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) * cm->mb_cols); in init_encode_frame_mb_context() 771 tp = cpi->tok + mb_row * (cm->mb_cols * 16 * 24); in vp8_encode_frame() [all …]
|
D | ethreading.c | 82 int map_index = (mb_row * cm->mb_cols); in thread_encoding_proc() 89 tp = cpi->tok + (mb_row * (cm->mb_cols * 16 * 24)); in thread_encoding_proc() 109 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in thread_encoding_proc() 127 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in thread_encoding_proc() 136 ((cm->mb_cols - 1 - mb_col) * 16) + (VP8BORDERINPIXELS - 16); in thread_encoding_proc() 295 16 * cm->mb_cols; in thread_encoding_proc() 298 8 * cm->mb_cols; in thread_encoding_proc() 301 8 * cm->mb_cols; in thread_encoding_proc() 306 x->gf_active_ptr += cm->mb_cols * cpi->encoding_thread_count; in thread_encoding_proc() 507 if (th_count > ((cm->mb_cols / cpi->mt_sync_range) - 1)) { in vp8cx_create_encoder_threads() [all …]
|
D | temporal_filter.c | 194 int mb_cols = cpi->common.mb_cols; in vp8_temporal_filter_iterate_c() local 227 for (mb_col = 0; mb_col < mb_cols; ++mb_col) { 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() 338 mb_y_offset += 16 * (f->y_stride - mb_cols); in vp8_temporal_filter_iterate_c() 339 mb_uv_offset += 8 * (f->uv_stride - mb_cols); in vp8_temporal_filter_iterate_c()
|
D | onyx_if.c | 471 (cpi->common.mb_rows * cpi->common.mb_cols)); in set_segmentation_map() 503 int mbs_in_frame = cpi->common.mb_rows * cpi->common.mb_cols; in cyclic_background_refresh() 517 (cpi->common.mb_rows * cpi->common.mb_cols) / 10; in cyclic_background_refresh() 523 (cpi->common.mb_rows * cpi->common.mb_cols) / 20; in cyclic_background_refresh() 619 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in compute_skin_map() 620 const int bl_index = mb_row * cm->mb_cols + mb_col; in compute_skin_map() 637 for (mb_col = 1; mb_col < cm->mb_cols - 1; mb_col++) { in compute_skin_map() 638 const int bl_index = mb_row * cm->mb_cols + mb_col; in compute_skin_map() 645 int bl_neighbor_index = (mb_row + mi) * cm->mb_cols + mb_col + mj; in compute_skin_map() 1124 vpx_calloc((cpi->common.mb_cols + 1) * (cpi->common.mb_rows + 1), in vp8_alloc_partition_data() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_lookahead.c | 95 int mb_cols = (src->y_width + 15) >> 4; in vp9_lookahead_push() local 132 for (; col < mb_cols; ++col) { in vp9_lookahead_push() 137 if (col == mb_cols) break; in vp9_lookahead_push() 142 for (; active_end < mb_cols; ++active_end) { in vp9_lookahead_push() 154 active_map += mb_cols; in vp9_lookahead_push()
|
D | vp9_mbgraph.c | 252 x->mv_limits.col_max = (cm->mb_cols - 1) * 8 + BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats() 256 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in update_mbgraph_frame_stats() 283 offset += cm->mb_cols; in update_mbgraph_frame_stats() 299 vpx_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), 1)); in separate_arf_mbs() 310 offset += cm->mb_cols, mb_row++) { in separate_arf_mbs() 311 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in separate_arf_mbs() 333 if (arf_not_zz[mi_row / 2 * cm->mb_cols + mi_col / 2]) { in separate_arf_mbs() 382 cm->mb_rows * cm->mb_cols * sizeof(*cpi->mbgraph_stats[i].mb_stats)); in vp9_update_mbgraph_stats()
|
/external/libaom/libaom/av1/encoder/ |
D | lookahead.c | 94 int mb_cols = (src->y_width + 15) >> 4; in av1_lookahead_push() local 131 for (; col < mb_cols; ++col) { in av1_lookahead_push() 136 if (col == mb_cols) break; in av1_lookahead_push() 141 for (; active_end < mb_cols; ++active_end) { in av1_lookahead_push() 153 active_map += mb_cols; in av1_lookahead_push()
|
D | mbgraph.c | 257 x->mv_limits.col_max = (cm->mb_cols - 1) * 8 + BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats() 260 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in update_mbgraph_frame_stats() 282 offset += cm->mb_cols; in update_mbgraph_frame_stats() 298 aom_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), 1)); in separate_arf_mbs() 309 offset += cm->mb_cols, mb_row++) { in separate_arf_mbs() 310 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in separate_arf_mbs() 332 if (arf_not_zz[mi_row / 2 * cm->mb_cols + mi_col / 2]) { in separate_arf_mbs() 381 cm->mb_rows * cm->mb_cols * sizeof(*cpi->mbgraph_stats[i].mb_stats)); in av1_update_mbgraph_stats()
|
D | firstpass.c | 372 aom_calloc(cm->mb_rows * cm->mb_cols, sizeof(*raw_motion_err_list))); in av1_first_pass() 445 for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) { in av1_first_pass() 539 ((cm->mb_cols - 1 - mb_col) * 16) + BORDER_MV_PIXELS_B16; in av1_first_pass() 693 if (mb_col < cm->mb_cols / 2) { in av1_first_pass() 698 } else if (mb_col > cm->mb_cols / 2) { in av1_first_pass() 722 x->plane[0].src.buf += 16 * x->plane[0].src.stride - 16 * cm->mb_cols; in av1_first_pass() 724 uv_mb_height * x->plane[1].src.stride - uv_mb_height * cm->mb_cols; in av1_first_pass() 726 uv_mb_height * x->plane[1].src.stride - uv_mb_height * cm->mb_cols; in av1_first_pass() 743 AOMMAX(0, intra_skip_count - (image_data_start_row * cm->mb_cols * 2)); in av1_first_pass()
|
/external/libaom/libaom/av1/common/ |
D | alloccommon.c | 29 const int mb_cols = (mi_cols + 2) >> 2; in av1_get_MBs() local 31 return mb_rows * mb_cols; in av1_get_MBs() 79 cm->mb_cols = (cm->mi_cols + 2) >> 2; in av1_set_mb_mi() 81 cm->MBs = cm->mb_rows * cm->mb_cols; in av1_set_mb_mi()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_alloccommon.c | 28 cm->mb_cols = (cm->mi_cols + 1) >> 1; in vp9_set_mb_mi() 30 cm->MBs = cm->mb_rows * cm->mb_cols; in vp9_set_mb_mi()
|