HomeSort by relevance Sort by last modified time
    Searched full:yuv (Results 1 - 25 of 372) 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 scaling, conversion, comparison
  /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...]
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
callback.rs 71 // Makes up a conversion for unknown YUV types to try to display something
72 // Asssumes that there's at least 1bpp in input YUV data
85 // Converts semiplanar YVU to interleaved YUV, nearest neighbor
102 // Converts planar YVU to interleaved YUV, nearest neighbor
118 // Converts interleaved 4:2:2 YUV to interleaved YUV, nearest neighbor
  /external/libvpx/libvpx/third_party/libyuv/
README.webm 8 libyuv is an open source project that includes YUV conversion and scaling
  /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...]
  /external/libvpx/libvpx/vpx_scale/
yv12config.h 36 REG_YUV = 0, /* Regular yuv */
37 INT_YUV = 1 /* The type of yuv that can be tranfer to and from RGB through integer transform */
  /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...]
  /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/support/v8/renderscript/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.
58 * Set the input yuv allocation, must be {@link Element#U8}.
TypeThunker.java 58 int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) {
68 if (yuv > 0) tb.setYuvFormat(yuv);
  /device/generic/goldfish/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...]

Completed in 434 milliseconds

1 2 3 4 5 6 7 8 91011>>