/external/skia/tests/ |
ImageGeneratorTest.cpp | 53 void* planes[3] = { nullptr }; local 60 ig.getYUV8Planes(sizes, planes, nullptr, nullptr); 62 ig.getYUV8Planes(sizes, planes, rowBytes, nullptr); 63 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); 66 planes[0] = planes[1] = planes[2] = &dummy; 69 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace);
|
YUVTest.cpp | 61 void* planes[3]; local 62 planes[0] = storage.get(); 63 planes[1] = SkTAddOffset<void>(planes[0], info.fYWidthBytes * info.fYSize.height()); 64 planes[2] = SkTAddOffset<void>(planes[1], info.fUWidthBytes * info.fUSize.height()); 70 codec->getYUV8Planes(info, planes));
|
/external/drm_hwcomposer/ |
platform.cpp | 44 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.back() [all...] |
platform.h | 64 std::vector<DrmPlane *> *planes) = 0; 67 // Removes and returns the next available plane from planes 68 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { 69 if (planes->empty()) 71 DrmPlane *plane = planes->front(); 72 planes->erase(planes->begin()); 88 std::vector<DrmPlane *> *planes, 91 DrmPlane *plane = PopPlane(planes); 113 // Takes a stack of layers and provisions hardware planes for them. If th [all...] |
platformnv.cpp | 199 std::vector<DrmPlane *> *planes) { 200 for (auto i = planes->begin(); i != planes->end(); ++i) { 203 planes->erase(i); 213 std::vector<DrmPlane *> *planes) { 222 auto primary_iter = planes->begin(); 223 for (; primary_iter != planes->end(); ++primary_iter) { 232 if (primary_iter != planes->end()) { 236 planes->erase(primary_iter); 261 if (planes->size()) [all...] |
/external/opencv3/samples/cpp/ |
image.cpp | 14 "It shows reading of images, converting to planes and merging back, color conversion\n" 59 vector<Mat> planes; // Vector is template vector class, similar to STL's vector. It can store matrices too. local 60 split(img_yuv, planes); // split the image into separate color planes 64 MatIterator_<uchar> it = planes[0].begin<uchar>(), it_end = planes[0].end<uchar>(); 75 uchar* Uptr = planes[1].ptr<uchar>(y); 79 uchar& Vxy = planes[2].at<uchar>(y, x); 95 IplImage cv_planes_0 = planes[0], cv_noise = noise; 99 addWeighted(planes[0], contrast_gain, noise, 1, -128 + brightness_gain, planes[0]) [all...] |
dft.cpp | 43 Mat planes[] = {Mat_<float>(padded), Mat::zeros(padded.size(), CV_32F)}; local 45 merge(planes, 2, complexImg); 50 split(complexImg, planes); 51 magnitude(planes[0], planes[1], planes[0]); 52 Mat mag = planes[0];
|
/external/opencv3/samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/ |
interoperability_with_OpenCV_1.cpp | 19 << "Also contains example for image read, spliting the planes, merging back and " << endl 62 vector<Mat> planes; // Use the STL's vector structure to store multiple Mat objects local 63 split(I_YUV, planes); // split the image into separate color planes (Y U V) 70 MatIterator_<uchar> it = planes[0].begin<uchar>(), it_end = planes[0].end<uchar>(); 80 uchar* Uptr = planes[1].ptr<uchar>(y); 86 uchar& Vxy = planes[2].at<uchar>(y, x); 112 IplImage cv_planes_0 = planes[0], cv_noise = noisyI; 115 addWeighted(planes[0], contrast_gain, noisyI, 1, -128 + brightness_gain, planes[0]) [all...] |
/external/dng_sdk/source/ |
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...] |
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...] |
dng_pixel_buffer.cpp | 366 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, 1435 uint32 planes = fPlanes; local [all...] |
dng_pixel_buffer.h | 84 /// 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. 206 uint32 Planes () const 219 /// Step, in pixels not bytes, between planes of data in buffer [all...] |
dng_read_image.h | 119 uint32 planes, 127 uint32 planes, 138 uint32 planes, 148 uint32 planes, 170 uint32 planes,
|
dng_image.h | 140 // Number of image planes. 176 uint32 planes, 213 /// Getter method for number of planes in an image. 215 uint32 Planes () const 283 /// \param planes Number of planes to copy. 289 uint32 planes); 295 /// \param planes Number of planes to copy. 300 uint32 planes) [all...] |
/external/skia/src/gpu/ |
GrYUVProvider.cpp | 26 bool init(GrYUVProvider*, SkYUVPlanesCache::Info*, void* planes[3], bool useCache); 35 bool YUVScoper::init(GrYUVProvider* provider, SkYUVPlanesCache::Info* yuvInfo, void* planes[3], 42 planes[0] = (void*)fCachedData->data(); 43 planes[1] = (uint8_t*)planes[0] + yuvInfo->fSizeInMemory[0]; 44 planes[2] = (uint8_t*)planes[1] + yuvInfo->fSizeInMemory[1]; 61 planes[0] = fCachedData->writable_data(); 64 planes[0] = fStorage.get(); 66 planes[1] = (uint8_t*)planes[0] + yuvInfo->fSizeInMemory[0] 85 void* planes[3]; local [all...] |
GrTextureToYUVPlanes.h | 16 bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize[3], void* const planes[3],
|
/external/libdrm/tests/kms/ |
Makefile.am | 25 kms-universal-planes 29 kms-universal-planes 35 kms_universal_planes_SOURCES = kms-universal-planes.c
|
/external/skia/src/core/ |
SkYUVPlanesCache.h | 19 * The Info struct contains data about the 3 Y, U and V planes of memory stored 22 * fSize: Width and height of each of the 3 planes (in pixels). 26 * fRowBytes: rowBytes for each of the 3 planes (in bytes). 44 * Add a pixelRef ID and its YUV planes data to the cache.
|
SkImageGenerator.cpp | 55 bool SkImageGenerator::getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], 61 bool isValidWithPlanes = (planes) && (rowBytes) && 62 ((planes[0]) && (planes[1]) && (planes[2]) && 65 ((nullptr == planes) || 66 ((nullptr == planes[0]) && (nullptr == planes[1]) && (nullptr == planes[2]))) && 70 // Either we have all planes and rowBytes information or we have none of i [all...] |
/external/opencv3/samples/cpp/tutorial_code/core/discrete_fourier_transform/ |
discrete_fourier_transform.cpp | 35 Mat planes[] = {Mat_<float>(padded), Mat::zeros(padded.size(), CV_32F)}; local 37 merge(planes, 2, complexI); // Add to the expanded another plane with zeros 43 split(complexI, planes); // planes[0] = Re(DFT(I), planes[1] = Im(DFT(I)) 44 magnitude(planes[0], planes[1], planes[0]);// planes[0] = magnitude 45 Mat magI = planes[0] [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
vp9_iface_common.h | 16 * the Y, U, and V planes, nor other alignment adjustments that 37 img->planes[VPX_PLANE_Y] = yv12->y_buffer; 38 img->planes[VPX_PLANE_U] = yv12->u_buffer; 39 img->planes[VPX_PLANE_V] = yv12->v_buffer; 40 img->planes[VPX_PLANE_ALPHA] = yv12->alpha_buffer; 55 yv12->y_buffer = img->planes[VPX_PLANE_Y]; 56 yv12->u_buffer = img->planes[VPX_PLANE_U]; 57 yv12->v_buffer = img->planes[VPX_PLANE_V]; 58 yv12->alpha_buffer = img->planes[VPX_PLANE_ALPHA];
|
/external/libvpx/libvpx/vp9/ |
vp9_iface_common.h | 18 * 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_Y] [all...] |
/external/skia/src/lazy/ |
SkDiscardablePixelRef.h | 58 void* planes[3], 62 // re-decoding to YUV8 planes. 66 return fGenerator->getYUV8Planes(sizes, planes, rowBytes, colorSpace);
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
YUVImage.java | 43 * image format consisting of Y, Cb, and Cr image planes. 61 * chrominance planes would be 18 x 35 bytes. If you specify a line padding of 63 * each of the chrominance planes would be 20 x 35 bytes. 72 * planes, and allocate memory for the image planes. 80 * strides for all planes will be set to their respective plane widths. When 116 * planes. 118 * @param planes an array of buffers representing the Y, U (Cb), and V (Cr) 119 * image planes (or just the Y plane, if the image is grayscale.) These 120 * planes can be contiguous or non-contiguous in memory. Plan [all...] |
/external/skia/gm/ |
imagetoyuvplanes.cpp | 26 // Create an RGB image from which we will extract planes 50 // Test cases where all three planes are the same size, where just u and v are the same size, 79 void *planes[3] = {yPlane.get(), uPlane.get(), vPlane.get()}; local 81 // Convert the RGB image to YUV planes using each YUV color space and draw the YUV planes 92 // Clear the planes so we don't accidentally see the old values if there is a bug in 97 if (rgbImage->readYUV8Planes(sizes, planes, kRowBytes[s],
|