Searched defs:planes (Results 1 - 25 of 77) sorted by relevance

1234

/external/drm_hwcomposer/
H A Ddrmresources.h46 const std::vector<std::unique_ptr<DrmPlane>> &planes() const { function in class:android::DrmResources
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
[all...]
H A Dplatform.h64 std::vector<DrmPlane *> *planes) = 0;
67 // Removes and returns the next available plane from planes
68 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { argument
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 fo
87 Emplace(std::vector<DrmCompositionPlane> *composition, std::vector<DrmPlane *> *planes, DrmCompositionPlane::Type type, DrmCrtc *crtc, size_t source_layer) argument
[all...]
H A Dplatformnv.cpp199 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
198 GetCrtcPrimaryPlane(DrmCrtc *crtc, std::vector<DrmPlane *> *planes) argument
210 ProvisionPlanes( std::vector<DrmCompositionPlane> *composition, std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, std::vector<DrmPlane *> *planes) argument
[all...]
/external/opencv3/samples/cpp/
H A Ddft.cpp43 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];
H A Dimage.cpp14 "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[
[all...]
H A Ddistrans.cpp62 Mat planes[] = {dist8u1, dist8u2, dist8u2}; local
63 merge(planes, 3, dist8u);
/external/opencv3/samples/cpp/tutorial_code/core/discrete_fourier_transform/
H A Ddiscrete_fourier_transform.cpp35 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[
[all...]
/external/skia/src/utils/
H A DSkRGBAToYUV.cpp15 bool SkRGBAToYUV(const SkImage* image, const SkISize sizes[3], void* const planes[3], argument
42 SkImageInfo::MakeA8(sizes[i].fWidth, sizes[i].fHeight), planes[i], rb));
/external/skia/tests/
H A DImageGeneratorTest.cpp53 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);
H A DYUVTest.cpp61 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/opencv3/samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/
H A Dinteroperability_with_OpenCV_1.cpp19 << "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[
[all...]
/external/skia/gm/
H A Dimagetoyuvplanes.cpp26 // 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],
/external/skia/src/codec/
H A DSkCodecImageGenerator.cpp54 bool SkCodecImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], argument
61 // If planes is NULL, we just need to return the size.
62 if (nullptr == planes) {
91 SkCodec::Result result = fCodec->getYUV8Planes(sizeInfo, planes);
/external/skia/src/gpu/
H A DGrYUVProvider.cpp26 bool init(GrYUVProvider*, SkYUVPlanesCache::Info*, void* planes[3], bool useCache);
35 bool YUVScoper::init(GrYUVProvider* provider, SkYUVPlanesCache::Info* yuvInfo, void* planes[3], argument
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[
85 void* planes[3]; local
[all...]
/external/dng_sdk/source/
H A Ddng_simple_image.cpp26 uint32 planes,
31 planes,
40 ComputeBufferSize (pixelType, bounds.Size (), planes, pad16Bytes);
44 fBuffer = dng_pixel_buffer (bounds, 0, planes, pixelType, pcInterleaved, fMemory->Buffer ());
25 dng_simple_image(const dng_rect &bounds, uint32 planes, uint32 pixelType, dng_memory_allocator &allocator) argument
H A Ddng_host.cpp342 uint32 planes,
347 planes,
341 Make_dng_image(const dng_rect &bounds, uint32 planes, uint32 pixelType) argument
H A Ddng_image.h140 // Number of image planes.
176 uint32 planes,
213 /// Getter method for number of planes in an image.
283 /// \param planes Number of planes to copy.
289 uint32 planes);
295 /// \param planes Number of planes to copy.
300 uint32 planes)
303 CopyArea (src, area, plane, plane, planes);
297 CopyArea(const dng_image &src, const dng_rect &area, uint32 plane, uint32 planes) argument
[all...]
H A Ddng_lens_correction.cpp47 dng_warp_params::dng_warp_params (uint32 planes, argument
50 : fPlanes (planes)
55 DNG_ASSERT (planes >= 1, "Too few planes." );
56 DNG_ASSERT (planes <= kMaxColorPlanes, "Too many planes.");
318 dng_warp_params_rectilinear::dng_warp_params_rectilinear (uint32 planes, argument
323 : dng_warp_params (planes,
735 dng_warp_params_fisheye::dng_warp_params_fisheye (uint32 planes,
739 : dng_warp_params (planes, cente
[all...]
/external/libdrm/tests/modetest/
H A Dbuffers.c137 void *planes[3] = { 0, }; local
247 planes[0] = virtual;
261 planes[0] = virtual;
262 planes[1] = virtual + offsets[1];
277 planes[0] = virtual;
278 planes[1] = virtual + offsets[1];
279 planes[2] = virtual + offsets[2];
322 planes[0] = virtual;
326 util_fill_pattern(format, pattern, planes, width, height, pitches[0]);
/external/libdrm/tests/kms/
H A Dlibkms-test.h42 struct kms_plane **planes; member in struct:kms_device
/external/libdrm/tests/planetest/
H A Ddev.h57 struct sp_plane *planes; member in struct:sp_dev
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
H A DYUVImage.java43 * 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 ca
148 YUVImage(byte[][] planes, int[] offsets, int width, int[] strides, int height, int subsamp) argument
212 setBuf(byte[][] planes, int[] offsets, int width, int strides[], int height, int subsamp) argument
217 setBuf(byte[][] planes, int[] offsets, int width, int strides[], int height, int subsamp, boolean alloc) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_regions.h159 } planes[3]; member in struct:intel_image_format
/external/opencv/cvaux/src/
H A Dcamshift.cpp86 uchar* planes[CV_MAX_DIM]; local
116 cvGetRawData( m_color_planes[i], &planes[i], &plane_step, &size );
132 planes[0][x] = (uchar)val0;
134 planes[1][x] = (uchar)val1;
136 planes[2][x] = (uchar)val2;
142 planes[0][x] = 0;
144 planes[1][x] = 0;
146 planes[2][x] = 0;
151 planes[i] += plane_step;

Completed in 564 milliseconds

1234