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

1 2 3 4

  /hardware/intel/img/hwcomposer/ips/common/
GrallocBufferBase.cpp 62 mStride.yuv.yStride = yStride;
63 mStride.yuv.uvStride = uvStride;
68 mStride.yuv.yStride = yStride;
69 mStride.yuv.uvStride = uvStride;
75 mStride.yuv.yStride = yStride;
76 mStride.yuv.uvStride = uvStride;
82 mStride.yuv.yStride = yStride;
83 mStride.yuv.uvStride = uvStride;
  /external/qemu/distrib/sdl-1.2.15/test/
testoverlay2.c 58 void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance)
63 yuv[0] = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2];
64 yuv[1] = 128;
65 yuv[2] = 128;
67 yuv[0] = (0.257 * rgb[0]) + (0.504 * rgb[1]) + (0.098 * rgb[2]) + 16;
68 yuv[1] = 128;
69 yuv[2] = 128;
75 yuv[0] = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2];
76 yuv[1] = (rgb[2]-yuv[0])*0.565 + 128
96 int yuv[3]; local
129 int yuv[3]; local
162 int yuv[3]; local
195 int yuv[3]; local
231 int yuv[3]; local
    [all...]
testoverlay.c 35 void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance)
40 yuv[0] = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2];
41 yuv[1] = 128;
42 yuv[2] = 128;
44 yuv[0] = (0.257 * rgb[0]) + (0.504 * rgb[1]) + (0.098 * rgb[2]) + 16;
45 yuv[1] = 128;
46 yuv[2] = 128;
52 yuv[0] = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2];
53 yuv[1] = (rgb[2]-yuv[0])*0.565 + 128
84 int yuv[3]; local
124 int yuv[3]; local
164 int yuv[3]; local
197 int yuv[3]; local
233 int yuv[3]; local
    [all...]
  /frameworks/base/core/jni/android/graphics/
YuvToJpegEncoder.h 13 /** Create an encoder based on the YUV format.
15 * @param pixelFormat The yuv pixel format as defined in ui/PixelFormat.h.
23 /** Encode YUV data to jpeg, which is output to a stream.
26 * @param inYuv The input yuv data.
27 * @param width Width of the the Yuv data in terms of pixels.
28 * @param height Height of the Yuv data in terms of pixels.
45 uint8_t* yuv, int* offsets) = 0;
55 void deinterleaveYuv(uint8_t* yuv, int width, int height,
59 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
69 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets)
    [all...]
YuvToJpegEncoder.cpp 72 uint8_t* yuv, int* offsets) {
84 uint8_t* yPlanar = yuv + offsets[0];
85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
148 uint8_t* yuv, int* offsets) {
164 uint8_t* yuvOffset = yuv + offsets[0];
190 void Yuv422IToJpegEncoder::deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows,
195 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0];
223 jbyte* yuv = env->GetByteArrayElements(inYuv, NULL); local
231 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality);
236 env->ReleaseByteArrayElements(inYuv, yuv, 0)
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
crop_yuvf_420_to_yuvx_444.rs 19 // Must be YUV 420 888 (flexible YUV)
33 yuvx_444 yuv = { py, pu, pv };
35 return yuv;
  /cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java 95 byte[] yuv = new byte[width * height * 2];
101 image = new YuvImage(yuv, mFormats[i], width, height, null);
119 image = new YuvImage(yuv, mFormats[i], width, height, null);
133 image = new YuvImage(yuv, format, -1, height, null);
141 image = new YuvImage(yuv, format, width, -1, null);
147 // abnormal case: yuv array is null
150 fail("not catching null yuv data");
205 byte[] yuv = convertArgbsToYuvs(argb, stride, height, ImageFormat.NV21);
209 YuvImage image = new YuvImage(yuv, ImageFormat.NV21, width, height, strides);
210 assertEquals(yuv, image.getYuvData())
    [all...]
  /device/lge/mako/camera/mm-camera-interface/
mm_jpeg_encoder.c 135 thumbnail_buffer = tn_img_info.p_fragments[0].color.yuv.luma_buf;
140 snapshot_buffer = main_img_info.p_fragments[0].color.yuv.luma_buf;
255 jpeg_buffer_destroy(&tn_img_info.p_fragments[0].color.yuv.luma_buf);
256 jpeg_buffer_destroy(&tn_img_info.p_fragments[0].color.yuv.chroma_buf);
258 jpeg_buffer_destroy(&main_img_info.p_fragments[0].color.yuv.luma_buf);
259 jpeg_buffer_destroy(&main_img_info.p_fragments[0].color.yuv.chroma_buf);
351 (usethumbnail && (rc = jpeg_buffer_init(&tn_img_info.p_fragments[0].color.yuv.luma_buf))) ||
352 (usethumbnail && (rc = jpeg_buffer_init(&tn_img_info.p_fragments[0].color.yuv.chroma_buf))) ||
353 (rc = jpeg_buffer_init(&main_img_info.p_fragments[0].color.yuv.luma_buf)) ||
354 (rc = jpeg_buffer_init(&main_img_info.p_fragments[0].color.yuv.chroma_buf)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
xa_yuv.c 70 xa_yuv_bind_samplers(struct xa_context *r, struct xa_surface *yuv[])
88 u_sampler_view_default_template(&view_templ, yuv[i]->tex,
89 yuv[i]->tex->format);
92 r->pipe->create_sampler_view(r->pipe, yuv[i]->tex, &view_templ);
121 struct xa_surface *dst, struct xa_surface *yuv[])
137 xa_yuv_bind_samplers(r, yuv);
152 scale_x * w, scale_y * h, x, y, w, h, yuv); local
xa_context.h 49 * @yuv is an array of three xa_yuv_component surfaces.
63 struct xa_surface *dst, struct xa_surface *yuv[]);
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_yuv.c 70 xa_yuv_bind_samplers(struct xa_context *r, struct xa_surface *yuv[])
88 u_sampler_view_default_template(&view_templ, yuv[i]->tex,
89 yuv[i]->tex->format);
92 r->pipe->create_sampler_view(r->pipe, yuv[i]->tex, &view_templ);
121 struct xa_surface *dst, struct xa_surface *yuv[])
137 xa_yuv_bind_samplers(r, yuv);
152 scale_x * w, scale_y * h, x, y, w, h, yuv); local
xa_context.h 49 * @yuv is an array of three xa_yuv_component surfaces.
63 struct xa_surface *dst, struct xa_surface *yuv[]);
  /development/perftests/panorama/feature_mos/src/mosaic/
ImageUtils.cpp 366 // VC 8 does not like calling free on yuv->Y.ptr since it is in
368 // calling mapYUVInforToImage yuv->Y.ptr points to the begginning
370 YUVinfo *yuv = (YUVinfo *) calloc(sizeof(YUVinfo), 1); local
371 if (yuv) {
372 yuv->Y.width = yuv->Y.pitch = width;
373 yuv->Y.height = height;
374 yuv->Y.border = yuv->U.border = yuv->V.border = (unsigned short) 0
    [all...]
  /packages/apps/Camera/jni/feature_mos/src/mosaic/
ImageUtils.cpp 366 // VC 8 does not like calling free on yuv->Y.ptr since it is in
368 // calling mapYUVInforToImage yuv->Y.ptr points to the begginning
370 YUVinfo *yuv = (YUVinfo *) calloc(sizeof(YUVinfo), 1); local
371 if (yuv) {
372 yuv->Y.width = yuv->Y.pitch = width;
373 yuv->Y.height = height;
374 yuv->Y.border = yuv->U.border = yuv->V.border = (unsigned short) 0
    [all...]
  /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
ImageUtils.cpp 366 // VC 8 does not like calling free on yuv->Y.ptr since it is in
368 // calling mapYUVInforToImage yuv->Y.ptr points to the begginning
370 YUVinfo *yuv = (YUVinfo *) calloc(sizeof(YUVinfo), 1); local
371 if (yuv) {
372 yuv->Y.width = yuv->Y.pitch = width;
373 yuv->Y.height = height;
374 yuv->Y.border = yuv->U.border = yuv->V.border = (unsigned short) 0
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
TypeThunker.java 62 int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) {
73 if (yuv > 0) tb.setYuvFormat(yuv);
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
PlanarYUVLuminanceSource.java 24 * This object extends LuminanceSource around an array of YUV data returned from the camera driver,
95 byte[] yuv = yuvData;
98 System.arraycopy(yuv, inputOffset, matrix, outputOffset, width);
113 byte[] yuv = yuvData;
119 int grey = yuv[inputOffset + x] & 0xff;
  /external/chromium_org/third_party/libjpeg_turbo/
tjunittest.c 49 printf("-yuv = test YUV encoding/decoding support\n");
80 int yuv=0, alloc=0; variable
341 if(yuv==YUVENCODE)
342 printf("%s %s -> %s YUV ... ", pixFormatStr[pf],
355 if(yuv==YUVENCODE)
364 *dstSize=(yuv==YUVENCODE? tjBufSizeYUV(w, h, subsamp)
372 if(yuv==YUVENCODE)
373 snprintf(tempStr, 1024, "%s_enc_%s_%s_%s.yuv", basename, pixFormatStr[pf],
380 if(yuv==YUVENCODE
    [all...]
  /frameworks/base/graphics/java/android/graphics/
YuvImage.java 22 * YuvImage contains YUV data and provides a method that compresses a region of
23 * the YUV data to a Jpeg. The YUV data should be provided as a single byte
27 * To compress a rectangle region in the YUV data, users have to specify the
39 * The YUV format as defined in {@link ImageFormat}.
44 * The raw YUV data.
68 * @param yuv The YUV data. In the case of more than one image plane, all the planes must be
70 * @param format The YUV data format as defined in {@link ImageFormat}.
73 * @param strides (Optional) Row bytes of each image plane. If yuv contains padding, the strid
    [all...]
  /external/webp/examples/
dwebp.c 65 YUV,
245 // (http://www.fourcc.org/yuv.php#IMC4). This is a very convenient format for
247 // format=YUV: just save the Y/U/V/A planes sequentially without header.
252 const WebPYUVABuffer* const yuv = &buffer->u.YUVA; local
255 const int pad = (format == YUV) ? 0 : 1;
259 const int a_height = yuv->a ? height : 0;
265 ok &= (fwrite(yuv->y + y * yuv->y_stride, width, 1, fout) == 1);
272 ok &= (fwrite(yuv->u + y * yuv->u_stride, uv_width, 1, fout) == 1)
    [all...]
  /frameworks/rs/
rsGrallocConsumer.cpp 49 if (a->mHal.state.yuv) {
50 bq->setDefaultBufferFormat(a->mHal.state.yuv);
149 if (mAlloc->mHal.state.yuv) {
157 mAlloc->mHal.drvState.yuv.shift = 1;
158 mAlloc->mHal.drvState.yuv.step = ycbcr.chroma_step;
  /frameworks/rs/driver/runtime/
rs_structs.h 39 uint32_t yuv; member in struct:Allocation::__anon39937::__anon39938
65 } yuv; member in struct:Allocation::__anon39937::DrvState
  /frameworks/av/media/libstagefright/codecs/avc/enc/
SoftAVCEncoder.h 55 int32_t bindOutputBuffer(int32_t index, uint8_t **yuv);
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
vp9_denoiser.c 31 static void make_grayscale(YV12_BUFFER_CONFIG *yuv);
475 static void make_grayscale(YV12_BUFFER_CONFIG *yuv) {
477 uint8_t *u = yuv->u_buffer;
478 uint8_t *v = yuv->v_buffer;
482 for (r = 0; r < yuv->uv_height / 2; ++r) {
483 for (c = 0; c < yuv->uv_width / 2; ++c) {
487 u += yuv->uv_stride + yuv->uv_width / 2;
488 v += yuv->uv_stride + yuv->uv_width / 2
    [all...]
  /device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
mm_qcamera_display.c 70 } yuv; variable in typeref:union:__anon3609
179 /* Initialize yuv structure */
180 yuv.list.count = 1;
182 e = &yuv.list.req[0];
241 result = ioctl(fb_fd, MSMFB_BLIT, &yuv.list);
462 /* Initialize yuv structure */
463 yuv.list.count = 1;
464 e = &yuv.list.req[0];
522 /* Initialize yuv structure */
523 yuv.list.count = 1
    [all...]

Completed in 630 milliseconds

1 2 3 4