/external/opencv3/doc/tutorials/imgproc/histograms/histogram_calculation/ |
histogram_calculation.markdown | 9 - Use the OpenCV function @ref cv::split to divide an image into its correspondent planes. 57 histogram of a set of arrays (usually images or image planes). It can operate with up to 32 65 - Splits the image into its R, G and B planes using the function @ref cv::split 87 -# Separate the source image in its three R,G and B planes. For this we use the OpenCV function 97 with the B, G and R planes, we know that our values will range in the interval \f$[0,255]\f$
|
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/ |
img_gralloc_public.h | 88 * Some OEM video formats are two sub-allocs (Y, UV planes). 89 * Future OEM video formats might be three sub-allocs (Y, U, V planes). 151 /* Planes are not the same as the `fd' suballocs. A multi-planar YUV 152 * allocation has different planes (interleaved = 1, semi-planar = 2, 166 * number of planes and the number of sub-allocs, these will all be zero.
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/ |
img_gralloc_public.h | 88 * Some OEM video formats are two sub-allocs (Y, UV planes). 89 * Future OEM video formats might be three sub-allocs (Y, U, V planes). 151 /* Planes are not the same as the `fd' suballocs. A multi-planar YUV 152 * allocation has different planes (interleaved = 1, semi-planar = 2, 166 * number of planes and the number of sub-allocs, these will all be zero.
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
hw_device.cpp | 361 if (input_buffer->planes[0].fd >= 0) { 363 mdp_buffer.planes[0].fd = input_buffer->planes[0].fd; 364 mdp_buffer.planes[0].offset = input_buffer->planes[0].offset; 365 SetStride(device_type_, input_buffer->format, input_buffer->planes[0].stride, 366 &mdp_buffer.planes[0].stride); 380 "in_plane_count %d, in_fence %d, layer count %d", mdp_buffer.planes[0].fd, 381 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
JpegUtilNative.java | 44 * The input is defined as a set of 3 planes of 8-bit samples, one plane for 48 * The Cb and Cr planes are assumed to be downsampled by a factor of 2, to 165 * ImageFormat.YUV_420_888 is currently supported. Furthermore, all planes 179 * ImageFormat.YUV_420_888 is currently supported. Furthermore, all planes 196 * ImageFormat.YUV_420_888 is currently supported. Furthermore, all planes
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 585 /* Plane 0 needs to be set seperately. Set other planes 587 app_bufs->bufs[i].planes[0].length = frame_offset_info->mp[0].len; 588 app_bufs->bufs[i].planes[0].m.userptr = app_bufs->bufs[i].fd; 589 app_bufs->bufs[i].planes[0].data_offset = frame_offset_info->mp[0].offset; 590 app_bufs->bufs[i].planes[0].reserved[0] = 0; 592 app_bufs->bufs[i].planes[j].length = frame_offset_info->mp[j].len; 593 app_bufs->bufs[i].planes[j].m.userptr = app_bufs->bufs[i].fd; 594 app_bufs->bufs[i].planes[j].data_offset = frame_offset_info->mp[j].offset; 595 app_bufs->bufs[i].planes[j].reserved[0] = 596 app_bufs->bufs[i].planes[j-1].reserved[0] [all...] |
/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 78 nbytes = fread(img->planes[0], 1, to_read, f); 106 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12? VPX_PLANE_V : VPX_PLANE_U]; 109 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12?VPX_PLANE_U : VPX_PLANE_V]; 112 ptr = img->planes[plane]; 604 I420Scale(raw[i-1].planes[VPX_PLANE_Y], raw[i-1].stride[VPX_PLANE_Y], 605 raw[i-1].planes[VPX_PLANE_U], raw[i-1].stride[VPX_PLANE_U], 606 raw[i-1].planes[VPX_PLANE_V], raw[i-1].stride[VPX_PLANE_V], 608 raw[i].planes[VPX_PLANE_Y], raw[i].stride[VPX_PLANE_Y], 609 raw[i].planes[VPX_PLANE_U], raw[i].stride[VPX_PLANE_U], 610 raw[i].planes[VPX_PLANE_V], raw[i].stride[VPX_PLANE_V] [all...] |
/external/opencv3/3rdparty/openexr/Imath/ |
ImathFrustum.h | 123 // Sets the planes in p to be the six bounding planes of the frustum, in 125 // Note that the planes have normals that point out of the frustum. 127 // to transform the frustum before setting the planes. 130 void planes(Plane3<T> p[6]); 131 void planes(Plane3<T> p[6], const Matrix44<T> &M); 547 "near and far clipping planes of the viewing frustum " 569 ("Bad viewing frustum: near and far clipping planes " 594 ("Bad viewing frustum: near and far clipping planes " 646 void Frustum<T>::planes(Plane3<T> p[6] function in class:Imath::Frustum 679 void Frustum<T>::planes(Plane3<T> p[6], const Matrix44<T> &M) function in class:Imath::Frustum [all...] |
/external/opencv3/modules/imgproc/src/ |
phasecorr.cpp | 362 std::vector<Mat> planes; local 363 split(out, planes); 374 for(size_t i = 0; i < planes.size(); i++) 377 Mat half0(planes[i], Rect(0, 0, xMid, 1)); 378 Mat half1(planes[i], Rect(xMid, 0, xMid, 1)); 387 for(size_t i = 0; i < planes.size(); i++) 391 Mat q0(planes[i], Rect(0, 0, xMid, yMid)); 392 Mat q1(planes[i], Rect(xMid, 0, xMid, yMid)); 393 Mat q2(planes[i], Rect(0, yMid, xMid, yMid)); 394 Mat q3(planes[i], Rect(xMid, yMid, xMid, yMid)) [all...] |
/external/skia/include/codec/ |
SkCodec.h | 286 * While the widths of the Y, U, and V planes are not restricted, the 307 * allocation widths of the Y, U, and V planes. 327 * @param planes Memory for each of the Y, U, and V planes. 329 Result getYUV8Planes(const YUVSizeInfo& sizeInfo, void* planes[3]) { 330 if (nullptr == planes || nullptr == planes[0] || nullptr == planes[1] || 331 nullptr == planes[2]) { 339 return this->onGetYUV8Planes(sizeInfo, planes); [all...] |
/external/kernel-headers/original/uapi/linux/ |
fb.h | 39 #define FB_TYPE_PLANES 1 /* Non interleaved planes */ 40 #define FB_TYPE_INTERLEAVED_PLANES 2 /* Interleaved planes */ 42 #define FB_TYPE_VGA_PLANES 4 /* EGA/VGA planes */ 58 #define FB_AUX_VGA_PLANES_VGA4 0 /* 16 color planes (EGA/VGA) */ 59 #define FB_AUX_VGA_PLANES_CFB4 1 /* CFB4 in planes (VGA) */ 60 #define FB_AUX_VGA_PLANES_CFB8 2 /* CFB8 in planes (VGA) */ 162 __u32 type_aux; /* Interleave for interleaved Planes */
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
mjpeg_decoder.cc | 248 uint8** planes, int dst_width, int dst_height) { 297 planes[i], GetComponentWidth(i), 299 planes[i] += scanlines_to_copy * GetComponentWidth(i); 315 planes[i], GetComponentWidth(i), 317 planes[i] += scanlines_to_copy * GetComponentWidth(i); 331 planes[i], GetComponentWidth(i), 333 planes[i] += scanlines_to_copy * GetComponentWidth(i);
|
/external/libyuv/files/source/ |
mjpeg_decoder.cc | 268 uint8** planes, int dst_width, int dst_height) { 317 planes[i], GetComponentWidth(i), scanlines_to_copy); 318 planes[i] += scanlines_to_copy * GetComponentWidth(i); 334 planes[i], GetComponentWidth(i), scanlines_to_copy); 335 planes[i] += scanlines_to_copy * GetComponentWidth(i); 349 planes[i], GetComponentWidth(i), scanlines_to_copy); 350 planes[i] += scanlines_to_copy * GetComponentWidth(i);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
fb.h | 39 #define FB_TYPE_PLANES 1 /* Non interleaved planes */ 40 #define FB_TYPE_INTERLEAVED_PLANES 2 /* Interleaved planes */ 42 #define FB_TYPE_VGA_PLANES 4 /* EGA/VGA planes */ 57 #define FB_AUX_VGA_PLANES_VGA4 0 /* 16 color planes (EGA/VGA) */ 58 #define FB_AUX_VGA_PLANES_CFB4 1 /* CFB4 in planes (VGA) */ 59 #define FB_AUX_VGA_PLANES_CFB8 2 /* CFB8 in planes (VGA) */ 156 __u32 type_aux; /* Interleave for interleaved Planes */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
fb.h | 37 #define FB_TYPE_PLANES 1 /* Non interleaved planes */ 38 #define FB_TYPE_INTERLEAVED_PLANES 2 /* Interleaved planes */ 40 #define FB_TYPE_VGA_PLANES 4 /* EGA/VGA planes */ 55 #define FB_AUX_VGA_PLANES_VGA4 0 /* 16 color planes (EGA/VGA) */ 56 #define FB_AUX_VGA_PLANES_CFB4 1 /* CFB4 in planes (VGA) */ 57 #define FB_AUX_VGA_PLANES_CFB8 2 /* CFB8 in planes (VGA) */ 156 __u32 type_aux; /* Interleave for interleaved Planes */
|
/external/chromium-trace/catapult/telemetry/third_party/png/ |
png.py | 245 Interleave (colour) planes, e.g. RGB + A = RGBA. 333 planes=None, 455 # At the moment the `planes` argument is ignored; 603 self.planes = self.color_planes + self.alpha 605 self.psize = (self.bitdepth/8) * self.planes 630 should be ``self.height`` rows of ``self.width * self.planes`` values. 690 struct.pack('%dB' % self.planes, 691 *[self.rescale[0]]*self.planes)) [all...] |
/frameworks/av/include/ndk/ |
NdkImage.h | 64 * <p>The order of planes is guaranteed such that plane #0 is always Y, plane #1 is always 67 * <p>The Y-plane is guaranteed not to be interleaved with the U/V planes 70 * <p>The U/V planes are guaranteed to have the same row stride and pixel stride, that is, the 220 * The number of planes returned by {@link AImage_getNumberOfPlanes} will always be 1. 316 * The number of planes returned by {@link AImage_getNumberOfPlanes} will always be 1. 516 * Query the number of planes of the input {@link AImage}. 522 * @param numPlanes the number of planes of the image will be filled here if the method call 544 * @param planeIdx the index of the plane. Must be less than the number of planes of input image. 569 * @param planeIdx the index of the plane. Must be less than the number of planes of input image. 592 * @param planeIdx the index of the plane. Must be less than the number of planes of input image [all...] |
/external/skia/include/core/ |
SkPixelRef.h | 213 * If any planes or rowBytes is NULL, this should output the sizes and return true 216 * If all planes and rowBytes are not NULL, then it should copy the associated Y,U,V data 217 * into those planes of memory supplied by the caller. It should validate that the sizes 223 bool getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], 225 return this->onGetYUV8Planes(sizes, planes, rowBytes, colorSpace); 312 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3],
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
vpxenc.c | 489 if (*(img1->planes[VPX_PLANE_Y] + 491 *(img2->planes[VPX_PLANE_Y] + 495 yloc[2] = *(img1->planes[VPX_PLANE_Y] + 497 yloc[3] = *(img2->planes[VPX_PLANE_Y] + 515 if (*(img1->planes[VPX_PLANE_U] + 517 *(img2->planes[VPX_PLANE_U] + 521 uloc[2] = *(img1->planes[VPX_PLANE_U] + 523 uloc[3] = *(img2->planes[VPX_PLANE_U] + 540 if (*(img1->planes[VPX_PLANE_V] + 542 *(img2->planes[VPX_PLANE_V] [all...] |
/external/eigen/test/ |
geo_hyperplane.cpp | 117 template<typename Scalar> void planes() function 182 CALL_SUBTEST_2( planes<float>() ); 183 CALL_SUBTEST_5( planes<double>() );
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm.c | 180 LP_CHECK_MEMBER_OFFSET(struct draw_jit_context, planes, 869 LLVMValueRef plane1, planes, plane_ptr, sum; local 910 /* Cliptest, for hardwired planes */ [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_vertex.c | 56 /* This function implements cliptesting for user-defined clip planes. 57 * The clipping of primitives to these planes is implemented in 210 /* Test userclip planes. This contributes to VB->ClipMask, so
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
SoftVPX.cpp | 161 const uint8_t *srcY = (const uint8_t *)mImg->planes[VPX_PLANE_Y]; 162 const uint8_t *srcU = (const uint8_t *)mImg->planes[VPX_PLANE_U]; 163 const uint8_t *srcV = (const uint8_t *)mImg->planes[VPX_PLANE_V];
|
/frameworks/base/graphics/java/android/graphics/ |
ImageFormat.java | 39 * by (W/2) x (H/2) Cr and Cb planes.</p> 195 * <p>The order of planes in the array returned by 199 * <p>The Y-plane is guaranteed not to be interleaved with the U/V planes 203 * <p>The U/V planes are guaranteed to have the same row stride and pixel stride 233 * <p>The order of planes in the array returned by 241 * <p>The U/V planes are guaranteed to have the same row stride and pixel stride 270 * <p>The order of planes in the array returned by 278 * <p>The U/V planes are guaranteed to have the same row stride and pixel stride 306 * <p>The order of planes in the array returned by 311 * <p>All three planes are guaranteed to have the same row strides and pixel strides.</p [all...] |
YuvImage.java | 24 * array irrespective of the number of image planes in it. 45 * In the case of more than one image plane, the image planes must be 68 * @param yuv The YUV data. In the case of more than one image plane, all the planes must be
|