Searched refs:planes (Results 1 - 25 of 120) sorted by relevance

12345

/external/chromium_org/third_party/skia/tests/
H A DImageGeneratorTest.cpp17 void* planes[3] = { NULL }; local
24 ig.getYUV8Planes(sizes, planes, NULL, NULL);
26 ig.getYUV8Planes(sizes, planes, rowBytes, NULL);
27 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace);
30 planes[0] = planes[1] = planes[2] = &dummy;
33 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace);
/external/chromium_org/third_party/skia/src/core/
H A DSkImageGenerator.cpp60 bool SkImageGenerator::getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], argument
66 bool isValidWithPlanes = (planes) && (rowBytes) &&
67 ((planes[0]) && (planes[1]) && (planes[2]) &&
70 ((NULL == planes) ||
71 ((NULL == planes[0]) && (NULL == planes[1]) && (NULL == planes[2]))) &&
75 // Either we have all planes an
96 onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3]) argument
100 onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace* colorSpace) argument
[all...]
/external/libvpx/libvpx/vp9/
H A Dvp9_iface_common.h16 * 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;
54 yv12->y_buffer = img->planes[VPX_PLANE_Y];
55 yv12->u_buffer = img->planes[VPX_PLANE_U];
56 yv12->v_buffer = img->planes[VPX_PLANE_V];
57 yv12->alpha_buffer = img->planes[VPX_PLANE_ALPHA];
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDecodingImageGenerator.cpp87 bool DecodingImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace* colorSpace) argument
92 if (!planes || !planes[0])
97 bool decoded = m_frameGenerator->decodeToYUV(sizes, planes, rowBytes);
H A DDecodingImageGenerator.h56 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace*) OVERRIDE;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/
H A Dvp9_iface_common.h16 * the Y, U, and V planes, nor other alignment adjustments that
41 img->planes[VPX_PLANE_Y] = yv12->y_buffer;
42 img->planes[VPX_PLANE_U] = yv12->u_buffer;
43 img->planes[VPX_PLANE_V] = yv12->v_buffer;
44 img->planes[VPX_PLANE_ALPHA] = NULL;
58 yv12->y_buffer = img->planes[VPX_PLANE_Y];
59 yv12->u_buffer = img->planes[VPX_PLANE_U];
60 yv12->v_buffer = img->planes[VPX_PLANE_V];
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dutil.h35 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];
H A Dencode_test_driver.cc120 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y],
121 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y],
126 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U],
127 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U],
130 match = (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V],
131 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V],
/external/chromium_org/third_party/skia/src/lazy/
H A DSkDiscardablePixelRef.h52 void* planes[3],
55 return fGenerator->getYUV8Planes(sizes, planes, rowBytes, colorSpace);
/external/libvpx/libvpx/test/
H A Dutil.h35 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];
H A Dencode_test_driver.cc117 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y],
118 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y],
123 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U],
124 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U],
127 match = (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V],
128 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V],
/external/chromium_org/third_party/skia/include/core/
H A DSkImageGenerator.h114 * If planes or rowBytes is NULL or if any entry in planes is NULL or if any entry in rowBytes
116 * return YUV planar data. If it cannot, it should return false. Note that either planes and
118 * entries only. Having only partial planes/rowBytes information is not supported.
120 * If all planes and rowBytes entries are non NULL or non 0, then it should copy the
121 * associated YUV data into those planes of memory supplied by the caller. It should validate
124 bool getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3],
133 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3]);
134 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3],
/external/chromium_org/third_party/libvpx/source/libvpx/vpx/src/
H A Dvpx_image.c209 img->planes[VPX_PLANE_PACKED] =
215 img->planes[VPX_PLANE_ALPHA] =
220 img->planes[VPX_PLANE_Y] = data + x + y * img->stride[VPX_PLANE_Y];
224 img->planes[VPX_PLANE_U] = data
228 img->planes[VPX_PLANE_V] = data
232 img->planes[VPX_PLANE_V] = data
236 img->planes[VPX_PLANE_U] = data
255 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y];
258 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1)
262 img->planes[VPX_PLANE_
[all...]
/external/libvpx/libvpx/vpx/src/
H A Dvpx_image.c210 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_
[all...]
/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;
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysyuv.cc133 int planes; local
144 /* count planes */
145 planes = count_planes(format);
146 if (planes == 0)
151 if (planes == 3)
213 overlay->planes = planes;
214 overlay->pitches = (Uint16*)SDL_calloc(overlay->planes, sizeof(Uint16));
215 overlay->pixels = (Uint8**)SDL_calloc(overlay->planes, sizeof(Uint8*));
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_phyuv.c49 int planes = 0; local
60 planes++;
63 planes++;
66 planes++;
68 return planes;
77 int planes; local
209 planes = grab_ptrs2(overlay->hwdata->channel, overlay->hwdata->FrameData0, overlay->hwdata->FrameData1);
218 /* check for the validness of all planes */
224 SDL_SetError("PgConfigScaler() returns all planes equal NULL\n");
246 overlay->planes
[all...]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/
H A DVideoRenderer.java53 * data. If |yuvPlanes| is null, new planes of the appropriate sizes are
86 * Copy the planes out of |source| into |this| and return |this|. Calling
119 ByteBuffer[] planes = new ByteBuffer[3];
120 planes[0] = ByteBuffer.wrap(yuvData, 0, planeSize);
121 planes[1] = ByteBuffer.wrap(yuvData, planeSize, planeSize / 4);
122 planes[2] = ByteBuffer.wrap(yuvData, planeSize + planeSize / 4,
126 yuvPlanes[i].put(planes[i]);
/external/chromium_org/content/common/gpu/media/
H A Dv4l2_video_encode_accelerator.cc492 struct v4l2_plane planes[VIDEO_MAX_PLANES]; local
497 memset(&planes, 0, sizeof(planes));
500 dqbuf.m.planes = planes;
525 memset(planes, 0, sizeof(planes));
528 dqbuf.m.planes = planes;
545 size_t output_size = dqbuf.m.planes[
1038 struct v4l2_plane planes[1]; local
[all...]
/external/chromium_org/remoting/codec/
H A Dvideo_decoder_vpx.cc200 libyuv::I444ToARGB(last_image_->planes[0] + y_offset,
202 last_image_->planes[1] + u_offset,
204 last_image_->planes[2] + v_offset,
246 ScaleYUVToRGB32(last_image_->planes[0] + y_offset,
247 last_image_->planes[1] + uv_offset,
248 last_image_->planes[2] + uv_offset,
278 ConvertAndScaleYUVToRGB32Rect(last_image_->planes[0],
279 last_image_->planes[1],
280 last_image_->planes[2],
/external/chromium_org/ui/ozone/platform/dri/
H A Dhardware_display_plane_manager.cc43 drmModeGetPlane(drm_->get_fd(), plane_resources->planes[i]));
/external/opencv/cv/src/
H A Dcvtemplmatch.cpp159 CvMat* planes[] = { 0, 0, 0, 0 }; local
167 planes[k] = templ_depth == max_depth ? dst :
169 cvSplit( templ, planes[0], planes[1], planes[2], planes[3] );
170 src = planes[k];
171 planes[k] = 0;
203 CvMat* planes[] = { 0, 0, 0, 0 }; local
232 planes[
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_loopfilter.h116 struct macroblockd_plane planes[MAX_MB_PLANE],
122 struct macroblockd_plane planes[MAX_MB_PLANE]; member in struct:LoopFilterWorkerData
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
H A DSDL_xbios_centscreen.c77 void SDL_XBIOS_CentscreenSetmode(_THIS, int width, int height, int planes) argument
84 newmode.plan = planes;
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dvpxdec.c59 "Flip the chroma planes in the output");
142 return I420Scale_16((uint16_t*)src->planes[VPX_PLANE_Y],
144 (uint16_t*)src->planes[VPX_PLANE_U],
146 (uint16_t*)src->planes[VPX_PLANE_V],
149 (uint16_t*)dst->planes[VPX_PLANE_Y],
151 (uint16_t*)dst->planes[VPX_PLANE_U],
153 (uint16_t*)dst->planes[VPX_PLANE_V],
161 return I420Scale(src->planes[VPX_PLANE_Y], src->stride[VPX_PLANE_Y],
162 src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U],
163 src->planes[VPX_PLANE_
274 update_image_md5(const vpx_image_t *img, const int planes[3], MD5Context *md5) argument
292 write_image_file(const vpx_image_t *img, const int planes[3], FILE *file) argument
1085 const int *planes = flipuv ? PLANES_YVU : PLANES_YUV; local
[all...]

Completed in 9447 milliseconds

12345