HomeSort by relevance Sort by last modified time
    Searched refs:planes (Results 1 - 25 of 284) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/src/utils/
SkRGBAToYUV.h 18 bool SkRGBAToYUV(const SkImage*, const SkISize [3], void* const planes[3],
  /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/skia/src/gpu/
GrTextureToYUVPlanes.h 16 bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize[3], void* const planes[3],
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...]
GrYUVProvider.h 60 * planes[] will have already been allocated by the client (based on the worst-case sizes
65 virtual bool onGetYUVPlanes(SkISize sizes[kPlaneCount], void* planes[kPlaneCount],
  /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/libdrm/tests/util/
pattern.h 36 void *planes[3], unsigned int width,
  /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);
  /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...]
  /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/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/dng_sdk/source/
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_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_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...]
  /external/skia/src/core/
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/libdrm/tests/kms/
libkms-test-device.c 139 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/
util.h 34 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] -
35 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j];
  /external/skia/src/lazy/
SkDiscardablePixelRef.h 58 void* planes[3],
62 // re-decoding to YUV8 planes.
66 return fGenerator->getYUV8Planes(sizes, planes, rowBytes, colorSpace);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
util.h 35 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] -
36 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j];
  /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];

Completed in 1407 milliseconds

1 2 3 4 5 6 7 8 91011>>