Home
last modified time | relevance | path

Searched refs:y_chroma_shift (Results 1 – 25 of 26) sorted by relevance

12

/external/libvpx/libvpx/
Dtools_common.c213 if (plane > 0 && img->y_chroma_shift > 0) in vpx_img_plane_height()
214 return (img->d_h + 1) >> img->y_chroma_shift; in vpx_img_plane_height()
278 dst->y_chroma_shift != src->y_chroma_shift || dst->fmt != src->fmt || in highbd_img_upshift()
295 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in highbd_img_upshift()
314 dst->y_chroma_shift != src->y_chroma_shift || in lowbd_img_upshift()
331 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in lowbd_img_upshift()
356 dst->y_chroma_shift != src->y_chroma_shift) { in vpx_img_truncate_16_to_8()
372 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in vpx_img_truncate_16_to_8()
390 dst->y_chroma_shift != src->y_chroma_shift || dst->fmt != src->fmt || in highbd_img_downshift()
407 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in highbd_img_downshift()
[all …]
Dvpxenc.c623 const uint32_t bsizey = bsize >> img1->y_chroma_shift; in find_mismatch_high()
628 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in find_mismatch_high()
715 const uint32_t bsizey = bsize >> img1->y_chroma_shift; in find_mismatch()
720 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in find_mismatch()
806 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in compare_img()
Dy4minput.c1110 _img->y_chroma_shift = _y4m->dst_c_dec_v >> 1; in y4m_input_fetch_frame()
/external/libaom/libaom/common/
Dtools_common.c251 dst->y_chroma_shift != src->y_chroma_shift || dst->fmt != src->fmt || in highbd_img_upshift()
267 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in highbd_img_upshift()
286 dst->y_chroma_shift != src->y_chroma_shift || in lowbd_img_upshift()
303 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in lowbd_img_upshift()
329 dst->y_chroma_shift != src->y_chroma_shift) { in aom_img_truncate_16_to_8()
344 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in aom_img_truncate_16_to_8()
362 dst->y_chroma_shift != src->y_chroma_shift || dst->fmt != src->fmt || in highbd_img_downshift()
378 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in highbd_img_downshift()
395 dst->y_chroma_shift != src->y_chroma_shift || in lowbd_img_downshift()
411 h = (h + src->y_chroma_shift) >> src->y_chroma_shift; in lowbd_img_downshift()
Dy4minput.c1138 _img->y_chroma_shift = _y4m->dst_c_dec_v >> 1; in y4m_input_fetch_frame()
/external/libvpx/libvpx/vpx/src/
Dvpx_image.c120 img->y_chroma_shift = ycs; in img_alloc_helper()
179 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
180 data += (img->h >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
183 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect()
187 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect()
188 data += (img->h >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect()
191 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
209 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip()
213 img->planes[VPX_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip()
/external/libaom/libaom/aom/src/
Daom_image.c134 img->y_chroma_shift = ycs; in img_alloc_helper()
196 unsigned int uv_border_h = border >> img->y_chroma_shift; in aom_img_set_rect()
198 unsigned int uv_y = y >> img->y_chroma_shift; in aom_img_set_rect()
202 data += ((img->h >> img->y_chroma_shift) + 2 * uv_border_h) * in aom_img_set_rect()
209 data += ((img->h >> img->y_chroma_shift) + 2 * uv_border_h) * in aom_img_set_rect()
230 img->planes[AOM_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in aom_img_flip()
234 img->planes[AOM_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in aom_img_flip()
255 if (plane > 0 && img->y_chroma_shift > 0) in aom_img_plane_height()
256 return (img->d_h + 1) >> img->y_chroma_shift; in aom_img_plane_height()
/external/libaom/libaom/examples/
Dencoder_util.c33 const uint32_t bsizey = is_y_plane ? bsize : bsize >> img1->y_chroma_shift; in find_mismatch_plane()
39 : (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in find_mismatch_plane()
42 img1->y_chroma_shift == img2->y_chroma_shift); in find_mismatch_plane()
113 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in aom_compare_img()
Dlightfield_tile_list_decoder.c79 (plane > 0) ? row_offset >> img->y_chroma_shift : row_offset; in write_tile_yuv1d()
85 (plane > 0) ? (tile_height >> img->y_chroma_shift) : tile_height; in write_tile_yuv1d()
Dlightfield_decoder.c74 (plane > 0) ? dst_row_offset >> dst->y_chroma_shift : dst_row_offset; in aom_img_copy_tile()
Dnoise_model.c377 int chroma_sub[3] = { raw.x_chroma_shift, raw.y_chroma_shift, 0 }; in main()
Danalyzer.cc327 int dc = -((j & 1) | (1 - img->y_chroma_shift)); in render()
/external/libvpx/libvpx/test/
Dy4m_test.cc64 (plane ? (img->d_h + img->y_chroma_shift) >> img->y_chroma_shift in write_image_file()
103 ASSERT_EQ(img()->y_chroma_shift, 1U); in HeaderChecks()
108 ASSERT_EQ(img()->y_chroma_shift, 0U); in HeaderChecks()
113 ASSERT_EQ(img()->y_chroma_shift, 0U); in HeaderChecks()
Dmd5_helper.h32 plane ? (img->d_h + img->y_chroma_shift) >> img->y_chroma_shift in Add()
Dactive_map_refresh_test.cc33 if (plane > 0 && current.y_chroma_shift) { in CheckMb()
/external/libaom/libaom/test/
Dy4m_test.cc91 ASSERT_EQ(img()->y_chroma_shift, 1U); in HeaderChecks()
96 ASSERT_EQ(img()->y_chroma_shift, 0U); in HeaderChecks()
101 ASSERT_EQ(img()->y_chroma_shift, 0U); in HeaderChecks()
Dmd5_helper.h33 plane ? (img->d_h + img->y_chroma_shift) >> img->y_chroma_shift in Add()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h49 img->y_chroma_shift = yv12->subsampling_y; in yuvconfig2image()
97 img->y_chroma_shift == 1 ? (1 + yv12->y_height) / 2 : yv12->y_height; in image2yuvconfig()
132 yv12->subsampling_y = img->y_chroma_shift; in image2yuvconfig()
/external/libaom/libaom/av1/
Dav1_iface_common.h51 img->y_chroma_shift = yv12->subsampling_y; in yuvconfig2image()
94 img->y_chroma_shift == 1 ? (1 + yv12->y_height) / 2 : yv12->y_height; in image2yuvconfig()
134 yv12->subsampling_y = img->y_chroma_shift; in image2yuvconfig()
/external/libvpx/libvpx/examples/
Dvp9cx_set_ref.c76 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in compare_img()
107 const uint32_t bsizey = bsize >> img1->y_chroma_shift; in find_mismatch()
112 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in find_mismatch()
/external/libvpx/libvpx/vpx/
Dvpx_image.h91 unsigned int y_chroma_shift; /**< subsampling order, Y */ member
/external/libaom/libaom/aom/
Daom_image.h165 unsigned int y_chroma_shift; /**< subsampling order, Y */ member
/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.c983 dst->y_chroma_shift = src->y_chroma_shift; in av1_add_film_grain()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c218 img->y_chroma_shift = 1; in yuvconfig2image()
Dvp8_cx_iface.c1083 ctx->preview_img.y_chroma_shift = 1; in vp8e_get_preview()

12