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

1 2

  /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
  /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
  /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.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...]
  /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...]
  /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...]
  /device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
mm_qcamera_display.c 69 } yuv; variable in typeref:union:__anon4099
178 /* Initialize yuv structure */
179 yuv.list.count = 1;
181 e = &yuv.list.req[0];
240 result = ioctl(fb_fd, MSMFB_BLIT, &yuv.list);
461 /* Initialize yuv structure */
462 yuv.list.count = 1;
463 e = &yuv.list.req[0];
521 /* Initialize yuv structure */
522 yuv.list.count = 1
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_compositor.h 110 void *yuv; member in struct:vl_compositor::__anon18416
127 * set yuv -> rgba conversion matrix
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_compositor.h 110 void *yuv; member in struct:vl_compositor::__anon10900
127 * set yuv -> rgba conversion matrix
  /frameworks/rs/
rsAllocation.h 63 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State
90 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
  /hardware/intel/img/hwcomposer/include/
DataBuffer.h 40 } yuv; member in union:android::intel::stride::__anon19916
  /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...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/
rsAllocation.h 63 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State
90 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/
rsAllocation.h 63 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State
90 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/
rsAllocation.h 63 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State
90 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
  /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...]
  /cts/tests/tests/media/src/android/media/cts/
Vp8CodecTestBase.java 82 // were calculated and were written to yuv file.
259 outputIvfBaseName + resolutionScales[i]+ ".yuv";
316 private static byte[] YUV420ToNV(int width, int height, byte[] yuv) {
317 byte[] nv = new byte[yuv.length];
319 System.arraycopy(yuv, 0, nv, 0, width * height);
326 nv[nv_offset++] = yuv[u_offset++];
327 nv[nv_offset++] = yuv[v_offset++];
338 byte[] yuv = new byte[width * height * 3 / 2];
342 System.arraycopy(nv12, i * stride, yuv, i * width, width);
352 yuv[u_offset++] = nv12[nv_offset++]
541 FileOutputStream yuv = null; local
    [all...]
  /external/chromium_org/cc/output/
shader.cc 1349 vec3 yuv = vec3(y_raw, u_unsigned, v_unsigned) + yuv_adj; local
1413 vec3 yuv = vec3(y_raw, u_unsigned, v_unsigned) + yuv_adj; local
    [all...]
  /external/chromium_org/content/browser/media/capture/
web_contents_video_capture_device_unittest.cc 67 uint8 yuv[3]; local
69 yuv, yuv + 1, yuv + 2, 1, 1, 1, 1, 1); local
70 return SkColorSetRGB(yuv[0], yuv[1], yuv[2]);
358 uint8 yuv[3]; variable
360 yuv[plane] = frame->data(plane)[0];
364 color_callback_.Run((SkColorSetRGB(yuv[0], yuv[1], yuv[2])))
    [all...]
  /external/chromium_org/gpu/tools/compositor_model_bench/
shaders.cc 185 vec3 yuv = vec3(y_raw, u_unsigned, v_unsigned) + yuv_adj; local
186 vec3 rgb = cc_matrix * yuv;
319 // Set YUV offset.
322 // Set YUV matrix.
  /external/chromium_org/third_party/libjpeg_turbo/
tjbench.c 49 int flags=TJFLAG_NOREALLOC, decomponly=0, yuv=0, quiet=0, dotile=0, variable
99 int scaledw=(yuv==YUVDECODE)? w : TJSCALED(w, sf);
100 int scaledh=(yuv==YUVDECODE)? h : TJSCALED(h, sf);
114 bufsize=(yuv==YUVDECODE? yuvsize:pitch*scaledh);
126 if(yuv==YUVDECODE)
139 if(yuv==YUVDECODE)
171 if(yuv==YUVDECODE)
173 snprintf(tempstr, 1024, "%s_%s%s.yuv", filename, subName[subsamp],
176 _throwunix("opening YUV image for output");
178 _throwunix("writing YUV image")
    [all...]
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/native/opengl/tests/hwc/
hwcTestLib.cpp 801 bool yuv; member in struct:attrib
871 // If needed perform RGB to YUV conversion
873 if (fromAttrib->rgb && toAttrib->yuv) {
879 // Produce black if color is outside the YUV gamut
890 // If needed perform YUV to RGB conversion
891 // Equations determined from the ITU709 equations for RGB to YUV
910 if (fromAttrib->yuv && toAttrib->rgb) {
    [all...]

Completed in 3520 milliseconds

1 2