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

1 2

  /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
232 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality);
235 env->ReleaseByteArrayElements(inYuv, yuv, 0)
    [all...]
  /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...]
  /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/Gallery2/jni_mosaic/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 58 int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) {
68 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;
  /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...]
  /device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
mm_qcamera_display.c 71 } yuv; variable in typeref:union:__anon1712
180 /* Initialize yuv structure */
181 yuv.list.count = 1;
183 e = &yuv.list.req[0];
242 result = ioctl(fb_fd, MSMFB_BLIT, &yuv.list);
463 /* Initialize yuv structure */
464 yuv.list.count = 1;
465 e = &yuv.list.req[0];
523 /* Initialize yuv structure */
524 yuv.list.count = 1
    [all...]
  /external/webp/src/dec/
Android.mk 39 ../dsp/yuv.c \
  /external/webp/src/enc/
Android.mk 42 ../dsp/yuv.c \
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
RsYuv.java 111 void execute(byte[] yuv) {
112 mAllocationIn.copyFrom(yuv);
  /frameworks/rs/
rsType.h 117 bool dimLOD, bool dimFaces, uint32_t yuv) {
118 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv);
rsType.cpp 114 // YUV only supports basic 2d
340 uint32_t dimY, uint32_t dimZ, bool mips, bool faces, uint32_t yuv) {
343 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces, yuv);
  /frameworks/av/media/libstagefright/codecs/avc/common/include/
avcapi_common.h 199 @param yuv The address of the yuv pointer returned to the AVC lib.
202 typedef int (*FunctionType_FrameBind)(void *userData, int indx, uint8 **yuv);
  /frameworks/av/media/libstagefright/codecs/avc/enc/
SoftAVCEncoder.h 60 int32_t bindOutputBuffer(int32_t index, uint8_t **yuv);
SoftAVCEncoder.cpp 158 void *userData, int32_t index, uint8_t **yuv) {
161 return encoder->bindOutputBuffer(index, yuv);
    [all...]
  /frameworks/compile/libbcc/lib/Renderscript/runtime/
rs_structs.h 35 uint32_t yuv; member in struct:Allocation::__anon19915::__anon19916
  /external/qemu/android/camera/
camera-format-converters.c 149 * Basics of RGB -> YUV conversion
153 * RGB -> YUV conversion macros
159 /* Converts R8 G8 B8 color to YUV. */
168 /* Converts RGB565 color to YUV. */
175 /* Converts RGB32 color to YUV. */
185 * Basics of YUV -> RGB conversion.
189 * YUV -> RGB conversion macros
209 /* Converts YUV color to RGB565. */
221 /* Converts YUV color to RGB32. */
234 /* Converts YUV color to separated RGB32 colors. *
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
ShaderChromium.cpp 286 vec3 yuv = vec3(y_raw, u_unsigned, v_unsigned) + yuv_adj; local
287 vec3 rgb = cc_matrix * yuv;
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicYuvToRGB.cpp 134 switch (cp->alloc->mHal.state.yuv) {
135 // In API 17 there was no yuv format and the intrinsic treated everything as NV21
146 // Legacy yuv support didn't fill in uv

Completed in 869 milliseconds

1 2