Searched refs:planes (Results 1 - 25 of 159) sorted by relevance

1234567

/external/libdrm/tests/util/
H A Dpattern.h36 void *planes[3], unsigned int width,
H A Dpattern.c464 static void fill_smpte(const struct util_format_info *info, void *planes[3], argument
475 return fill_smpte_yuv_packed(&info->yuv, planes[0], width,
482 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1;
483 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1;
484 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v,
488 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1],
489 planes[
750 fill_tiles(const struct util_format_info *info, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) argument
827 fill_plain(const struct util_format_info *info, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) argument
846 util_fill_pattern(uint32_t format, enum util_fill_pattern pattern, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) argument
[all...]
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
H A DYUVImage.java44 * image format consisting of Y, Cb, and Cr image planes.
62 * chrominance planes would be 18 x 35 bytes. If you specify a line padding of
64 * each of the chrominance planes would be 20 x 35 bytes.
73 * planes, and allocate memory for the image planes.
81 * strides for all planes will be set to their respective plane widths. When
115 * planes.
117 * @param planes an array of buffers representing the Y, U (Cb), and V (Cr)
118 * image planes (or just the Y plane, if the image is grayscale.) These
119 * planes ca
147 YUVImage(byte[][] planes, int[] offsets, int width, int[] strides, int height, int subsamp) argument
211 setBuf(byte[][] planes, int[] offsets, int width, int strides[], int height, int subsamp) argument
216 setBuf(byte[][] planes, int[] offsets, int width, int strides[], int height, int subsamp, boolean alloc) argument
[all...]
/external/tensorflow/tensorflow/compiler/xla/
H A Darray4d.h60 Array4D(int64 planes, int64 depth, int64 height, int64 width) argument
61 : Array<T>(std::vector<int64>{planes, depth, height, width}) {}
64 Array4D(int64 planes, int64 depth, int64 height, int64 width, T value) argument
65 : Array<T>(std::vector<int64>{planes, depth, height, width}, value) {}
73 Array4D(int64 planes, int64 depth, int64 height, int64 width, argument
75 : Array4D(planes, depth, height, width) {
105 int64 planes() const { return this->dim(0); } function in class:xla::Array4D
111 for (int64 plane = 0; plane < planes(); ++plane) {
124 CHECK_EQ(value.height(), planes());
128 for (int64 plane = 0; plane < planes();
[all...]
/external/drm_hwcomposer/
H A Dplatform.cpp44 std::vector<DrmPlane *> planes = local
46 if (planes.empty()) {
47 ALOGE("Display %d has no usable planes", crtc->display());
54 if (!planes.empty()) {
55 squash_plane = planes.back();
56 planes.pop_back();
58 ALOGI("Not enough planes to reserve for squash fb");
64 if (layers.size() > planes.size()) {
65 if (!planes.empty()) {
66 precomp_plane = planes
91 ProvisionPlanes( std::vector<DrmCompositionPlane> *composition, std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, std::vector<DrmPlane *> *planes) argument
143 ProvisionPlanes( std::vector<DrmCompositionPlane> *composition, std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, std::vector<DrmPlane *> *planes) argument
171 ProvisionPlanes( std::vector<DrmCompositionPlane> *composition, std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, std::vector<DrmPlane *> *planes) argument
[all...]
H A Dplatform.h68 std::vector<DrmPlane *> *planes) = 0;
71 // Removes and returns the next available plane from planes
72 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { argument
73 if (planes->empty())
75 DrmPlane *plane = planes->front();
76 planes->erase(planes->begin());
92 std::vector<DrmPlane *> *planes,
95 DrmPlane *plane = PopPlane(planes);
117 // Takes a stack of layers and provisions hardware planes fo
91 Emplace(std::vector<DrmCompositionPlane> *composition, std::vector<DrmPlane *> *planes, DrmCompositionPlane::Type type, DrmCrtc *crtc, size_t source_layer) argument
[all...]
H A Dplatformnv.cpp213 std::vector<DrmPlane *> *planes) {
214 for (auto i = planes->begin(); i != planes->end(); ++i) {
217 planes->erase(i);
227 std::vector<DrmPlane *> *planes) {
236 auto primary_iter = planes->begin();
237 for (; primary_iter != planes->end(); ++primary_iter) {
246 if (primary_iter != planes->end()) {
250 planes->erase(primary_iter);
275 if (planes
212 GetCrtcPrimaryPlane(DrmCrtc *crtc, std::vector<DrmPlane *> *planes) argument
224 ProvisionPlanes( std::vector<DrmCompositionPlane> *composition, std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, std::vector<DrmPlane *> *planes) argument
337 ProvisionPlanes( std::vector<DrmCompositionPlane> *composition, std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, std::vector<DrmPlane *> *planes) argument
[all...]
/external/skia/src/gpu/
H A DGrYUVProvider.cpp25 void* planes[3]) {
30 planes[0] = (void*)data->data();
31 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] *
33 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] *
47 planes[0] = data->writable_data();
48 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] *
50 planes[
24 init_provider(GrYUVProvider* provider, SkYUVPlanesCache::Info* yuvInfo, void* planes[3]) argument
74 void* planes[3]; local
[all...]
H A DGrYUVProvider.h53 * allocation widths of the Y, U, and V planes.
66 * @param planes Memory for each of the Y, U, and V planes.
68 virtual bool onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) = 0;
/external/skqp/src/gpu/
H A DGrYUVProvider.cpp24 void* planes[3]) {
29 planes[0] = (void*)data->data();
30 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] *
32 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] *
46 planes[0] = data->writable_data();
47 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] *
49 planes[
23 init_provider(GrYUVProvider* provider, SkYUVPlanesCache::Info* yuvInfo, void* planes[3]) argument
67 void* planes[3]; local
[all...]
H A DGrYUVProvider.h53 * allocation widths of the Y, U, and V planes.
66 * @param planes Memory for each of the Y, U, and V planes.
68 virtual bool onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) = 0;
/external/dng_sdk/source/
H A 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,
667 DoSetArea8(uint8 *dPtr, uint8 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) argument
688 DoSetArea16(uint16 *dPtr, uint16 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) argument
709 DoSetArea32(uint32 *dPtr, uint32 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) argument
732 DoCopyArea8(const uint8 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
759 DoCopyArea16(const uint16 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
786 DoCopyArea32(const uint32 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
813 DoCopyArea8_16(const uint8 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
840 DoCopyArea8_S16(const uint8 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
867 DoCopyArea8_32(const uint8 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
894 DoCopyArea16_S16(const uint16 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
921 DoCopyArea16_32(const uint16 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
948 DoCopyArea8_R32(const uint8 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) argument
977 DoCopyArea16_R32(const uint16 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) argument
1006 DoCopyAreaS16_R32(const int16 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) argument
1035 DoCopyAreaR32_8(const real32 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) argument
1064 DoCopyAreaR32_16(const real32 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) argument
1093 DoCopyAreaR32_S16(const real32 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) argument
1124 DoRepeatArea8(const uint8 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) argument
1153 DoRepeatArea16(const uint16 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) argument
1182 DoRepeatArea32(const uint32 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) argument
1213 DoShiftRight16(uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 shift) argument
1530 DoEqualArea8(const uint8 *sPtr, const uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
1557 DoEqualArea16(const uint16 *sPtr, const uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
1584 DoEqualArea32(const uint32 *sPtr, const uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) argument
1640 DoVignette16(int16 *sPtr, const uint16 *mPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sPlaneStep, int32 mRowStep, uint32 mBits) argument
1665 DoVignette32(real32 *sPtr, const uint16 *mPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sPlaneStep, int32 mRowStep, uint32 mBits) argument
[all...]
H A 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...]
H A Ddng_pixel_buffer.cpp366 uint32 planes,
373 , fPlanes (planes)
544 uint32 planes,
563 planes,
577 DoZeroBytes (dPtr, planes);
588 planes,
605 DoZeroBytes (dPtr, planes << 1);
616 planes,
633 DoZeroBytes (dPtr, planes << 2);
644 planes,
364 dng_pixel_buffer(const dng_rect &area, uint32 plane, uint32 planes, uint32 pixelType, uint32 planarConfiguration, void *data) argument
542 SetConstant(const dng_rect &area, uint32 plane, uint32 planes, uint32 value) argument
668 SetZero(const dng_rect &area, uint32 plane, uint32 planes) argument
710 CopyArea(const dng_pixel_buffer &src, const dng_rect &area, uint32 srcPlane, uint32 dstPlane, uint32 planes) argument
1435 uint32 planes = fPlanes; local
1632 MaxDiff(const T *src1, int32 s1RowStep, int32 s1PlaneStep, const T *src2, int32 s2RowStep, int32 s2PlaneStep, uint32 rows, uint32 cols, uint32 planes) argument
1678 MaxDiff(const T *src1, int32 s1ColStep, int32 s1RowStep, int32 s1PlaneStep, const T *src2, int32 s2ColStep, int32 s2RowStep, int32 s2PlaneStep, uint32 rows, uint32 cols, uint32 planes) argument
[all...]
H A Ddng_pixel_buffer.h84 /// The pixel geometry describes the layout in terms of how many planes, rows and columns
96 // Range of planes this buffer holds.
173 /// \param planes Number of planes
176 /// \param planarConfiguration Layout of the pixel planes in memory: One
180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes,
203 /// Number of planes of image data.
204 /// \retval Number of planes held in buffer.
219 /// Step, in pixels not bytes, between planes of data in buffer.
500 /// \param planes Numbe
514 SetConstant_uint8(const dng_rect &area, uint32 plane, uint32 planes, uint8 value) argument
532 SetConstant_uint16(const dng_rect &area, uint32 plane, uint32 planes, uint16 value) argument
550 SetConstant_int16(const dng_rect &area, uint32 plane, uint32 planes, int16 value) argument
568 SetConstant_uint32(const dng_rect &area, uint32 plane, uint32 planes, uint32 value) argument
586 SetConstant_real32(const dng_rect &area, uint32 plane, uint32 planes, real32 value) argument
635 CopyArea(const dng_pixel_buffer &src, const dng_rect &area, uint32 plane, uint32 planes) argument
[all...]
H A Ddng_read_image.h119 uint32 planes,
127 uint32 planes,
138 uint32 planes,
148 uint32 planes,
170 uint32 planes,
/external/libdrm/tests/kms/
H A Dlibkms-test-device.c139 device->planes = calloc(res->count_planes, sizeof(plane));
140 if (!device->planes)
144 plane = kms_plane_create(device, res->planes[i]);
148 device->planes[i] = plane;
182 kms_plane_free(device->planes[i]);
184 free(device->planes);
209 if (device->planes[i]->type == type) {
211 return device->planes[i];
/external/libvpx/libvpx/test/
H A Dutil.h33 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] -
34 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j];
/external/skia/tests/
H A DImageGeneratorTest.cpp56 void* planes[3] = { nullptr }; local
66 planes[SkYUVSizeInfo::kY] = planes[SkYUVSizeInfo::kU] = planes[SkYUVSizeInfo::kV] = &dummy;
67 ig.getYUV8Planes(sizeInfo, planes);
H A DYUVTest.cpp64 void* planes[3]; local
65 planes[0] = storage.get();
66 planes[1] = SkTAddOffset<void>(planes[0],
68 planes[2] = SkTAddOffset<void>(planes[1],
75 codec->getYUV8Planes(info, planes));
/external/skqp/tests/
H A DImageGeneratorTest.cpp55 void* planes[3] = { nullptr }; local
65 planes[SkYUVSizeInfo::kY] = planes[SkYUVSizeInfo::kU] = planes[SkYUVSizeInfo::kV] = &dummy;
66 ig.getYUV8Planes(sizeInfo, planes);
H A DYUVTest.cpp64 void* planes[3]; local
65 planes[0] = storage.get();
66 planes[1] = SkTAddOffset<void>(planes[0],
68 planes[2] = SkTAddOffset<void>(planes[1],
75 codec->getYUV8Planes(info, planes));
/external/libvpx/libvpx/vp9/
H A Dvp9_iface_common.h18 * the Y, U, and V planes, nor other alignment adjustments that
50 img->planes[VPX_PLANE_Y] = yv12->y_buffer;
51 img->planes[VPX_PLANE_U] = yv12->u_buffer;
52 img->planes[VPX_PLANE_V] = yv12->v_buffer;
53 img->planes[VPX_PLANE_ALPHA] = NULL;
64 img->planes[VPX_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer);
65 img->planes[VPX_PLANE_U] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->u_buffer);
66 img->planes[VPX_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer);
67 img->planes[VPX_PLANE_ALPHA] = NULL;
83 yv12->y_buffer = img->planes[VPX_PLANE_
[all...]
/external/libvpx/libvpx/vpx/src/
H A Dvpx_image.c178 img->planes[VPX_PLANE_PACKED] =
186 img->planes[VPX_PLANE_ALPHA] =
191 img->planes[VPX_PLANE_Y] =
196 img->planes[VPX_PLANE_U] =
200 img->planes[VPX_PLANE_V] =
204 img->planes[VPX_PLANE_V] =
208 img->planes[VPX_PLANE_U] =
225 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y];
228 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) *
232 img->planes[VPX_PLANE_
[all...]
/external/libvpx/libvpx/examples/
H A Dvp9cx_set_ref.c85 match &= (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y],
86 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y],
90 match &= (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U],
91 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U],
95 match &= (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V],
96 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V],
123 if (*(img1->planes[VPX_PLANE_Y] +
125 *(img2->planes[VPX_PLANE_Y] +
129 yloc[2] = *(img1->planes[VPX_PLANE_Y] +
131 yloc[3] = *(img2->planes[VPX_PLANE_
[all...]

Completed in 437 milliseconds

1234567