/external/dng_sdk/source/ |
D | dng_bottlenecks.h | 57 uint32 planes, 67 uint32 planes, 77 uint32 planes, 89 uint32 planes, 102 uint32 planes, 115 uint32 planes, 128 uint32 planes, 141 uint32 planes, 154 uint32 planes, 167 uint32 planes, [all …]
|
D | dng_pixel_buffer.cpp | 366 uint32 planes, in dng_pixel_buffer() argument 373 , fPlanes (planes) in dng_pixel_buffer() 544 uint32 planes, in SetConstant() argument 563 planes, in SetConstant() 577 DoZeroBytes (dPtr, planes); in SetConstant() 588 planes, in SetConstant() 605 DoZeroBytes (dPtr, planes << 1); in SetConstant() 616 planes, in SetConstant() 633 DoZeroBytes (dPtr, planes << 2); in SetConstant() 644 planes, in SetConstant() [all …]
|
D | dng_reference.h | 46 uint32 planes, 55 uint32 planes, 64 uint32 planes, 75 uint32 planes, 87 uint32 planes, 99 uint32 planes, 111 uint32 planes, 123 uint32 planes, 135 uint32 planes, 147 uint32 planes, [all …]
|
D | dng_pixel_buffer.h | 180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes, 505 uint32 planes, 516 uint32 planes, in SetConstant_uint8() argument 522 SetConstant (area, plane, planes, (uint32) value); in SetConstant_uint8() 534 uint32 planes, in SetConstant_uint16() argument 540 SetConstant (area, plane, planes, (uint32) value); in SetConstant_uint16() 552 uint32 planes, in SetConstant_int16() argument 558 SetConstant (area, plane, planes, (uint32) (uint16) value); in SetConstant_int16() 570 uint32 planes, in SetConstant_uint32() argument 576 SetConstant (area, plane, planes, value); in SetConstant_uint32() [all …]
|
D | dng_reference.cpp | 88 uint32 planes, in RefSetArea8() argument 104 for (uint32 plane = 0; plane < planes; plane++) in RefSetArea8() 129 uint32 planes, in RefSetArea16() argument 145 for (uint32 plane = 0; plane < planes; plane++) in RefSetArea16() 170 uint32 planes, in RefSetArea32() argument 186 for (uint32 plane = 0; plane < planes; plane++) in RefSetArea32() 211 uint32 planes, in RefCopyArea8() argument 232 for (uint32 plane = 0; plane < planes; plane++) in RefCopyArea8() 260 uint32 planes, in RefCopyArea16() argument 281 for (uint32 plane = 0; plane < planes; plane++) in RefCopyArea16() [all …]
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | YUVImage.java | 147 public YUVImage(byte[][] planes, int[] offsets, int width, int[] strides, in YUVImage() argument 149 setBuf(planes, offsets, width, strides, height, subsamp, false); in YUVImage() 211 public void setBuf(byte[][] planes, int[] offsets, int width, int strides[], in setBuf() argument 213 setBuf(planes, offsets, width, strides, height, subsamp, false); in setBuf() 216 private void setBuf(byte[][] planes, int[] offsets, int width, int strides[], in setBuf() argument 218 if ((planes == null && !alloc) || width < 1 || height < 1 || subsamp < 0 || in setBuf() 223 if ((planes != null && planes.length != nc) || in setBuf() 228 if (planes == null) in setBuf() 229 planes = new byte[nc][]; in setBuf() 245 planes[i] = new byte[strides[i] * ph]; in setBuf() [all …]
|
/external/drm_hwcomposer/ |
D | platform.cpp | 44 std::vector<DrmPlane *> planes = in ProvisionPlanes() local 46 if (planes.empty()) { in ProvisionPlanes() 54 if (!planes.empty()) { in ProvisionPlanes() 55 squash_plane = planes.back(); in ProvisionPlanes() 56 planes.pop_back(); in ProvisionPlanes() 64 if (layers.size() > planes.size()) { in ProvisionPlanes() 65 if (!planes.empty()) { in ProvisionPlanes() 66 precomp_plane = planes.back(); in ProvisionPlanes() 67 planes.pop_back(); in ProvisionPlanes() 77 int ret = i->ProvisionPlanes(&composition, layers, crtc, &planes); in ProvisionPlanes() [all …]
|
D | platform.h | 68 std::vector<DrmPlane *> *planes) = 0; 72 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { in PopPlane() argument 73 if (planes->empty()) in PopPlane() 75 DrmPlane *plane = planes->front(); in PopPlane() 76 planes->erase(planes->begin()); in PopPlane() 92 std::vector<DrmPlane *> *planes, in Emplace() argument 95 DrmPlane *plane = PopPlane(planes); in Emplace() 156 std::vector<DrmPlane *> *planes); 168 std::vector<DrmPlane *> *planes); 178 std::vector<DrmPlane *> *planes);
|
D | platformnv.cpp | 213 std::vector<DrmPlane *> *planes) { in GetCrtcPrimaryPlane() argument 214 for (auto i = planes->begin(); i != planes->end(); ++i) { in GetCrtcPrimaryPlane() 217 planes->erase(i); in GetCrtcPrimaryPlane() 227 std::vector<DrmPlane *> *planes) { in ProvisionPlanes() argument 236 auto primary_iter = planes->begin(); in ProvisionPlanes() 237 for (; primary_iter != planes->end(); ++primary_iter) { in ProvisionPlanes() 246 if (primary_iter != planes->end()) { in ProvisionPlanes() 250 planes->erase(primary_iter); in ProvisionPlanes() 275 if (planes->size()) { in ProvisionPlanes() 276 DrmPlane *precomp_plane = planes->back(); in ProvisionPlanes() [all …]
|
/external/skqp/src/gpu/ |
D | GrYUVProvider.cpp | 24 void* planes[3]) { in init_provider() 29 planes[0] = (void*)data->data(); in init_provider() 30 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] * in init_provider() 32 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] * in init_provider() 46 planes[0] = data->writable_data(); in init_provider() 47 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] * in init_provider() 49 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] * in init_provider() 53 if (!provider->onGetYUV8Planes(yuvInfo->fSizeInfo, planes)) { in init_provider() 67 void* planes[3]; in refAsTextureProxy() local 69 sk_sp<SkCachedData> dataStorage = init_provider(this, &yuvInfo, planes); in refAsTextureProxy() [all …]
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 25 void* planes[3]) { in init_provider() 30 planes[0] = (void*)data->data(); in init_provider() 31 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] * in init_provider() 33 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] * in init_provider() 47 planes[0] = data->writable_data(); in init_provider() 48 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] * in init_provider() 50 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] * in init_provider() 54 if (!provider->onGetYUV8Planes(yuvInfo->fSizeInfo, planes)) { in init_provider() 74 void* planes[3]; in refAsTextureProxy() local 76 sk_sp<SkCachedData> dataStorage = init_provider(this, &yuvInfo, planes); in refAsTextureProxy() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | array4d.h | 60 Array4D(int64 planes, int64 depth, int64 height, int64 width) in Array4D() argument 61 : Array<T>(std::vector<int64>{planes, depth, height, width}) {} in Array4D() 64 Array4D(int64 planes, int64 depth, int64 height, int64 width, T value) in Array4D() argument 65 : Array<T>(std::vector<int64>{planes, depth, height, width}, value) {} in Array4D() 73 Array4D(int64 planes, int64 depth, int64 height, int64 width, in Array4D() argument 75 : Array4D(planes, depth, height, width) { in Array4D() 105 int64 planes() const { return this->dim(0); } in planes() function 111 for (int64 plane = 0; plane < planes(); ++plane) { in FillWithYX() 124 CHECK_EQ(value.height(), planes()); in FillWithPZ() 128 for (int64 plane = 0; plane < planes(); ++plane) { in FillWithPZ() [all …]
|
/external/libdrm/tests/util/ |
D | pattern.c | 464 static void fill_smpte(const struct util_format_info *info, void *planes[3], in fill_smpte() 475 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte() 482 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_smpte() 483 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_smpte() 484 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v, in fill_smpte() 488 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1], in fill_smpte() 489 planes[2], width, height, stride); in fill_smpte() 492 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], in fill_smpte() 493 planes[1], width, height, stride); in fill_smpte() 513 return fill_smpte_rgb16(&info->rgb, planes[0], in fill_smpte() [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9_iface_common.h | 50 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image() 51 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image() 52 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image() 53 img->planes[VPX_PLANE_ALPHA] = NULL; in yuvconfig2image() 64 img->planes[VPX_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image() 65 img->planes[VPX_PLANE_U] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image() 66 img->planes[VPX_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer); in yuvconfig2image() 67 img->planes[VPX_PLANE_ALPHA] = NULL; in yuvconfig2image() 83 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig() 84 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig() [all …]
|
/external/libvpx/libvpx/examples/ |
D | vp9cx_set_ref.c | 85 match &= (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], in compare_img() 86 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img() 90 match &= (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img() 91 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img() 95 match &= (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V], in compare_img() 96 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img() 123 if (*(img1->planes[VPX_PLANE_Y] + in find_mismatch() 125 *(img2->planes[VPX_PLANE_Y] + in find_mismatch() 129 yloc[2] = *(img1->planes[VPX_PLANE_Y] + in find_mismatch() 131 yloc[3] = *(img2->planes[VPX_PLANE_Y] + in find_mismatch() [all …]
|
/external/libdrm/tests/kms/ |
D | libkms-test-device.c | 139 device->planes = calloc(res->count_planes, sizeof(plane)); in kms_device_probe_planes() 140 if (!device->planes) in kms_device_probe_planes() 144 plane = kms_plane_create(device, res->planes[i]); in kms_device_probe_planes() 148 device->planes[i] = plane; in kms_device_probe_planes() 182 kms_plane_free(device->planes[i]); in kms_device_close() 184 free(device->planes); in kms_device_close() 209 if (device->planes[i]->type == type) { in kms_device_find_plane_by_type() 211 return device->planes[i]; in kms_device_find_plane_by_type()
|
/external/libvpx/libvpx/vpx/src/ |
D | vpx_image.c | 178 img->planes[VPX_PLANE_PACKED] = in vpx_img_set_rect() 186 img->planes[VPX_PLANE_ALPHA] = in vpx_img_set_rect() 191 img->planes[VPX_PLANE_Y] = in vpx_img_set_rect() 196 img->planes[VPX_PLANE_U] = in vpx_img_set_rect() 200 img->planes[VPX_PLANE_V] = in vpx_img_set_rect() 204 img->planes[VPX_PLANE_V] = in vpx_img_set_rect() 208 img->planes[VPX_PLANE_U] = in vpx_img_set_rect() 225 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y]; in vpx_img_flip() 228 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip() 232 img->planes[VPX_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip() [all …]
|
/external/ImageMagick/coders/ |
D | pcx.c | 89 planes; member 354 pcx_info.planes=(unsigned char) ReadBlobByte(image); in ReadPCXImage() 355 if ((pcx_info.bits_per_pixel*pcx_info.planes) >= 64) in ReadPCXImage() 358 if ((pcx_info.bits_per_pixel != 8) || (pcx_info.planes == 1)) in ReadPCXImage() 360 ((pcx_info.bits_per_pixel*pcx_info.planes) == 1)) in ReadPCXImage() 362 (pcx_info.bits_per_pixel*pcx_info.planes)),256UL); in ReadPCXImage() 365 if ((pcx_info.bits_per_pixel >= 8) && (pcx_info.planes != 1)) in ReadPCXImage() 392 if (HeapOverflowSanityCheck(pcx_packets, (size_t)pcx_info.planes) != MagickFalse) in ReadPCXImage() 394 pcx_packets=(size_t) pcx_packets*pcx_info.planes; in ReadPCXImage() 395 if ((size_t) (pcx_info.bits_per_pixel*pcx_info.planes*image->columns) > in ReadPCXImage() [all …]
|
/external/libdrm/tests/modetest/ |
D | buffers.c | 137 void *planes[3] = { 0, }; in bo_create() local 247 planes[0] = virtual; in bo_create() 261 planes[0] = virtual; in bo_create() 262 planes[1] = virtual + offsets[1]; in bo_create() 277 planes[0] = virtual; in bo_create() 278 planes[1] = virtual + offsets[1]; in bo_create() 279 planes[2] = virtual + offsets[2]; in bo_create() 322 planes[0] = virtual; in bo_create() 326 util_fill_pattern(format, pattern, planes, width, height, pitches[0]); in bo_create()
|
/external/libvpx/libvpx/ |
D | tools_common.c | 97 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V in read_yuv_frame() 102 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U in read_yuv_frame() 105 default: ptr = yuv_frame->planes[plane]; in read_yuv_frame() 223 const unsigned char *buf = img->planes[plane]; in vpx_img_write() 241 unsigned char *buf = img->planes[plane]; in vpx_img_read() 299 (uint16_t *)(src->planes[plane] + y * src->stride[plane]); in highbd_img_upshift() 301 (uint16_t *)(dst->planes[plane] + y * dst->stride[plane]); in highbd_img_upshift() 334 uint8_t *p_src = src->planes[plane] + y * src->stride[plane]; in lowbd_img_upshift() 336 (uint16_t *)(dst->planes[plane] + y * dst->stride[plane]); in lowbd_img_upshift() 376 (uint16_t *)(src->planes[plane] + y * src->stride[plane]); in vpx_img_truncate_16_to_8() [all …]
|
/external/libdrm/tests/planetest/ |
D | dev.c | 229 dev->planes = calloc(dev->num_planes, sizeof(struct sp_plane)); in create_sp_dev() 232 struct sp_plane *plane = &dev->planes[i]; in create_sp_dev() 235 plane->plane = drmModeGetPlane(dev->fd, pr->planes[i]); in create_sp_dev() 254 props = drmModeObjectGetProperties(dev->fd, pr->planes[i], in create_sp_dev() 332 if (dev->planes) { in destroy_sp_dev() 334 if (dev->planes[i].in_use) in destroy_sp_dev() 335 put_sp_plane(&dev->planes[i]); in destroy_sp_dev() 336 if (dev->planes[i].plane) in destroy_sp_dev() 337 drmModeFreePlane(dev->planes[i].plane); in destroy_sp_dev() 338 if (dev->planes[i].bo) in destroy_sp_dev() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_thread_common.c | 90 struct macroblockd_plane planes[MAX_MB_PLANE], int start, int stop, in thread_loop_filter_rows() 98 else if (planes[1].subsampling_y == 1 && planes[1].subsampling_x == 1) in thread_loop_filter_rows() 100 else if (planes[1].subsampling_y == 0 && planes[1].subsampling_x == 0) in thread_loop_filter_rows() 117 vp9_setup_dst_planes(planes, frame_buffer, mi_row, mi_col); in thread_loop_filter_rows() 121 vp9_filter_block_plane_ss00(cm, &planes[0], mi_row, lfm); in thread_loop_filter_rows() 125 vp9_filter_block_plane_ss11(cm, &planes[plane], mi_row, lfm); in thread_loop_filter_rows() 128 vp9_filter_block_plane_ss00(cm, &planes[plane], mi_row, lfm); in thread_loop_filter_rows() 131 vp9_filter_block_plane_non420(cm, &planes[plane], mi + mi_col, in thread_loop_filter_rows() 146 thread_loop_filter_rows(lf_data->frame_buffer, lf_data->cm, lf_data->planes, in loop_filter_row_worker() 153 struct macroblockd_plane planes[MAX_MB_PLANE], in loop_filter_rows_mt() [all …]
|
/external/skqp/tests/ |
D | YUVTest.cpp | 64 void* planes[3]; in codec_yuv() local 65 planes[0] = storage.get(); in codec_yuv() 66 planes[1] = SkTAddOffset<void>(planes[0], in codec_yuv() 68 planes[2] = SkTAddOffset<void>(planes[1], in codec_yuv() 75 codec->getYUV8Planes(info, planes)); in codec_yuv()
|
/external/skia/tests/ |
D | YUVTest.cpp | 64 void* planes[3]; in codec_yuv() local 65 planes[0] = storage.get(); in codec_yuv() 66 planes[1] = SkTAddOffset<void>(planes[0], in codec_yuv() 68 planes[2] = SkTAddOffset<void>(planes[1], in codec_yuv() 75 codec->getYUV8Planes(info, planes)); in codec_yuv()
|
/external/skqp/src/core/ |
D | SkImageGenerator.cpp | 46 bool SkImageGenerator::getYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in getYUV8Planes() 59 SkASSERT(planes && planes[0] && planes[1] && planes[2]); in getYUV8Planes() 61 return this->onGetYUV8Planes(sizeInfo, planes); in getYUV8Planes()
|