/external/libvpx/vpx/src/ |
D | vpx_image.c | 130 img->stride[VPX_PLANE_U] = img->stride[VPX_PLANE_V] = stride_in_bytes >> xcs; in img_alloc_helper() 181 img->planes[VPX_PLANE_U] = in vpx_img_set_rect() 183 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect() 184 img->planes[VPX_PLANE_V] = img->planes[VPX_PLANE_U] + 1; in vpx_img_set_rect() 186 img->planes[VPX_PLANE_U] = in vpx_img_set_rect() 188 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect() 189 data += (img->h >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect() 198 img->planes[VPX_PLANE_U] = in vpx_img_set_rect() 200 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect() 218 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip() [all …]
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | libvpx_vp9_decoder.cc | 281 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame() 282 img->stride[VPX_PLANE_U], img->planes[VPX_PLANE_V], in ReturnFrame() 292 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame() 293 img->stride[VPX_PLANE_U], img->planes[VPX_PLANE_V], in ReturnFrame() 303 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame() 304 img->stride[VPX_PLANE_U], img->planes[VPX_PLANE_V], in ReturnFrame() 316 reinterpret_cast<const uint16_t*>(img->planes[VPX_PLANE_U]), in ReturnFrame() 317 img->stride[VPX_PLANE_U] / 2, in ReturnFrame() 326 reinterpret_cast<const uint16_t*>(img->planes[VPX_PLANE_U]), in ReturnFrame() 327 img->stride[VPX_PLANE_U] / 2, in ReturnFrame()
|
D | libvpx_vp9_encoder.cc | 1201 raw_->planes[VPX_PLANE_U] = const_cast<uint8_t*>( in Encode() 1206 raw_->stride[VPX_PLANE_U] = i010_buffer->StrideU() * 2; in Encode() 2105 raw_->planes[VPX_PLANE_U] = const_cast<uint8_t*>(i420_buffer->DataU()); in PrepareBufferForProfile0() 2108 raw_->stride[VPX_PLANE_U] = i420_buffer->StrideU(); in PrepareBufferForProfile0() 2117 raw_->planes[VPX_PLANE_U] = const_cast<uint8_t*>(nv12_buffer->DataUV()); in PrepareBufferForProfile0() 2118 raw_->planes[VPX_PLANE_V] = raw_->planes[VPX_PLANE_U] + 1; in PrepareBufferForProfile0() 2120 raw_->stride[VPX_PLANE_U] = nv12_buffer->StrideUV(); in PrepareBufferForProfile0()
|
/external/libvpx/vp9/ |
D | vp9_iface_common.c | 48 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() 100 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
|
/external/libvpx/ |
D | tools_common.c | 109 : VPX_PLANE_U]; in read_yuv_frame() 113 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U in read_yuv_frame() 578 match &= (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img() 579 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img() 634 plane1 = (uint16_t *)img1->planes[VPX_PLANE_U]; in find_mismatch_high() 635 plane2 = (uint16_t *)img2->planes[VPX_PLANE_U]; in find_mismatch_high() 636 stride1 = img1->stride[VPX_PLANE_U] / 2; in find_mismatch_high() 637 stride2 = img2->stride[VPX_PLANE_U] / 2; in find_mismatch_high() 732 if (*(img1->planes[VPX_PLANE_U] + in find_mismatch() 733 (i + k) * img1->stride[VPX_PLANE_U] + j + l) != in find_mismatch() [all …]
|
D | vpxdec.c | 159 (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() 913 const int PLANES_YUV[] = { VPX_PLANE_Y, VPX_PLANE_U, VPX_PLANE_V }; in main_loop() 914 const int PLANES_YVU[] = { VPX_PLANE_Y, VPX_PLANE_V, VPX_PLANE_U }; in main_loop()
|
D | vpxenc.c | 1400 (uint16_t *)img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U] / 2, in encode_frame() 1404 (uint16_t *)stream->img->planes[VPX_PLANE_U], in encode_frame() 1405 stream->img->stride[VPX_PLANE_U] / 2, in encode_frame() 1432 img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U], in encode_frame() 1435 stream->img->planes[VPX_PLANE_U], stream->img->stride[VPX_PLANE_U], in encode_frame()
|
D | y4minput.c | 1163 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame() 1165 _img->planes[VPX_PLANE_U] = _y4m->dst_buf + pic_sz; in y4m_input_fetch_frame()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/vp9/src/main/jni/ |
D | vpx_jni.cc | 180 reinterpret_cast<uint16_t*>(img->planes[VPX_PLANE_U]); in convert_16_to_8_neon() 273 img->planes[VPX_PLANE_U] + img->stride[VPX_PLANE_U] * y); in convert_16_to_8_standard() 276 int8_t* destUBase = data + yLength + img->stride[VPX_PLANE_U] * y; in convert_16_to_8_standard() 565 img->stride[VPX_PLANE_Y], img->stride[VPX_PLANE_U], colorspace); in DECODER_FUNC() 577 const uint64_t uvLength = img->stride[VPX_PLANE_U] * uvHeight; in DECODER_FUNC() 594 memcpy(data + yLength, img->planes[VPX_PLANE_U], uvLength); in DECODER_FUNC() 657 const int src_uv_stride = srcBuffer->stride[VPX_PLANE_U]; in DECODER_FUNC() 663 src_base = reinterpret_cast<uint8_t*>(srcBuffer->planes[VPX_PLANE_U]); in DECODER_FUNC()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/vp9/src/main/jni/ |
D | vpx_jni.cc | 180 reinterpret_cast<uint16_t*>(img->planes[VPX_PLANE_U]); in convert_16_to_8_neon() 273 img->planes[VPX_PLANE_U] + img->stride[VPX_PLANE_U] * y); in convert_16_to_8_standard() 276 int8_t* destUBase = data + yLength + img->stride[VPX_PLANE_U] * y; in convert_16_to_8_standard() 565 img->stride[VPX_PLANE_Y], img->stride[VPX_PLANE_U], colorspace); in DECODER_FUNC() 577 const uint64_t uvLength = img->stride[VPX_PLANE_U] * uvHeight; in DECODER_FUNC() 594 memcpy(data + yLength, img->planes[VPX_PLANE_U], uvLength); in DECODER_FUNC() 657 const int src_uv_stride = srcBuffer->stride[VPX_PLANE_U]; in DECODER_FUNC() 663 src_base = reinterpret_cast<uint8_t*>(srcBuffer->planes[VPX_PLANE_U]); in DECODER_FUNC()
|
/external/libvpx/test/ |
D | encode_test_driver.cc | 147 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img() 148 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img()
|
/external/libvpx/examples/ |
D | vp8_multi_resolution_encoder.c | 96 : 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/libvpx/vp8/ |
D | vp8_dx_iface.c | 220 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image() 224 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image() 541 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig() 554 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
|
D | vp8_cx_iface.c | 751 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig() 764 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig() 1147 ctx->preview_img.planes[VPX_PLANE_U] = sd.u_buffer; in vp8e_get_preview() 1157 ctx->preview_img.stride[VPX_PLANE_U] = sd.uv_stride; in vp8e_get_preview()
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | libvpx_vp8_decoder.cc | 326 img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U], in ReturnFrame()
|
D | libvpx_vp8_encoder.cc | 185 raw_image->planes[VPX_PLANE_U] = in SetRawImagePlanes() 190 raw_image->stride[VPX_PLANE_U] = i420_buffer->StrideU(); in SetRawImagePlanes() 199 raw_image->planes[VPX_PLANE_U] = in SetRawImagePlanes() 201 raw_image->planes[VPX_PLANE_V] = raw_image->planes[VPX_PLANE_U] + 1; in SetRawImagePlanes() 203 raw_image->stride[VPX_PLANE_U] = nv12_buffer->StrideUV(); in SetRawImagePlanes() 998 raw_image_->planes[VPX_PLANE_U] = nullptr; in Encode()
|
/external/libvpx/vpx/ |
D | vpx_image.h | 97 #define VPX_PLANE_U 1 /**< U (Chroma) plane */ macro
|
/external/openscreen/cast/standalone_sender/ |
D | streaming_vpx_encoder.cc | 438 image->planes[VPX_PLANE_U], image->stride[VPX_PLANE_U]); in CloneAsVpxImage()
|