/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 …]
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_image.c | 139 surf->offset = align_u32(image->planes[plane].size, in add_surface() 145 if (image->planes[plane].size == 0) in add_surface() 146 image->planes[plane].offset = image->size; in add_surface() 150 image->planes[plane].size = (surf->offset + surf->isl.size_B) - image->planes[plane].offset; in add_surface() 153 image->planes[plane].alignment = MAX2(image->planes[plane].alignment, in add_surface() 296 assert(image->planes[plane].aux_usage != ISL_AUX_USAGE_NONE && in add_aux_state_tracking_buffer() 304 assert((image->planes[plane].offset + image->planes[plane].size) % 4 == 0); in add_aux_state_tracking_buffer() 308 assert(image->planes[plane].size == in add_aux_state_tracking_buffer() 309 (image->planes[plane].offset + image->planes[plane].size)); in add_aux_state_tracking_buffer() 312 (image->planes[plane].offset + image->planes[plane].size)); in add_aux_state_tracking_buffer() [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/include/ |
D | platform.h | 70 std::vector<DrmPlane *> *planes) = 0; 74 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { in PopPlane() argument 75 if (planes->empty()) in PopPlane() 77 DrmPlane *plane = planes->front(); in PopPlane() 78 planes->erase(planes->begin()); in PopPlane() 86 std::vector<DrmPlane *> *planes, in Emplace() argument 89 DrmPlane *plane = PopPlane(planes); in Emplace() 98 plane = PopPlane(planes); in Emplace() 103 planes->insert(planes->begin(), unused_planes.begin(), in Emplace() 148 std::vector<DrmPlane *> *planes); [all …]
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 35 void* planes[SkYUVASizeInfo::kMaxCount]; in getPlanes() local 38 planes[0] = (void*)data->data(); // we should always have at least one plane in getPlanes() 44 planes[i] = nullptr; in getPlanes() 48 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes() 68 planes[0] = data->writable_data(); in getPlanes() 74 planes[i] = nullptr; in getPlanes() 78 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes() 83 if (!this->onGetYUVA8Planes(yuvInfo.fSizeInfo, yuvInfo.fYUVAIndices, planes)) { in getPlanes() 94 constPlanes[0] = planes[0]; in getPlanes() 95 constPlanes[1] = planes[1]; in getPlanes() [all …]
|
/external/skqp/src/gpu/ |
D | GrYUVProvider.cpp | 32 void* planes[SkYUVASizeInfo::kMaxCount]; in getPlanes() local 35 planes[0] = (void*)data->data(); // we should always have at least one plane in getPlanes() 41 planes[i] = nullptr; in getPlanes() 45 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes() 65 planes[0] = data->writable_data(); in getPlanes() 71 planes[i] = nullptr; in getPlanes() 75 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes() 80 if (!this->onGetYUVA8Planes(yuvInfo.fSizeInfo, yuvInfo.fYUVAIndices, planes)) { in getPlanes() 91 constPlanes[0] = planes[0]; in getPlanes() 92 constPlanes[1] = planes[1]; in getPlanes() [all …]
|
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 278 static void extract_planes(const SkBitmap& bm, SkYUVColorSpace yuvColorSpace, PlaneData* planes) { in extract_planes() argument 282 planes->fYFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes() 283 planes->fUFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes() 284 planes->fVFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes() 285 planes->fAFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes() 286 planes->fUQuarter.allocPixels(SkImageInfo::MakeA8(bm.width()/2, bm.height()/2)); in extract_planes() 287 planes->fVQuarter.allocPixels(SkImageInfo::MakeA8(bm.width()/2, bm.height()/2)); in extract_planes() 304 *planes->fYFull.getAddr8(x, y) = yuva[0]; in extract_planes() 305 *planes->fUFull.getAddr8(x, y) = yuva[1]; in extract_planes() 306 *planes->fVFull.getAddr8(x, y) = yuva[2]; in extract_planes() [all …]
|
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | xplane_utils.cc | 33 for (const XPlane& plane : space.planes()) { in FindPlaneWithName() 42 for (const XPlane& plane : space.planes()) { in FindPlanesWithPrefix() 110 auto* planes = space->mutable_planes(); in RemovePlaneWithName() local 111 planes->erase( in RemovePlaneWithName() 112 std::remove_if(planes->begin(), planes->end(), in RemovePlaneWithName() 114 planes->end()); in RemovePlaneWithName() 118 auto* planes = space->mutable_planes(); in RemoveEmptyPlanes() local 119 planes->erase(std::remove_if(planes->begin(), planes->end(), in RemoveEmptyPlanes() 123 planes->end()); in RemoveEmptyPlanes()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | array4d.h | 58 Array4D(int64 planes, int64 depth, int64 height, int64 width) in Array4D() argument 59 : Array<T>(std::vector<int64>{planes, depth, height, width}) {} in Array4D() 62 Array4D(int64 planes, int64 depth, int64 height, int64 width, T value) in Array4D() argument 63 : Array<T>(std::vector<int64>{planes, depth, height, width}, value) {} in Array4D() 71 Array4D(int64 planes, int64 depth, int64 height, int64 width, in Array4D() argument 73 : Array4D(planes, depth, height, width) { in Array4D() 106 int64 planes() const { return this->dim(0); } in planes() function 112 for (int64 plane = 0; plane < planes(); ++plane) { in FillWithYX() 127 for (int64 plane = 0; plane < planes(); ++plane) { in FillWithZY() 140 CHECK_EQ(value.height(), planes()); in FillWithPZ() [all …]
|
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 431 static void extract_planes(const SkBitmap& bm, SkYUVColorSpace yuvColorSpace, PlaneData* planes) { in extract_planes() argument 439 planes->fYFull.allocPixels( in extract_planes() 441 planes->fUFull.allocPixels( in extract_planes() 443 planes->fVFull.allocPixels( in extract_planes() 445 planes->fAFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes() 446 planes->fUQuarter.allocPixels(SkImageInfo::Make(bm.width()/2, bm.height()/2, in extract_planes() 448 planes->fVQuarter.allocPixels(SkImageInfo::Make(bm.width()/2, bm.height()/2, in extract_planes() 451 planes->fFull.allocPixels( in extract_planes() 453 planes->fQuarter.allocPixels(SkImageInfo::Make(bm.width()/2, bm.height()/2, in extract_planes() 459 SkColor4f* dst = (SkColor4f *) planes->fFull.getAddr(0, 0); in extract_planes() [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9_iface_common.c | 47 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image() 48 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image() 49 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image() 50 img->planes[VPX_PLANE_ALPHA] = NULL; in yuvconfig2image() 61 img->planes[VPX_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image() 62 img->planes[VPX_PLANE_U] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image() 63 img->planes[VPX_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer); in yuvconfig2image() 64 img->planes[VPX_PLANE_ALPHA] = NULL; in yuvconfig2image() 80 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig() 81 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig() [all …]
|
/external/libdrm/tests/util/ |
D | pattern.c | 681 static void fill_smpte(const struct util_format_info *info, void *planes[3], in fill_smpte() 689 return fill_smpte_c8(planes[0], width, height, stride); in fill_smpte() 694 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte() 701 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_smpte() 702 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_smpte() 703 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v, in fill_smpte() 707 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1], in fill_smpte() 708 planes[2], width, height, stride); in fill_smpte() 711 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], in fill_smpte() 712 planes[1], width, height, stride); in fill_smpte() [all …]
|
/external/v4l2_codec2/accel/ |
D | video_frame_layout.cc | 35 std::vector<ColorPlaneLayout> planes(strides.size()); in PlanesFromStrides() local 37 planes[i].stride = strides[i]; in PlanesFromStrides() 39 return planes; in PlanesFromStrides() 108 std::vector<ColorPlaneLayout> planes, in CreateWithPlanes() argument 116 return VideoFrameLayout(format, coded_size, std::move(planes), in CreateWithPlanes() 124 std::vector<ColorPlaneLayout> planes, in CreateMultiPlanar() argument 132 return VideoFrameLayout(format, coded_size, std::move(planes), in CreateMultiPlanar() 139 std::vector<ColorPlaneLayout> planes, in VideoFrameLayout() argument 145 planes_(std::move(planes)), in VideoFrameLayout() 172 << VectorToString(layout.planes()) in operator <<()
|
/external/libvpx/libvpx/ |
D | tools_common.c | 105 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V in read_yuv_frame() 110 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U in read_yuv_frame() 113 default: ptr = yuv_frame->planes[plane]; in read_yuv_frame() 229 const unsigned char *buf = img->planes[plane]; in vpx_img_write() 247 unsigned char *buf = img->planes[plane]; in vpx_img_read() 387 (uint16_t *)(src->planes[plane] + y * src->stride[plane]); in highbd_img_upshift() 389 (uint16_t *)(dst->planes[plane] + y * dst->stride[plane]); in highbd_img_upshift() 422 uint8_t *p_src = src->planes[plane] + y * src->stride[plane]; in lowbd_img_upshift() 424 (uint16_t *)(dst->planes[plane] + y * dst->stride[plane]); in lowbd_img_upshift() 464 (uint16_t *)(src->planes[plane] + y * src->stride[plane]); in vpx_img_truncate_16_to_8() [all …]
|
/external/skqp/src/core/ |
D | SkYUVASizeInfo.cpp | 11 void SkYUVASizeInfo::computePlanes(void* base, void* planes[SkYUVASizeInfo::kMaxCount]) const { in computePlanes() 12 planes[0] = base; in computePlanes() 18 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); in computePlanes() 21 planes[i] = nullptr; in computePlanes()
|
/external/libaom/libaom/common/ |
D | rawenc.c | 65 const int *planes, const int num_planes, in raw_write_image_file_or_md5() argument 70 const int plane = planes[i]; in raw_write_image_file_or_md5() 79 const unsigned char *buf = img->planes[plane]; in raw_write_image_file_or_md5() 88 void raw_write_image_file(const aom_image_t *img, const int *planes, in raw_write_image_file() argument 90 raw_write_image_file_or_md5(img, planes, num_planes, file, write_file); in raw_write_image_file() 93 void raw_update_image_md5(const aom_image_t *img, const int *planes, in raw_update_image_md5() argument 95 raw_write_image_file_or_md5(img, planes, num_planes, md5, write_md5); in raw_update_image_md5()
|
D | tools_common.c | 98 yuv_frame->planes[yuv_frame->fmt == AOM_IMG_FMT_YV12 ? AOM_PLANE_V in read_yuv_frame() 103 yuv_frame->planes[yuv_frame->fmt == AOM_IMG_FMT_YV12 ? AOM_PLANE_U in read_yuv_frame() 106 default: ptr = yuv_frame->planes[plane]; in read_yuv_frame() 197 const unsigned char *buf = img->planes[plane]; in aom_img_write() 215 unsigned char *buf = img->planes[plane]; in aom_img_read() 271 (const uint16_t *)(src->planes[plane] + y * src->stride[plane]); in highbd_img_upshift() 273 (uint16_t *)(dst->planes[plane] + y * dst->stride[plane]); in highbd_img_upshift() 306 const uint8_t *p_src = src->planes[plane] + y * src->stride[plane]; in lowbd_img_upshift() 308 (uint16_t *)(dst->planes[plane] + y * dst->stride[plane]); in lowbd_img_upshift() 348 (const uint16_t *)(src->planes[plane] + y * src->stride[plane]); in aom_img_truncate_16_to_8() [all …]
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | planes.cc | 40 std::unique_ptr<Planes> planes(new Planes()); // NOLINT in FromPlaneArray() local 41 std::swap(*plane_list, planes->plane_list_); in FromPlaneArray() 42 return planes; in FromPlaneArray() 48 std::unique_ptr<Planes> planes(new Planes()); // NOLINT in FromDeserializer() local 61 planes->plane_list_.push_back(std::move(plane)); in FromDeserializer() 68 if (planes->plane_list_.empty()) { in FromDeserializer() 71 return planes; in FromDeserializer()
|
/external/libdrm/tests/kms/ |
D | libkms-test-device.c | 137 device->planes = calloc(res->count_planes, sizeof(plane)); in kms_device_probe_planes() 138 if (!device->planes) in kms_device_probe_planes() 142 plane = kms_plane_create(device, res->planes[i]); in kms_device_probe_planes() 146 device->planes[i] = plane; in kms_device_probe_planes() 181 kms_plane_free(device->planes[i]); in kms_device_close() 183 free(device->planes); in kms_device_close() 208 if (device->planes[i]->type == type) { in kms_device_find_plane_by_type() 210 return device->planes[i]; in kms_device_find_plane_by_type()
|
/external/libaom/libaom/av1/ |
D | av1_iface_common.h | 54 img->planes[AOM_PLANE_Y] = yv12->y_buffer; in yuvconfig2image() 55 img->planes[AOM_PLANE_U] = yv12->u_buffer; in yuvconfig2image() 56 img->planes[AOM_PLANE_V] = yv12->v_buffer; in yuvconfig2image() 66 img->planes[AOM_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image() 67 img->planes[AOM_PLANE_U] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image() 68 img->planes[AOM_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer); in yuvconfig2image() 85 yv12->y_buffer = img->planes[AOM_PLANE_Y]; in image2yuvconfig() 86 yv12->u_buffer = img->planes[AOM_PLANE_U]; in image2yuvconfig() 87 yv12->v_buffer = img->planes[AOM_PLANE_V]; in image2yuvconfig()
|
/external/skia/src/core/ |
D | SkYUVASizeInfo.cpp | 25 void SkYUVASizeInfo::computePlanes(void* base, void* planes[SkYUVASizeInfo::kMaxCount]) const { in computePlanes() 26 planes[0] = base; in computePlanes() 32 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); in computePlanes() 35 planes[i] = nullptr; in computePlanes()
|
/external/libvpx/libvpx/vpx/src/ |
D | vpx_image.c | 159 img->planes[VPX_PLANE_PACKED] = in vpx_img_set_rect() 167 img->planes[VPX_PLANE_ALPHA] = in vpx_img_set_rect() 172 img->planes[VPX_PLANE_Y] = in vpx_img_set_rect() 177 img->planes[VPX_PLANE_U] = in vpx_img_set_rect() 181 img->planes[VPX_PLANE_V] = in vpx_img_set_rect() 185 img->planes[VPX_PLANE_V] = in vpx_img_set_rect() 189 img->planes[VPX_PLANE_U] = in vpx_img_set_rect() 206 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y]; in vpx_img_flip() 209 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip() 213 img->planes[VPX_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip() [all …]
|