Home
last modified time | relevance | path

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

12

/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/av1/
Dav1_iface_common.h54 img->planes[AOM_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
57 img->stride[AOM_PLANE_Y] = yv12->y_stride; in yuvconfig2image()
66 img->planes[AOM_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image()
69 img->stride[AOM_PLANE_Y] = 2 * yv12->y_stride; in yuvconfig2image()
85 yv12->y_buffer = img->planes[AOM_PLANE_Y]; in image2yuvconfig()
103 yv12->y_stride = img->stride[AOM_PLANE_Y]; in image2yuvconfig()
/external/libaom/libaom/aom/src/
Daom_image.c154 img->stride[AOM_PLANE_Y] = stride_in_bytes; in img_alloc_helper()
221 img->planes[AOM_PLANE_Y] = in aom_img_set_rect()
222 data + x * bytes_per_sample + y * img->stride[AOM_PLANE_Y]; in aom_img_set_rect()
223 data += (img->h + 2 * border) * img->stride[AOM_PLANE_Y]; in aom_img_set_rect()
256 img->planes[AOM_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[AOM_PLANE_Y]; in aom_img_flip()
257 img->stride[AOM_PLANE_Y] = -img->stride[AOM_PLANE_Y]; in aom_img_flip()
/external/libaom/libaom/apps/
Daomdec.c122 (uint16_t *)src->planes[AOM_PLANE_Y], src->stride[AOM_PLANE_Y] / 2, in libyuv_scale()
125 src->d_w, src->d_h, (uint16_t *)dst->planes[AOM_PLANE_Y], in libyuv_scale()
126 dst->stride[AOM_PLANE_Y] / 2, (uint16_t *)dst->planes[AOM_PLANE_U], in libyuv_scale()
132 return I420Scale(src->planes[AOM_PLANE_Y], src->stride[AOM_PLANE_Y], in libyuv_scale()
135 src->d_h, dst->planes[AOM_PLANE_Y], dst->stride[AOM_PLANE_Y], in libyuv_scale()
804 const int PLANES_YUV[] = { AOM_PLANE_Y, AOM_PLANE_U, AOM_PLANE_V }; in main_loop()
805 const int PLANES_YVU[] = { AOM_PLANE_Y, AOM_PLANE_V, AOM_PLANE_U }; in main_loop()
Daomenc.c1975 (uint16_t *)img->planes[AOM_PLANE_Y], img->stride[AOM_PLANE_Y] / 2, in encode_frame()
1978 img->d_w, img->d_h, (uint16_t *)stream->img->planes[AOM_PLANE_Y], in encode_frame()
1979 stream->img->stride[AOM_PLANE_Y] / 2, in encode_frame()
2008 img->planes[AOM_PLANE_Y], img->stride[AOM_PLANE_Y], in encode_frame()
2011 stream->img->planes[AOM_PLANE_Y], stream->img->stride[AOM_PLANE_Y], in encode_frame()
/external/libaom/libaom/av1/encoder/
Dcompound_type.c574 AOM_PLANE_Y, AOM_PLANE_Y); in av1_handle_inter_intra_mode()
722 AOM_PLANE_Y, AOM_PLANE_Y); in av1_handle_inter_intra_mode()
724 av1_combine_interintra(xd, bsize, 0, xd->plane[AOM_PLANE_Y].dst.buf, in av1_handle_inter_intra_mode()
725 xd->plane[AOM_PLANE_Y].dst.stride, intrapred, in av1_handle_inter_intra_mode()
761 AOM_PLANE_Y, AOM_PLANE_Y); in av1_handle_inter_intra_mode()
1097 AOM_PLANE_Y, AOM_PLANE_Y); in masked_compound_type_rd()
1321 AOM_PLANE_Y, AOM_PLANE_Y); in av1_compound_type_rd()
1396 AOM_PLANE_Y, AOM_PLANE_Y); in av1_compound_type_rd()
Dinterp_search.c213 interp_model_rd_eval(x, cpi, bsize, orig_dst, AOM_PLANE_Y, AOM_PLANE_Y, in interpolation_filter_rd()
649 interp_model_rd_eval(x, cpi, bsize, orig_dst, AOM_PLANE_Y, AOM_PLANE_Y, in av1_interpolation_filter_search()
741 AOM_PLANE_Y, AOM_PLANE_Y); in av1_interpolation_filter_search()
Dmotion_search_facade.c788 backup_yv12 = xd->plane[AOM_PLANE_Y].pre[ref_idx]; in av1_simple_motion_search()
805 xd->plane[AOM_PLANE_Y].pre[ref_idx] = backup_yv12; in av1_simple_motion_search()
831 AOM_PLANE_Y, AOM_PLANE_Y); in av1_simple_motion_search()
836 xd->plane[AOM_PLANE_Y].pre[ref_idx] = backup_yv12; in av1_simple_motion_search()
Dreconinter_enc.c91 struct macroblockd_plane *const pd = &xd->plane[AOM_PLANE_Y]; in av1_enc_build_inter_predictor_y()
105 0, AOM_PLANE_Y, xd->tmp_conv_dst, MAX_SB_SIZE, false, xd->bd); in av1_enc_build_inter_predictor_y()
Dpickrst.c181 const int is_uv = plane != AOM_PLANE_Y; in init_rsc()
1491 (rsc->plane == AOM_PLANE_Y) ? WIENER_WIN : WIENER_WIN_CHROMA; in search_wiener()
1496 (rsc->plane == AOM_PLANE_Y) ? WIENER_WIN_REDUCED : WIENER_WIN_CHROMA; in search_wiener()
1623 (rsc->plane == AOM_PLANE_Y) ? WIENER_WIN : WIENER_WIN_CHROMA; in search_switchable()
1723 const int plane_start = AOM_PLANE_Y; in av1_pick_filter_restoration()
1724 const int plane_end = num_planes > 1 ? AOM_PLANE_V : AOM_PLANE_Y; in av1_pick_filter_restoration()
Dpartition_strategy.c113 stride = x->plane[AOM_PLANE_Y].src.stride; in av1_intra_mode_cnn_partition()
117 CONVERT_TO_SHORTPTR(x->plane[AOM_PLANE_Y].src.buf) - stride - 1 in av1_intra_mode_cnn_partition()
124 uint8_t *image[1] = { x->plane[AOM_PLANE_Y].src.buf - stride - 1 }; in av1_intra_mode_cnn_partition()
Dfirstpass.c713 NULL, bsize, AOM_PLANE_Y, AOM_PLANE_Y); in firstpass_inter_prediction()
Dvar_based_part.c754 cm->seq_params.sb_size, AOM_PLANE_Y, in av1_choose_var_based_partitioning()
755 AOM_PLANE_Y); in av1_choose_var_based_partitioning()
Drdopt_utils.h638 av1_get_block_dimensions(bsize, AOM_PLANE_Y, xd, &block_width, in store_winner_mode_stats()
/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/av1/common/
Dcfl.c394 struct macroblockd_plane *const pd = &xd->plane[AOM_PLANE_Y]; in cfl_store_tx()
424 struct macroblockd_plane *const pd = &xd->plane[AOM_PLANE_Y]; in cfl_store_block()
431 const int width = max_intra_block_width(xd, bsize, AOM_PLANE_Y, tx_size); in cfl_store_block()
432 const int height = max_intra_block_height(xd, bsize, AOM_PLANE_Y, tx_size); in cfl_store_block()
Dav1_loopfilter.c145 assert(plane_start >= AOM_PLANE_Y); in av1_loop_filter_frame_init()
200 (plane == AOM_PLANE_Y) in get_transform_size()
205 if ((plane == AOM_PLANE_Y) && is_inter_block(mbmi) && !mbmi->skip) { in get_transform_size()
Dcdef_block.c187 damping += coeff_shift - (pli != AOM_PLANE_Y); in av1_cdef_filter_fb()
Dreconintra.c1666 (plane == AOM_PLANE_Y) ? mbmi->mode : get_uv_mode(mbmi->uv_mode); in av1_predict_intra_block_facade()
1669 (plane == AOM_PLANE_Y && mbmi->filter_intra_mode_info.use_filter_intra) in av1_predict_intra_block_facade()
1672 const int angle_delta = mbmi->angle_delta[plane != AOM_PLANE_Y] * ANGLE_STEP; in av1_predict_intra_block_facade()
1674 if (plane != AOM_PLANE_Y && mbmi->uv_mode == UV_CFL_PRED) { in av1_predict_intra_block_facade()
/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.h199 #define AOM_PLANE_Y 0 /**< Y (Luminance) plane */ macro
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c156 if (plane == AOM_PLANE_Y) { in av1_read_coeffs_txb()

12