Home
last modified time | relevance | path

Searched refs:planes (Results 1 – 25 of 273) sorted by relevance

1234567891011

/external/mesa3d/src/intel/vulkan/
Danv_image.c127 return &image->planes[plane].surface; in get_surface()
136 surf->offset = align_u32(image->planes[plane].size, surf->isl.alignment); in add_surface()
141 if (image->planes[plane].size == 0) in add_surface()
142 image->planes[plane].offset = image->size; in add_surface()
146 image->planes[plane].size = (surf->offset + surf->isl.size) - image->planes[plane].offset; in add_surface()
149 image->planes[plane].alignment = MAX2(image->planes[plane].alignment, in add_surface()
235 assert(image->planes[plane].aux_surface.isl.size > 0 && in add_fast_clear_state_buffer()
250 assert((image->planes[plane].offset + image->planes[plane].size) % 4 == 0); in add_fast_clear_state_buffer()
254 assert(image->planes[plane].size == in add_fast_clear_state_buffer()
255 (image->planes[plane].offset + image->planes[plane].size)); in add_fast_clear_state_buffer()
[all …]
/external/dng_sdk/source/
Ddng_bottlenecks.h57 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 …]
Ddng_pixel_buffer.cpp366 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 …]
Ddng_reference.h46 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 …]
Ddng_pixel_buffer.h180 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/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DYUVImage.java147 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/skqp/src/gpu/
DGrYUVProvider.cpp32 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/skia/src/gpu/
DGrYUVProvider.cpp32 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/drm_hwcomposer/
Dplatform.h67 std::vector<DrmPlane *> *planes) = 0;
71 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { in PopPlane() argument
72 if (planes->empty()) in PopPlane()
74 DrmPlane *plane = planes->front(); in PopPlane()
75 planes->erase(planes->begin()); in PopPlane()
83 std::vector<DrmPlane *> *planes, in Emplace() argument
86 DrmPlane *plane = PopPlane(planes); in Emplace()
95 plane = PopPlane(planes); in Emplace()
100 planes->insert(planes->begin(), unused_planes.begin(), in Emplace()
145 std::vector<DrmPlane *> *planes);
[all …]
/external/skqp/gm/
Dwacky_yuv_formats.cpp278 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/skia/gm/
Dwacky_yuv_formats.cpp278 static void extract_planes(const SkBitmap& bm, SkYUVColorSpace yuvColorSpace, PlaneData* planes) { in extract_planes() argument
287 planes->fYFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes()
288 planes->fUFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes()
289 planes->fVFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes()
290 planes->fAFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes()
291 planes->fUQuarter.allocPixels(SkImageInfo::MakeA8(bm.width()/2, bm.height()/2)); in extract_planes()
292 planes->fVQuarter.allocPixels(SkImageInfo::MakeA8(bm.width()/2, bm.height()/2)); in extract_planes()
309 *planes->fYFull.getAddr8(x, y) = yuva[0]; in extract_planes()
310 *planes->fUFull.getAddr8(x, y) = yuva[1]; in extract_planes()
311 *planes->fVFull.getAddr8(x, y) = yuva[2]; in extract_planes()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Darray4d.h58 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()
125 CHECK_EQ(value.height(), planes()); in FillWithPZ()
129 for (int64 plane = 0; plane < planes(); ++plane) { in FillWithPZ()
[all …]
/external/libdrm/tests/util/
Dpattern.c460 static void fill_smpte(const struct util_format_info *info, void *planes[3], in fill_smpte()
471 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte()
478 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_smpte()
479 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_smpte()
480 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v, in fill_smpte()
484 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1], in fill_smpte()
485 planes[2], width, height, stride); in fill_smpte()
488 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], in fill_smpte()
489 planes[1], width, height, stride); in fill_smpte()
509 return fill_smpte_rgb16(&info->rgb, planes[0], in fill_smpte()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h50 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/libkmsxx/py/tests/
Dtrans-test.py16 planes = [] variable
17 for p in card.planes:
20 planes.append(p)
53 print("set crtc {}, plane {}, fb {}".format(crtc.id, planes[i].id, fbs[i].id))
55 plane = planes[i]
92 print("set crtc {}, plane {}, fb {}".format(crtc.id, planes[i].id, fbs[i].id))
94 plane = planes[i]
134 plane = planes[0]
147 plane = planes[1]
164 plane = planes[2]
[all …]
/external/libaom/libaom/common/
Drawenc.c65 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()
Dtools_common.c98 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/skia/src/core/
DSkYUVASizeInfo.cpp11 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/skqp/src/core/
DSkYUVASizeInfo.cpp11 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/libvpx/libvpx/examples/
Dvp9cx_set_ref.c85 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/libvpx/libvpx/vpx/src/
Dvpx_image.c159 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 …]
/external/libaom/libaom/av1/
Dav1_iface_common.h52 img->planes[AOM_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
53 img->planes[AOM_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
54 img->planes[AOM_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
63 img->planes[AOM_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image()
64 img->planes[AOM_PLANE_U] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image()
65 img->planes[AOM_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer); in yuvconfig2image()
80 yv12->y_buffer = img->planes[AOM_PLANE_Y]; in image2yuvconfig()
81 yv12->u_buffer = img->planes[AOM_PLANE_U]; in image2yuvconfig()
82 yv12->v_buffer = img->planes[AOM_PLANE_V]; in image2yuvconfig()
/external/libdrm/tests/kms/
Dlibkms-test-device.c137 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/dynamic_depth/internal/dynamic_depth/
Dplanes.cc40 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/ImageMagick/coders/
Dpcx.c89 planes; member
370 pcx_info.planes=(unsigned char) ReadBlobByte(image); in ReadPCXImage()
371 if (pcx_info.planes == 0) in ReadPCXImage()
373 if (pcx_info.planes > 6) in ReadPCXImage()
375 if ((pcx_info.bits_per_pixel*pcx_info.planes) >= 64) in ReadPCXImage()
378 if ((pcx_info.bits_per_pixel != 8) || (pcx_info.planes == 1)) in ReadPCXImage()
380 ((pcx_info.bits_per_pixel*pcx_info.planes) == 1)) in ReadPCXImage()
382 (pcx_info.bits_per_pixel*pcx_info.planes)),256UL); in ReadPCXImage()
385 if ((pcx_info.bits_per_pixel >= 8) && (pcx_info.planes != 1)) in ReadPCXImage()
406 if (HeapOverflowSanityCheck(pcx_packets, (size_t) pcx_info.planes) != MagickFalse) in ReadPCXImage()
[all …]

1234567891011