Home
last modified time | relevance | path

Searched refs:AOM_PLANE_Y (Results 1 – 24 of 24) sorted by relevance

/external/libaom/libaom/test/
Dutil.h36 int64_t d = img1->planes[AOM_PLANE_Y][i * img1->stride[AOM_PLANE_Y] + j] - in compute_psnr()
37 img2->planes[AOM_PLANE_Y][i * img2->stride[AOM_PLANE_Y] + j]; in compute_psnr()
Dy4m_test.cc62 static const int PLANES_YUV[] = { AOM_PLANE_Y, AOM_PLANE_U, AOM_PLANE_V };
/external/libaom/libaom/aom/src/
Daom_image.c138 img->stride[AOM_PLANE_Y] = stride_in_bytes; in img_alloc_helper()
192 img->planes[AOM_PLANE_Y] = in aom_img_set_rect()
193 data + x * bytes_per_sample + y * img->stride[AOM_PLANE_Y]; in aom_img_set_rect()
194 data += (img->h + 2 * border) * img->stride[AOM_PLANE_Y]; in aom_img_set_rect()
227 img->planes[AOM_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[AOM_PLANE_Y]; in aom_img_flip()
228 img->stride[AOM_PLANE_Y] = -img->stride[AOM_PLANE_Y]; in aom_img_flip()
/external/libaom/libaom/av1/
Dav1_iface_common.h52 img->planes[AOM_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
55 img->stride[AOM_PLANE_Y] = yv12->y_stride; in yuvconfig2image()
63 img->planes[AOM_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image()
66 img->stride[AOM_PLANE_Y] = 2 * yv12->y_stride; in yuvconfig2image()
80 yv12->y_buffer = img->planes[AOM_PLANE_Y]; in image2yuvconfig()
98 yv12->y_stride = img->stride[AOM_PLANE_Y]; in image2yuvconfig()
/external/libaom/libaom/apps/
Daomdec.c126 (uint16_t *)src->planes[AOM_PLANE_Y], src->stride[AOM_PLANE_Y] / 2, in libyuv_scale()
129 src->d_w, src->d_h, (uint16_t *)dst->planes[AOM_PLANE_Y], in libyuv_scale()
130 dst->stride[AOM_PLANE_Y] / 2, (uint16_t *)dst->planes[AOM_PLANE_U], in libyuv_scale()
136 return I420Scale(src->planes[AOM_PLANE_Y], src->stride[AOM_PLANE_Y], in libyuv_scale()
139 src->d_h, dst->planes[AOM_PLANE_Y], dst->stride[AOM_PLANE_Y], in libyuv_scale()
805 const int PLANES_YUV[] = { AOM_PLANE_Y, AOM_PLANE_U, AOM_PLANE_V }; in main_loop()
806 const int PLANES_YVU[] = { AOM_PLANE_Y, AOM_PLANE_V, AOM_PLANE_U }; in main_loop()
Daomenc.c1861 (uint16_t *)img->planes[AOM_PLANE_Y], img->stride[AOM_PLANE_Y] / 2, in encode_frame()
1864 img->d_w, img->d_h, (uint16_t *)stream->img->planes[AOM_PLANE_Y], in encode_frame()
1865 stream->img->stride[AOM_PLANE_Y] / 2, in encode_frame()
1894 img->planes[AOM_PLANE_Y], img->stride[AOM_PLANE_Y], in encode_frame()
1897 stream->img->planes[AOM_PLANE_Y], stream->img->stride[AOM_PLANE_Y], in encode_frame()
/external/libaom/libaom/av1/common/
Dcfl.c381 struct macroblockd_plane *const pd = &xd->plane[AOM_PLANE_Y]; in cfl_store_tx()
396 struct macroblockd_plane *const pd = &xd->plane[AOM_PLANE_Y]; in cfl_store_block()
403 const int width = max_intra_block_width(xd, bsize, AOM_PLANE_Y, tx_size); in cfl_store_block()
404 const int height = max_intra_block_height(xd, bsize, AOM_PLANE_Y, tx_size); in cfl_store_block()
Dcdef_block.c189 sec_damping += coeff_shift - (pli != AOM_PLANE_Y); in cdef_filter_fb()
190 pri_damping += coeff_shift - (pli != AOM_PLANE_Y); in cdef_filter_fb()
Dreconintra.c1601 (plane == AOM_PLANE_Y) ? mbmi->mode : get_uv_mode(mbmi->uv_mode); in av1_predict_intra_block_facade()
1604 (plane == AOM_PLANE_Y && mbmi->filter_intra_mode_info.use_filter_intra) in av1_predict_intra_block_facade()
1607 const int angle_delta = mbmi->angle_delta[plane != AOM_PLANE_Y] * ANGLE_STEP; in av1_predict_intra_block_facade()
1609 if (plane != AOM_PLANE_Y && mbmi->uv_mode == UV_CFL_PRED) { in av1_predict_intra_block_facade()
Dav1_loopfilter.c538 assert(plane_start >= AOM_PLANE_Y); in av1_loop_filter_frame_init()
1946 (plane == AOM_PLANE_Y) in get_transform_size()
1951 if ((plane == AOM_PLANE_Y) && is_inter_block(mbmi) && !mbmi->skip) { in get_transform_size()
/external/libaom/libaom/examples/
Dencoder_util.c31 const int is_y_plane = (plane == AOM_PLANE_Y); in find_mismatch_plane()
84 find_mismatch_plane(img1, img2, AOM_PLANE_Y, use_highbitdepth, yloc); in find_mismatch_helper()
/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.c991 copy_rect(src->planes[AOM_PLANE_Y], src->stride[AOM_PLANE_Y], in av1_add_film_grain()
992 dst->planes[AOM_PLANE_Y], dst->stride[AOM_PLANE_Y], src->d_w, in av1_add_film_grain()
995 extend_even(dst->planes[AOM_PLANE_Y], dst->stride[AOM_PLANE_Y], src->d_w, in av1_add_film_grain()
1010 luma = dst->planes[AOM_PLANE_Y]; in av1_add_film_grain()
1015 luma_stride = dst->stride[AOM_PLANE_Y] >> use_high_bit_depth; in av1_add_film_grain()
/external/libaom/libaom/common/
Drawenc.c75 if (img->monochrome && plane != AOM_PLANE_Y) { in raw_write_image_file_or_md5()
Dy4minput.c1147 _img->stride[AOM_PLANE_Y] = _y4m->pic_w * bytes_per_sample; in y4m_input_fetch_frame()
1149 _img->planes[AOM_PLANE_Y] = _y4m->dst_buf; in y4m_input_fetch_frame()
/external/libaom/libaom/aom/
Daom_image.h169 #define AOM_PLANE_Y 0 /**< Y (Luminance) plane */ macro
/external/libaom/libaom/av1/encoder/
Dmbgraph.c75 BLOCK_16X16, AOM_PLANE_Y, AOM_PLANE_Y); in do_16x16_motion_iteration()
Dpickrst.c144 const int is_uv = plane != AOM_PLANE_Y; in init_rsc()
1192 (rsc->plane == AOM_PLANE_Y) ? WIENER_WIN : WIENER_WIN_CHROMA; in search_wiener()
1303 (rsc->plane == AOM_PLANE_Y) ? WIENER_WIN : WIENER_WIN_CHROMA; in search_switchable()
1402 const int plane_start = AOM_PLANE_Y; in av1_pick_filter_restoration()
1403 const int plane_end = num_planes > 1 ? AOM_PLANE_V : AOM_PLANE_Y; in av1_pick_filter_restoration()
Dfirstpass.c660 AOM_PLANE_Y, AOM_PLANE_Y); in av1_first_pass()
Dvar_based_part.c531 cm->seq_params.sb_size, AOM_PLANE_Y, in av1_choose_var_based_partitioning()
532 AOM_PLANE_Y); in av1_choose_var_based_partitioning()
Dmcomp.c905 AOM_PLANE_Y, AOM_PLANE_Y); in av1_compute_motion_cost()
3109 backup_yv12 = xd->plane[AOM_PLANE_Y].pre[ref_idx]; in av1_simple_motion_search()
3126 xd->plane[AOM_PLANE_Y].pre[ref_idx] = backup_yv12; in av1_simple_motion_search()
3158 AOM_PLANE_Y, AOM_PLANE_Y); in av1_simple_motion_search()
3163 xd->plane[AOM_PLANE_Y].pre[ref_idx] = backup_yv12; in av1_simple_motion_search()
Drdopt.c3492 if (plane == AOM_PLANE_Y && xd->cfl.store_y) { in block_rd_txfm()
3620 AOM_PLANE_Y, bs, tx_size, cpi->sf.use_fast_coef_costing, in txfm_yrd()
3699 AOM_PLANE_Y, bs, mbmi->tx_size, in choose_largest_tx_size()
6569 av1_encode_intra_block_plane(cpi, x, mbmi->sb_type, AOM_PLANE_Y, in choose_intra_uv_mode()
7954 AOM_PLANE_Y, AOM_PLANE_Y); in build_and_cost_compound_type()
8249 AOM_PLANE_Y, AOM_PLANE_Y); in interpolation_filter_rd()
8860 AOM_PLANE_Y, AOM_PLANE_Y); in interpolation_filter_search()
9061 AOM_PLANE_Y, AOM_PLANE_Y); in handle_inter_intra_mode()
9187 AOM_PLANE_Y, AOM_PLANE_Y); in handle_inter_intra_mode()
9221 AOM_PLANE_Y, AOM_PLANE_Y); in handle_inter_intra_mode()
[all …]
Dencodemb.c629 if (plane == AOM_PLANE_Y && xd->cfl.store_y) { in av1_encode_block_intra()
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c158 if (plane == AOM_PLANE_Y) { in av1_read_coeffs_txb()
Ddecodeframe.c241 if (plane == AOM_PLANE_Y && store_cfl_required(cm, xd)) { in predict_and_reconstruct_intra_block()
2285 cm->y_iqmatrix[i][j] = av1_iqmatrix(cm, qmlevel, AOM_PLANE_Y, j); in setup_segmentation_dequant()