/external/dng_sdk/source/ |
dng_simple_image.cpp | 26 uint32 planes, 31 planes, 40 ComputeBufferSize (pixelType, bounds.Size (), planes, pad16Bytes); 44 fBuffer = dng_pixel_buffer (bounds, 0, planes, pixelType, pcInterleaved, fMemory->Buffer ()); 61 Planes (), 68 Planes ());
|
dng_reference.cpp | 88 uint32 planes, 104 for (uint32 plane = 0; plane < planes; plane++) 129 uint32 planes, 145 for (uint32 plane = 0; plane < planes; plane++) 170 uint32 planes, 186 for (uint32 plane = 0; plane < planes; plane++) 211 uint32 planes, 232 for (uint32 plane = 0; plane < planes; plane++) 260 uint32 planes, 281 for (uint32 plane = 0; plane < planes; plane++ [all...] |
dng_lens_correction.h | 40 /// number of planes, optical center) and common warp routines. 47 // Number of planes to be warped. Must be either 1 or equal to the 48 // number of planes of the image to be processed. If set to 1, then a 49 // single set of warp parameters applies to all planes of the image. 70 /// Create warp parameters with specified number of planes and image 73 /// \param planes The number of planes of parameters specified: It must 74 /// be either 1 or equal to the number of planes of the image to be 79 dng_warp_params (uint32 planes, 84 /// Is the entire correction a NOP for all planes [all...] |
dng_gain_map.h | 54 /// samples (points), sample spacing, origin, and number of color planes. 60 uint32 planes); 84 /// The number of color planes. 86 uint32 Planes () const
|
/external/opencv3/modules/python/test/ |
calchist.py | 12 # Extract the H and S planes 16 planes = [h_plane, s_plane] 29 cv.CalcHist([cv.GetImage(i) for i in planes], hist)
|
/external/skia/src/gpu/ |
GrTextureToYUVPlanes.cpp | 50 bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize sizes[3], void* const planes[3], 53 // Depending on the relative sizes of the y, u, and v planes we may do 1 to 3 draws/ 68 // We issue draw(s) to convert from RGBA to Y, U, and V. All three planes may have different 69 // sizes however we optimize for two other cases - all planes are the same (1 draw to YUV), 191 uint8_t* yLoc = ((uint8_t*)planes[0]) + j * yRowBytes + i; 192 uint8_t* uLoc = ((uint8_t*)planes[1]) + j * uRowBytes + i; 193 uint8_t* vLoc = ((uint8_t*)planes[2]) + j * vRowBytes + i; 203 kAlpha_8_GrPixelConfig, planes[0], rowBytes[0])) { 226 uint8_t* uLoc = ((uint8_t*)planes[1]) + j * uRowBytes + i; 227 uint8_t* vLoc = ((uint8_t*)planes[2]) + j * vRowBytes + i [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
CodecUtils.java | 48 Image.Plane[] planes = mImage.getPlanes(); local 50 mPlanes = new Plane[planes.length]; 51 for (int i = 0; i < planes.length; i++) { 52 mPlanes[i] = new PlaneWrapper(planes[i]); 162 Image.Plane[] planes = image.getPlanes(); local 163 for (int i = 0; i < planes.length; ++i) { 164 ByteBuffer buf = planes[i].getBuffer(); 167 rowStride = planes[i].getRowStride(); 168 pixelStride = planes[i].getPixelStride();
|
/external/skia/src/utils/ |
SkRGBAToYUV.h | 18 bool SkRGBAToYUV(const SkImage*, const SkISize [3], void* const planes[3],
|
/external/opencv3/modules/ts/src/ |
ts_func.cpp | 181 Mat planes[3], buf[3]; local 183 NAryMatIterator it(arrays, planes); 186 int total = (int)planes[0].total(), maxsize = std::min(12*12*std::max(12/cn, 1), total); 188 CV_Assert(planes[0].rows == 1); 200 Mat apart0 = planes[0].colRange(j, j2); 201 Mat cpart0 = planes[2].colRange(j, j2); 216 Mat bpart0 = planes[1].colRange((int)j, (int)j2); 298 Mat planes[2]; local 300 NAryMatIterator it(arrays, planes); 301 size_t total = planes[0].total()*planes[0].channels() 344 Mat planes[2]; local 358 Mat planes[3]; local 419 Mat planes[2]; local 446 Mat planes[2]; local 471 Mat planes[2]; local [all...] |
/external/libvpx/libvpx/vpx/src/ |
vpx_image.c | 215 img->planes[VPX_PLANE_PACKED] = 223 img->planes[VPX_PLANE_ALPHA] = 228 img->planes[VPX_PLANE_Y] = data + x * bytes_per_sample + 233 img->planes[VPX_PLANE_U] = 237 img->planes[VPX_PLANE_V] = 241 img->planes[VPX_PLANE_V] = 245 img->planes[VPX_PLANE_U] = 262 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y]; 265 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) 269 img->planes[VPX_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1 [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
vpx_image.c | 210 img->planes[VPX_PLANE_PACKED] = 216 img->planes[VPX_PLANE_ALPHA] = 221 img->planes[VPX_PLANE_Y] = data + x + y * img->stride[VPX_PLANE_Y]; 225 img->planes[VPX_PLANE_U] = data 229 img->planes[VPX_PLANE_V] = data 233 img->planes[VPX_PLANE_V] = data 237 img->planes[VPX_PLANE_U] = data 256 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y]; 259 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) 263 img->planes[VPX_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1 [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/mesa3d/docs/ |
WL_bind_wayland_display.spec | 98 A wl_buffer can have several planes, typically in case of planar 101 various planes. The eglQueryWaylandBufferWL function should be 115 in the shader. The naming conventions separates planes by _ and 134 Three planes, samples Y from the first plane to r in 139 Two planes, samples Y from the first plane to r in 143 Two planes, samples Y from the first plane to r in 147 planes by calling eglCreateImageKHR with wl_buffer as 168 for different planes of planar buffer. (Kristian Høgsberg)
|
/external/opencv3/samples/gpu/ |
farneback_optical_flow.cpp | 93 GpuMat planes[2]; local 94 cuda::split(d_flow, planes); 96 planes[0].download(flowx); 97 planes[1].download(flowy); 107 Mat planes[] = {flowx, flowy}; local 108 split(flowxy, planes); 109 flowx = planes[0]; flowy = planes[1];
|
/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];
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vs.h | 52 * shader uses clip planes or gl_ClipDistance. 57 * How many user clipping planes are being uploaded to the vertex shader as 69 * For pre-Gen6 hardware, a bitfield indicating which clipping planes are 70 * enabled. This is used to compact clip planes. 72 * For Gen6 and later hardware, clip planes are not compacted, so this
|
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.cpp | 79 JSAMPARRAY planes[3]; local 80 planes[0] = y; 81 planes[1] = cb; 82 planes[2] = cr; 110 jpeg_write_raw_data(cinfo, planes, 16); 155 JSAMPARRAY planes[3]; local 156 planes[0] = y; 157 planes[1] = cb; 158 planes[2] = cr; 184 jpeg_write_raw_data(cinfo, planes, 16) [all...] |
/external/libdrm/tests/util/ |
pattern.c | 464 static void fill_smpte(const struct util_format_info *info, void *planes[3], 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[2], width, height, stride) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsUtils.java | 174 Plane[] planes = image.getPlanes(); local 184 ByteBuffer buffer = planes[0].getBuffer(); 207 int maxRowSize = planes[0].getRowStride(); 208 for (int i = 0; i < planes.length; i++) { 209 if (maxRowSize < planes[i].getRowStride()) { 210 maxRowSize = planes[i].getRowStride(); 214 for (int i = 0; i < planes.length; i++) { 215 ByteBuffer buffer = planes[i].getBuffer(); 216 int rowStride = planes[i].getRowStride(); 217 int pixelStride = planes[i].getPixelStride() 270 Plane[] planes = image.getPlanes(); local [all...] |
/external/libdrm/tests/modetest/ |
buffers.c | 137 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/opencv/cvaux/src/ |
camshift.cpp | 86 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;
|
/external/libdrm/tests/planetest/ |
dev.c | 229 dev->planes = calloc(dev->num_planes, sizeof(struct sp_plane)); 232 struct sp_plane *plane = &dev->planes[i]; 235 plane->plane = drmModeGetPlane(dev->fd, pr->planes[i]); 254 props = drmModeObjectGetProperties(dev->fd, pr->planes[i], 332 if (dev->planes) { 334 if (dev->planes[i].in_use) 335 put_sp_plane(&dev->planes[i]); 336 if (dev->planes[i].plane) 337 drmModeFreePlane(dev->planes[i].plane); 338 if (dev->planes[i].bo [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_tri_tmp.h | 38 * XXX: Varients for more/fewer planes. 39 * XXX: Need ways of dropping planes as we descend. 78 outmask = 0; /* outside one or more trivial reject planes */ 79 partmask = 0; /* outside one or more trivial accept planes */ 98 /* Mask of sub-blocks which are inside all trivial accept planes: 102 /* Mask of sub-blocks which are inside all trivial reject planes, 172 outmask = 0; /* outside one or more trivial reject planes */ 173 partmask = 0; /* outside one or more trivial accept planes */ 201 /* Mask of sub-blocks which are inside all trivial accept planes: 205 /* Mask of sub-blocks which are inside all trivial reject planes, [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_video.c | 123 uint32_t planes[VIDEO_MAX_PLANES]; 130 planes[i] = frame_offset_info->mp[i].len; 157 pme->video_buf.frame[i].cbcr_off = planes[0]; 169 /* Plane 0 needs to be set seperately. Set other planes 171 bufs[i].planes[0].length = planes[0]; 172 bufs[i].planes[0].m.userptr = bufs[i].fd; 173 bufs[i].planes[0].data_offset = y_off; 174 bufs[i].planes[0].reserved[0] = 0; 177 bufs[i].planes[j].length = planes[j] [all...] |