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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /external/qemu/distrib/sdl-1.2.15/test/
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...]
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...]
  /external/libyuv/
BUILD 4 # The libyuv package provides implementation yuv image conversion and
README.google 7 libyuv is an open-source library for yuv conversion and scaling.
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_FreeYUVOverlay.3 3 SDL_FreeYUVOverlay \- Free a YUV video overlay
SDL_CreateYUVOverlay.3 3 SDL_CreateYUVOverlay \- Create a YUV video overlay
11 \fBSDL_CreateYUVOverlay\fP creates a YUV overlay of the specified \fBwidth\fR, \fBheight\fR and \fBformat\fR (see \fI\fBSDL_Overlay\fR\fR for a list of available formats), for the provided \fBdisplay\fR\&. A \fI\fBSDL_Overlay\fR\fR structure is returned\&.
SDL_Overlay.3 3 SDL_Overlay \- YUV video overlay
38 A \fBSDL_Overlay\fR is similar to a \fI\fBSDL_Surface\fR\fR except it stores a YUV overlay\&. All the fields are read only, except for \fBpixels\fR which should be \fIlocked\fR before use\&. The \fBformat\fR field stores the format of the overlay which is one of the following:
48 More information on YUV formats can be found at \fIhttp://www\&.webartz\&.com/fourcc/indexyuv\&.htm (link to URL http://www.webartz.com/fourcc/indexyuv.htm) \fR\&.
  /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...]
  /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...]
  /external/qemu/android/camera/
camera-win.h 43 #define V4L2_PIX_FMT_YUYV v4l2_fourcc('Y','U','Y','V') /* 16 YUV 4:2:2 */
44 #define V4L2_PIX_FMT_UYVY v4l2_fourcc('U','Y','V','Y') /* 16 YUV 4:2:2 */
47 #define V4L2_PIX_FMT_Y41P v4l2_fourcc('Y','4','1','P') /* 12 YUV 4:1:1 */
49 #define V4L2_PIX_FMT_YUV555 v4l2_fourcc('Y','U','V','O') /* 16 YUV-5-5-5 */
50 #define V4L2_PIX_FMT_YUV565 v4l2_fourcc('Y','U','V','P') /* 16 YUV-5-6-5 */
51 #define V4L2_PIX_FMT_YUV32 v4l2_fourcc('Y','U','V','4') /* 32 YUV-8-8-8-8 */
58 #define V4L2_PIX_FMT_YUV410 v4l2_fourcc('Y','U','V','9') /* 9 YUV 4:1:0 */
59 #define V4L2_PIX_FMT_YUV420 v4l2_fourcc('Y','U','1','2') /* 12 YUV 4:2:0 */
60 #define V4L2_PIX_FMT_YYUV v4l2_fourcc('Y','Y','U','V') /* 16 YUV 4:2:2 */
62 #define V4L2_PIX_FMT_HM12 v4l2_fourcc('H','M','1','2') /* 8 YUV 4:2:0 16x16 macroblocks *
    [all...]
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...]
  /frameworks/av/include/media/stagefright/
YUVImage.h 17 // A container class to hold YUV data and provide various utilities,
26 // to YUV channels for different formats:
32 // Location of any pixel's YUV channels can then be easily computed using these.
48 // Supported YUV formats
65 // Returns the size of the buffer required to store the YUV data for the given
77 // Get the pixel YUV value at pixel (x,y).
83 // Set the pixel YUV value at pixel (x,y).
108 // Convert the given YUV value to RGB.
117 // YUV Format of the image.
153 // for the YUV channels. Note that this corresponds to data rows and not pixel rows
    [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...]
  /external/libvpx/vpx_scale/
yv12config.h 35 REG_YUV = 0, /* Regular yuv */
36 INT_YUV = 1 /* The type of yuv that can be tranfer to and from RGB through integer transform */
  /frameworks/base/graphics/java/android/renderscript/
ScriptIntrinsicYuvToRGB.java 21 * Intrinsic for converting an Android YUV buffer to RGB.
35 * Create an intrinsic for converting YUV to RGB.
53 * Set the input yuv allocation, must be {@link Element#U8}.
  /frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/
RsYuv.java 51 mScript = new ScriptC_yuv(mRS, res, R.raw.yuv);
70 void execute(byte[] yuv, Bitmap b) {
71 mAllocationIn.copyFrom(yuv);
  /frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
ScriptIntrinsicYuvToRGB.java 21 * Intrinsic for converting an Android YUV buffer to RGB.
35 * Create an intrinsic for converting YUV to RGB.
53 * Set the input yuv allocation, must be {@link Element#U8}.
  /development/tools/emulator/system/camera/
Converters.h 141 * Basics of RGB -> YUV conversion
145 * RGB -> YUV conversion macros
151 /* Converts R8 G8 B8 color to YUV. */
160 /* Converts RGB565 color to YUV. */
167 /* Converts RGB32 color to YUV. */
177 * Basics of YUV -> RGB conversion.
179 * RGB format that is used is RGB565, we can limit YUV -> RGB conversions to
184 * YUV -> RGB conversion macros
204 /* Converts YUV color to RGB565. */
216 /* Converts YUV color to RGB32. *
    [all...]
  /external/webp/src/dsp/
yuv.c 8 // YUV->RGB conversion function
12 #include "./yuv.h"
  /frameworks/av/libvideoeditor/lvpp/
NativeWindowRenderer.cpp 44 // Here we assume YUV are in the range of [0,255], RGB are in the range of
90 " vec4 yuv = rgb2yuv * rgb;\n"
91 " yuv = vec4(yuv.x, 117.0, 139.0, 1.0);\n"
92 " gl_FragColor = yuv2rgb * yuv;\n"
104 " vec4 yuv = rgb2yuv * rgb;\n"
105 " yuv = vec4(255.0 - yuv.x, yuv.y, yuv.z, 1.0);\n
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/ps3/
SDL_ps3yuv.c 69 /* Scaled YUV picture */
88 SDL_SetError ("Can't use YUV data on non 16/24/32 bit surfaces");
96 /* Supported YUV format */
99 SDL_SetError("Unsupported YUV format");
120 /* Set up the PS3 YUV surface function structure */
252 SDL_SetError("Unsupported YUV format in blit");
257 /* Alloc mem for scaled YUV picture */
276 /* Scale the YUV overlay to given size */
296 /* Convert YUV overlay to RGB */
  /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;

Completed in 458 milliseconds

1 2 3 4 5 6 7 8 91011>>