Home
last modified time | relevance | path

Searched refs:VPX_PLANE_U (Results 1 – 16 of 16) sorted by relevance

/external/libvpx/libvpx/vpx/src/
Dvpx_image.c125 img->stride[VPX_PLANE_U] = img->stride[VPX_PLANE_V] = stride_in_bytes >> xcs; in img_alloc_helper()
177 img->planes[VPX_PLANE_U] = in vpx_img_set_rect()
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()
189 img->planes[VPX_PLANE_U] = 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()
210 img->stride[VPX_PLANE_U]; in vpx_img_flip()
211 img->stride[VPX_PLANE_U] = -img->stride[VPX_PLANE_U]; in vpx_img_flip()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.c48 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
52 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image()
62 img->planes[VPX_PLANE_U] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image()
66 img->stride[VPX_PLANE_U] = 2 * yv12->uv_stride; in yuvconfig2image()
81 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
99 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
/external/libvpx/libvpx/
Dtools_common.c106 : VPX_PLANE_U]; in read_yuv_frame()
110 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U in read_yuv_frame()
575 match &= (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img()
576 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img()
631 plane1 = (uint16_t *)img1->planes[VPX_PLANE_U]; in find_mismatch_high()
632 plane2 = (uint16_t *)img2->planes[VPX_PLANE_U]; in find_mismatch_high()
633 stride1 = img1->stride[VPX_PLANE_U] / 2; in find_mismatch_high()
634 stride2 = img2->stride[VPX_PLANE_U] / 2; in find_mismatch_high()
729 if (*(img1->planes[VPX_PLANE_U] + in find_mismatch()
730 (i + k) * img1->stride[VPX_PLANE_U] + j + l) != in find_mismatch()
[all …]
Dvpxdec.c159 (uint16_t *)src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U] / 2, in libyuv_scale()
162 dst->stride[VPX_PLANE_Y] / 2, (uint16_t *)dst->planes[VPX_PLANE_U], in libyuv_scale()
163 dst->stride[VPX_PLANE_U] / 2, (uint16_t *)dst->planes[VPX_PLANE_V], in libyuv_scale()
170 src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U], in libyuv_scale()
173 dst->planes[VPX_PLANE_U], dst->stride[VPX_PLANE_U], in libyuv_scale()
906 const int PLANES_YUV[] = { VPX_PLANE_Y, VPX_PLANE_U, VPX_PLANE_V }; in main_loop()
907 const int PLANES_YVU[] = { VPX_PLANE_Y, VPX_PLANE_V, VPX_PLANE_U }; in main_loop()
Dvpxenc.c1320 (uint16_t *)img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U] / 2, in encode_frame()
1324 (uint16_t *)stream->img->planes[VPX_PLANE_U], in encode_frame()
1325 stream->img->stride[VPX_PLANE_U] / 2, in encode_frame()
1352 img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U], in encode_frame()
1355 stream->img->planes[VPX_PLANE_U], stream->img->stride[VPX_PLANE_U], in encode_frame()
Dy4minput.c1121 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame()
1123 _img->planes[VPX_PLANE_U] = _y4m->dst_buf + pic_sz; in y4m_input_fetch_frame()
/external/exoplayer/tree/extensions/vp9/src/main/jni/
Dvpx_jni.cc178 reinterpret_cast<uint16_t*>(img->planes[VPX_PLANE_U]); in convert_16_to_8_neon()
271 img->planes[VPX_PLANE_U] + img->stride[VPX_PLANE_U] * y); in convert_16_to_8_standard()
274 int8_t* destUBase = data + yLength + img->stride[VPX_PLANE_U] * y; in convert_16_to_8_standard()
567 img->stride[VPX_PLANE_Y], img->stride[VPX_PLANE_U], colorspace); in DECODER_FUNC()
579 const uint64_t uvLength = img->stride[VPX_PLANE_U] * uvHeight; in DECODER_FUNC()
596 memcpy(data + yLength, img->planes[VPX_PLANE_U], uvLength); in DECODER_FUNC()
659 const int src_uv_stride = srcBuffer->stride[VPX_PLANE_U]; in DECODER_FUNC()
665 src_base = reinterpret_cast<uint8_t*>(srcBuffer->planes[VPX_PLANE_U]); in DECODER_FUNC()
/external/libvpx/libvpx/test/
Dencode_test_driver.cc146 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img()
147 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img()
/external/libvpx/libvpx/examples/
Dvp8_multi_resolution_encoder.c96 : VPX_PLANE_U]; in mulres_read_frame_by_row()
99 ptr = img->planes[img->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U in mulres_read_frame_by_row()
553 raw[i - 1].planes[VPX_PLANE_U], raw[i - 1].stride[VPX_PLANE_U], in main()
556 raw[i].stride[VPX_PLANE_Y], raw[i].planes[VPX_PLANE_U], in main()
557 raw[i].stride[VPX_PLANE_U], raw[i].planes[VPX_PLANE_V], in main()
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.cc1008 raw_images_[0].planes[VPX_PLANE_U] = in Encode()
1014 raw_images_[0].stride[VPX_PLANE_U] = input_image->StrideU(); in Encode()
1021 raw_image_.planes[VPX_PLANE_U] = nullptr; in Encode()
1032 raw_images_[i - 1].planes[VPX_PLANE_U], in Encode()
1033 raw_images_[i - 1].stride[VPX_PLANE_U], in Encode()
1037 raw_images_[i].stride[VPX_PLANE_Y], raw_images_[i].planes[VPX_PLANE_U], in Encode()
1038 raw_images_[i].stride[VPX_PLANE_U], raw_images_[i].planes[VPX_PLANE_V], in Encode()
Dlibvpx_vp8_decoder.cc341 img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U], in ReturnFrame()
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc996 raw_->planes[VPX_PLANE_U] = const_cast<uint8_t*>(i420_buffer->DataU()); in Encode()
999 raw_->stride[VPX_PLANE_U] = i420_buffer->StrideU(); in Encode()
1023 raw_->planes[VPX_PLANE_U] = const_cast<uint8_t*>( in Encode()
1028 raw_->stride[VPX_PLANE_U] = i010_buffer->StrideU() * 2; in Encode()
1866 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame()
1867 img->stride[VPX_PLANE_U], img->planes[VPX_PLANE_V], in ReturnFrame()
1876 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame()
1877 img->stride[VPX_PLANE_U], img->planes[VPX_PLANE_V], in ReturnFrame()
1895 reinterpret_cast<const uint16_t*>(img->planes[VPX_PLANE_U]), in ReturnFrame()
1896 img->stride[VPX_PLANE_U] / 2, in ReturnFrame()
/external/libvpx/libvpx/vpx/
Dvpx_image.h96 #define VPX_PLANE_U 1 /**< U (Chroma) plane */ macro
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c220 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
224 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image()
539 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
552 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
Dvp8_cx_iface.c722 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
735 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
1118 ctx->preview_img.planes[VPX_PLANE_U] = sd.u_buffer; in vp8e_get_preview()
1128 ctx->preview_img.stride[VPX_PLANE_U] = sd.uv_stride; in vp8e_get_preview()
/external/openscreen/cast/standalone_sender/
Dstreaming_vp8_encoder.cc483 image->planes[VPX_PLANE_U], image->stride[VPX_PLANE_U]); in CloneAsVpxImage()