/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
D | vp9_iface_common.h | 37 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image() 38 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image() 39 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image() 40 img->planes[VPX_PLANE_ALPHA] = yv12->alpha_buffer; in yuvconfig2image() 55 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig() 56 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig() 57 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig() 58 yv12->alpha_buffer = img->planes[VPX_PLANE_ALPHA]; in image2yuvconfig()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
D | vpx_image.c | 210 img->planes[VPX_PLANE_PACKED] = in vpx_img_set_rect() 216 img->planes[VPX_PLANE_ALPHA] = in vpx_img_set_rect() 221 img->planes[VPX_PLANE_Y] = data + x + y * img->stride[VPX_PLANE_Y]; in vpx_img_set_rect() 225 img->planes[VPX_PLANE_U] = data in vpx_img_set_rect() 229 img->planes[VPX_PLANE_V] = data in vpx_img_set_rect() 233 img->planes[VPX_PLANE_V] = data in vpx_img_set_rect() 237 img->planes[VPX_PLANE_U] = data in vpx_img_set_rect() 256 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y]; in vpx_img_flip() 259 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) in vpx_img_flip() 263 img->planes[VPX_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1) in vpx_img_flip() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
D | vp8_multi_resolution_encoder.c | 74 nbytes = fread(img->planes[0], 1, to_read, f); in read_frame() 102 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12? VPX_PLANE_V : VPX_PLANE_U]; in read_frame_by_row() 105 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12?VPX_PLANE_U : VPX_PLANE_V]; in read_frame_by_row() 108 ptr = img->planes[plane]; in read_frame_by_row() 377 I420Scale(raw[i-1].planes[VPX_PLANE_Y], raw[i-1].stride[VPX_PLANE_Y], in main() 378 raw[i-1].planes[VPX_PLANE_U], raw[i-1].stride[VPX_PLANE_U], in main() 379 raw[i-1].planes[VPX_PLANE_V], raw[i-1].stride[VPX_PLANE_V], in main() 381 raw[i].planes[VPX_PLANE_Y], raw[i].stride[VPX_PLANE_Y], in main() 382 raw[i].planes[VPX_PLANE_U], raw[i].stride[VPX_PLANE_U], in main() 383 raw[i].planes[VPX_PLANE_V], raw[i].stride[VPX_PLANE_V], in main()
|
D | decode_to_md5.c | 53 const unsigned char *buf = img->planes[plane]; in get_image_md5()
|
D | decode_with_partial_drops.c | 311 unsigned char *buf =img->planes[plane]; in main()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | encode_test_driver.cc | 117 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], in compare_img() 118 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img() 123 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img() 124 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img() 127 match = (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V], in compare_img() 128 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img()
|
D | util.h | 35 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] - in compute_psnr() 36 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j]; in compute_psnr()
|
D | md5_helper.h | 26 const uint8_t *buf = img->planes[plane]; in Add()
|
D | external_frame_buffer_test.cc | 115 ASSERT_TRUE(img->planes[0] >= ext_fb->data && in CheckXImageFrameBuffer() 116 img->planes[0] < (ext_fb->data + ext_fb->size)); in CheckXImageFrameBuffer()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | vpxdec.c | 125 return I420Scale(src->planes[VPX_PLANE_Y], src->stride[VPX_PLANE_Y], in vpx_image_scale() 126 src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U], in vpx_image_scale() 127 src->planes[VPX_PLANE_V], src->stride[VPX_PLANE_V], in vpx_image_scale() 129 dst->planes[VPX_PLANE_Y], dst->stride[VPX_PLANE_Y], in vpx_image_scale() 130 dst->planes[VPX_PLANE_U], dst->stride[VPX_PLANE_U], in vpx_image_scale() 131 dst->planes[VPX_PLANE_V], dst->stride[VPX_PLANE_V], in vpx_image_scale() 237 static void update_image_md5(const vpx_image_t *img, const int planes[3], in update_image_md5() 242 const int plane = planes[i]; in update_image_md5() 243 const unsigned char *buf = img->planes[plane]; in update_image_md5() 255 static void write_image_file(const vpx_image_t *img, const int planes[3], in write_image_file() [all …]
|
D | tools_common.c | 99 ptr = yuv_frame->planes[ in read_yuv_frame() 103 ptr = yuv_frame->planes[ in read_yuv_frame() 107 ptr = yuv_frame->planes[plane]; in read_yuv_frame() 224 const unsigned char *buf = img->planes[plane]; in vpx_img_write() 241 unsigned char *buf = img->planes[plane]; in vpx_img_read()
|
D | vpxenc.c | 489 if (*(img1->planes[VPX_PLANE_Y] + in find_mismatch() 491 *(img2->planes[VPX_PLANE_Y] + in find_mismatch() 495 yloc[2] = *(img1->planes[VPX_PLANE_Y] + in find_mismatch() 497 yloc[3] = *(img2->planes[VPX_PLANE_Y] + in find_mismatch() 515 if (*(img1->planes[VPX_PLANE_U] + in find_mismatch() 517 *(img2->planes[VPX_PLANE_U] + in find_mismatch() 521 uloc[2] = *(img1->planes[VPX_PLANE_U] + in find_mismatch() 523 uloc[3] = *(img2->planes[VPX_PLANE_U] + in find_mismatch() 540 if (*(img1->planes[VPX_PLANE_V] + in find_mismatch() 542 *(img2->planes[VPX_PLANE_V] + in find_mismatch() [all …]
|
D | y4minput.c | 936 _img->planes[PLANE_Y] = _y4m->dst_buf; in y4m_input_fetch_frame() 937 _img->planes[PLANE_U] = _y4m->dst_buf + pic_sz; in y4m_input_fetch_frame() 938 _img->planes[PLANE_V] = _y4m->dst_buf + pic_sz + c_sz; in y4m_input_fetch_frame() 939 _img->planes[PLANE_ALPHA] = _y4m->dst_buf + pic_sz + 2 * c_sz; in y4m_input_fetch_frame()
|
/hardware/qcom/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 237 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef() 238 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef() 239 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef() 240 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef() 242 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef() 243 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef() 244 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef() 245 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef() 246 bufDef.planes_buf.planes[i-1].reserved[0] + in getBufDef() 247 bufDef.planes_buf.planes[i-1].length; in getBufDef()
|
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield/ |
D | Android.mk | 44 ../../common/planes/DisplayPlane.cpp \ 45 ../../common/planes/DisplayPlaneManager.cpp \ 108 $(LOCAL_PATH)/../../common/planes \
|
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield_plus/ |
D | Android.mk | 44 ../../common/planes/DisplayPlane.cpp \ 45 ../../common/planes/DisplayPlaneManager.cpp \ 111 $(LOCAL_PATH)/../../common/planes \
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ |
D | Android.mk | 52 common/planes/DisplayPlane.cpp \ 53 common/planes/DisplayPlaneManager.cpp \
|
/hardware/qcom/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 245 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef() 246 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef() 247 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef() 248 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef() 250 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef() 251 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef() 252 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef() 253 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef() 254 bufDef.planes_buf.planes[i-1].reserved[0] + in getBufDef() 255 bufDef.planes_buf.planes[i-1].length; in getBufDef()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/ |
D | vp8_dx_iface.c | 300 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image() 301 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image() 302 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image() 303 img->planes[VPX_PLANE_ALPHA] = NULL; in yuvconfig2image() 710 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig() 711 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig() 712 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
|
D | vp8_cx_iface.c | 682 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig() 683 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig() 684 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig() 1073 ctx->preview_img.planes[VPX_PLANE_Y] = sd.y_buffer; in vp8e_get_preview() 1074 ctx->preview_img.planes[VPX_PLANE_U] = sd.u_buffer; in vp8e_get_preview() 1075 ctx->preview_img.planes[VPX_PLANE_V] = sd.v_buffer; in vp8e_get_preview()
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 255 frame->planes_buf.planes[i].data_offset, frame->planes_buf.planes[i].length); in mm_app_dump_frame() 258 frame->planes_buf.planes[i].length); in mm_app_dump_frame() 259 offset += (int)frame->planes_buf.planes[i].length; in mm_app_dump_frame() 317 app_bufs[i].buf.planes_buf.planes[0].length = frame_offset_info->mp[0].len; in mm_app_alloc_bufs() 318 app_bufs[i].buf.planes_buf.planes[0].m.userptr = in mm_app_alloc_bufs() 320 app_bufs[i].buf.planes_buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs() 321 app_bufs[i].buf.planes_buf.planes[0].reserved[0] = 0; in mm_app_alloc_bufs() 323 app_bufs[i].buf.planes_buf.planes[j].length = frame_offset_info->mp[j].len; in mm_app_alloc_bufs() 324 app_bufs[i].buf.planes_buf.planes[j].m.userptr = in mm_app_alloc_bufs() 326 app_bufs[i].buf.planes_buf.planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_app_alloc_bufs() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/ |
D | vpx_image.h | 127 unsigned char *planes[4]; /**< pointer to the top left pixel for each plane */ member
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1234 struct v4l2_plane planes[VIDEO_MAX_PLANES]; in mm_stream_read_msm_frame() local 1241 vb.m.planes = &planes[0]; in mm_stream_read_msm_frame() 1436 struct v4l2_plane planes[VIDEO_MAX_PLANES]; in mm_stream_qbuf() local 1444 memset(&planes, 0, sizeof(planes)); in mm_stream_qbuf() 1445 planes[0].length = my_obj->stream_info->user_buf_info.size; in mm_stream_qbuf() 1446 planes[0].m.userptr = buf->fd; in mm_stream_qbuf() 1449 memcpy(planes, buf->planes_buf.planes, sizeof(planes)); in mm_stream_qbuf() 1455 buf->planes_buf.planes[0].reserved[0], in mm_stream_qbuf() 1456 buf->planes_buf.planes[0].data_offset); in mm_stream_qbuf() 1460 buf->planes_buf.planes[1].reserved[0], in mm_stream_qbuf() [all …]
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device_copper.cpp | 189 v4l2_buf.m.planes = &plane; in async_venc_message_thread() 198 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 199 venc_msg.buf.offset = v4l2_buf.m.planes->reserved[1]; in async_venc_message_thread() 206 v4l2_buf.m.planes = &plane; in async_venc_message_thread() 1457 buf.m.planes = &plane; in venc_use_buf() 1484 buf.m.planes = &plane; in venc_use_buf() 1605 buf.m.planes = &plane; in venc_empty_buf() 1687 buf.m.planes = &plane; in venc_fill_buf()
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderVP9HWR.cpp | 609 const uint8_t *srcLine = (const uint8_t *)img->planes[PLANE_Y]; in FillRenderBuffer() 618 srcLine = (const uint8_t *)img->planes[PLANE_U]; in FillRenderBuffer() 626 srcLine = (const uint8_t *)img->planes[PLANE_V]; in FillRenderBuffer()
|