Home
last modified time | relevance | path

Searched refs:plane_width (Results 1 – 22 of 22) sorted by relevance

/external/libgav1/libgav1/src/dsp/
Dfilm_grain.cc244 const int plane_width = (width + subsampling_x) >> subsampling_x; in ConstructNoiseStripes_C() local
279 plane_width - (x << (1 - subsampling_x))); in ConstructNoiseStripes_C()
280 memcpy(&noise_stripe[i * plane_width + (x << (1 - subsampling_x))], in ConstructNoiseStripes_C()
309 const int plane_width = (width + subsampling_x) >> subsampling_x; in ConstructNoiseStripesWithOverlap_C() local
332 std::min(kNoiseStripeHeight >> subsampling_x, plane_width); in ConstructNoiseStripesWithOverlap_C()
333 memcpy(&noise_stripe[i * plane_width], in ConstructNoiseStripesWithOverlap_C()
357 int old = noise_stripe[i * plane_width + x * 2]; in ConstructNoiseStripesWithOverlap_C()
362 noise_stripe[i * plane_width + x * 2] = grain_sample; in ConstructNoiseStripesWithOverlap_C()
366 if (x * 2 + 1 >= plane_width) continue; in ConstructNoiseStripesWithOverlap_C()
370 old = noise_stripe[i * plane_width + x * 2 + 1]; in ConstructNoiseStripesWithOverlap_C()
[all …]
/external/libgav1/libgav1/src/post_filter/
Dsuper_res.cc26 const int plane_width = in ApplySuperRes() local
41 input, input_stride, rows[plane], plane_width, in ApplySuperRes()
56 /*height=*/1, plane_width, in ApplySuperRes()
73 input, input_stride, rows[plane], plane_width, in ApplySuperRes()
88 /*height=*/1, plane_width, super_res_info_[plane].upscaled_width, in ApplySuperRes()
187 const int plane_width = in ApplySuperResThreaded() local
195 memcpy(line_buffer_start, input, plane_width << pixel_size_log2); in ApplySuperResThreaded()
Dloop_restoration.cc22 const int plane_height, const int plane_width, const int unit_y, in ApplyLoopRestorationForOneRow() argument
46 std::min(plane_unit_size, plane_width - column); in ApplyLoopRestorationForOneRow()
95 } while (column < plane_width); in ApplyLoopRestorationForOneRow()
112 const int plane_width = in ApplyLoopRestorationForOneSuperBlockRow() local
134 static_cast<Plane>(plane), plane_height, plane_width, y, unit_row, in ApplyLoopRestorationForOneSuperBlockRow()
Dpost_filter.cc285 const int plane_width = in ExtendBordersForReferenceFrame() local
301 frame_buffer_.data(plane), plane_width, plane_height, in ExtendBordersForReferenceFrame()
348 const int plane_width = in CopyBordersForOneSuperBlockRow() local
384 ExtendFrameBoundary(start, plane_width, num_rows, stride, left_border, in CopyBordersForOneSuperBlockRow()
496 const int plane_width = in SetupLoopRestorationBorder() local
501 ExtendLine<uint16_t>(dst_line, plane_width, in SetupLoopRestorationBorder()
507 ExtendLine<uint8_t>(dst_line, plane_width, in SetupLoopRestorationBorder()
Dcdef.cc129 const int plane_width = SubsampledValue(width_, subsampling_x); in PrepareCdefBlock() local
140 const bool is_frame_right = start_x + block_width >= plane_width; in PrepareCdefBlock()
/external/libgav1/libgav1/src/dsp/arm/
Dfilm_grain_neon.cc994 int plane_width, in WriteOverlapLine8bpp_NEON() argument
1009 } while (x < plane_width); in WriteOverlapLine8bpp_NEON()
1019 const int plane_width = (width + subsampling_x) >> subsampling_x; in ConstructNoiseImageOverlap8bpp_NEON() local
1034 noise_stripe, &noise_stripe_prev[32 * plane_width], plane_width, in ConstructNoiseImageOverlap8bpp_NEON()
1037 WriteOverlapLine8bpp_NEON(&noise_stripe[plane_width], in ConstructNoiseImageOverlap8bpp_NEON()
1038 &noise_stripe_prev[(32 + 1) * plane_width], in ConstructNoiseImageOverlap8bpp_NEON()
1039 plane_width, second_row_grain_coeff, in ConstructNoiseImageOverlap8bpp_NEON()
1052 noise_stripe, &noise_stripe_prev[32 * plane_width], plane_width, in ConstructNoiseImageOverlap8bpp_NEON()
1056 WriteOverlapLine8bpp_NEON(&noise_stripe[plane_width], in ConstructNoiseImageOverlap8bpp_NEON()
1057 &noise_stripe_prev[(32 + 1) * plane_width], in ConstructNoiseImageOverlap8bpp_NEON()
[all …]
/external/libgav1/libgav1/src/
Dfilm_grain.cc491 const int plane_width = (width + subsampling_x) >> subsampling_x; in ConstructNoiseImage() local
500 memcpy((*noise_image)[y], first_noise_stripe + y * plane_width, in ConstructNoiseImage()
501 plane_width * sizeof(first_noise_stripe[0])); in ConstructNoiseImage()
510 memcpy((*noise_image)[y + i], noise_stripe + i * plane_width, in ConstructNoiseImage()
511 plane_width * sizeof(noise_stripe[0])); in ConstructNoiseImage()
522 memcpy((*noise_image)[y + i], noise_stripe + i * plane_width, in ConstructNoiseImage()
523 plane_width * sizeof(noise_stripe[0])); in ConstructNoiseImage()
Dloop_restoration_info.cc73 const int plane_width = in Reset() local
79 plane_width, loop_restoration_->unit_size_log2[plane])); in Reset()
Dpost_filter.h452 int plane_width, int y, int unit_row,
/external/libaom/libaom/av1/decoder/
Ddetokenize.c30 int plane_block_width = param->plane_width; in decode_color_map_tokens()
75 av1_get_block_dimensions(mbmi->sb_type, plane, xd, &params.plane_width, in av1_decode_palette_tokens()
Ddecodeframe.c904 av1_get_block_dimensions(mbmi->sb_type, plane, xd, &params.plane_width, in set_color_index_map_offset()
906 xd->color_index_map_offset[plane] += params.plane_width * params.plane_height; in set_color_index_map_offset()
/external/igt-gpu-tools/lib/
Digt_vc4.c384 column_width = column_width_bytes * dst->plane_width[plane] / dst->width; in vc4_fb_convert_plane_to_sand_tiled()
388 for (j = 0; j < src->plane_width[plane]; j++) { in vc4_fb_convert_plane_to_sand_tiled()
440 column_width = column_width_bytes * src->plane_width[plane] / src->width; in vc4_fb_convert_plane_from_sand_tiled()
444 for (j = 0; j < src->plane_width[plane]; j++) { in vc4_fb_convert_plane_from_sand_tiled()
Digt_fb.h98 unsigned int plane_width[4]; member
Digt_fb.c608 fb->plane_width[i] = fb_plane_width(fb, i); in igt_init_fb()
614 uint32_t min_stride = fb->plane_width[plane] * in calc_plane_stride()
1926 if (fb->plane_width[i] > 32767 || in blitter_ok()
1994 &src, 0, 0, dst_fb->plane_width[0], dst_fb->plane_height[0], in rendercopy()
2009 igt_assert_eq(dst_fb->plane_width[i], src_fb->plane_width[i]); in blitcopy()
2018 dst_fb->plane_width[i], dst_fb->plane_height[i], in blitcopy()
/external/libaom/libaom/av1/encoder/
Dtokenize.c36 const int plane_block_width = param->plane_width; in cost_and_tokenize_map()
89 av1_get_block_dimensions(bsize, plane, xd, &params->plane_width, NULL, in get_palette_params()
Dpickrst.c131 int plane_width; member
182 rsc->plane_width = src->crop_widths[is_uv]; in init_rsc()
1738 av1_extend_frame(rsc.dgd_buffer, rsc.plane_width, rsc.plane_height, in av1_pick_filter_restoration()
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c368 int plane_width; in yv12_extend_frame_left_right_c() local
376 plane_width = ybf->y_width; in yv12_extend_frame_left_right_c()
380 src_ptr2 = src_ptr1 + plane_width - 1; in yv12_extend_frame_left_right_c()
398 plane_width = ybf->uv_width; in yv12_extend_frame_left_right_c()
403 src_ptr2 = src_ptr1 + plane_width - 1; in yv12_extend_frame_left_right_c()
422 src_ptr2 = src_ptr1 + plane_width - 1; in yv12_extend_frame_left_right_c()
/external/minigbm/
Dhelpers.c234 uint32_t plane_width = DIV_ROUND_UP(width, layout->horizontal_subsampling[plane]); in drv_stride_from_format() local
235 uint32_t stride = plane_width * layout->bytes_per_pixel[plane]; in drv_stride_from_format()
/external/igt-gpu-tools/tests/
Dtestdisplay.c98 int plane_width, plane_height; variable
664 if (sscanf(optarg, "%d,%d,%d,%d,%d,%d", &plane_width, in opt_handler()
/external/libaom/libaom/av1/common/
Drestoration.c1136 const int plane_width = frame->crop_widths[is_uv]; in av1_loop_restoration_filter_frame_init() local
1140 av1_extend_frame(frame->buffers[plane], plane_width, plane_height, in av1_loop_restoration_filter_frame_init()
Dblockd.h1254 int plane_width; member
/external/libgav1/libgav1/src/tile/
Dtile.cc549 const int plane_width = local
552 std::min(frame_header_.columns4x4, DivideBy4(plane_width + 3)