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

1 2 3 4 5 6 7 8 910

  /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;
145 uint8_t* yuv, int* offsets) {
161 uint8_t* yuvOffset = yuv + offsets[0];
186 void Yuv422IToJpegEncoder::deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows,
189 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0];
217 jbyte* yuv = env->GetByteArrayElements(inYuv, NULL); local
226 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality);
229 env->ReleaseByteArrayElements(inYuv, yuv, 0)
    [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.
  /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...]
YUVCanvas.h 41 // Fills the entire image with the given YUV values.
44 // Fills the rectangular region [startX,endX]x[startY,endY] with the given YUV values.
  /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 */
  /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/dec/
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/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;
  /hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
VPPTest.c 343 /* found YUV output */
352 APP_DPRINT("VPPTEST:: YUV output port is %d\n", pVppPortDef->yuvoutput_port);
528 printf("usage: %S <input.yuv><file_desc><Inp. Width><Inp. Height><Inp. color><0:no overlay/1:overlay><Out. Width><Out Height><yuv color><rgb color><0 :Internal 1 :external allocation><Feature [0-8]>\n",
530 printf("./VPPTest_common patterns/qciftest.yuv qcif_qqcif 176 144 1 0 88 72 1 2 0 0\n");
532 printf("usage: %s <input.yuv><file_desc><Inp. Width><Inp. Height><Inp. color><0:no overlay/1:overlay><Out. Width><Out Height><yuv color><rgb color><0 :Internal 1 :external allocation><Feature [0-8]>\n",
534 printf("./VPPTest_common patterns/qciftest.yuv qcif_qqcif 176 144 1 0 88 72 1 2 0 0\n");
590 else if(yuvoutputcolor) /*Only YUV output*/
617 printf("usage: %S <input.yuv> <output desc> <Inp. width> <Inp. Height> <0:no overlay/1:overlay> <outputwidth> <outputheight> <0 (…)
    [all...]
  /frameworks/av/libvideoeditor/vss/src/
M4PTO3GPP_VideoPreProcessing.c 86 /* In case of error when getting YUV to encode (ex: error when decoding a JPEG) */
106 pC->pSavedPlane = pPlaneOut; /* Save the last YUV plane ptr */
118 /** Copy the last YUV plane into the current one
  /frameworks/av/libvideoeditor/vss/video_filters/src/
M4VIFI_ResizeYUVtoBGR565.c 51 * @param pPlaneIn: (IN) Pointer to YUV plane buffer
55 * @return M4VIFI_ILLEGAL_FRAME_HEIGHT: YUV Plane height is ODD
56 * @return M4VIFI_ILLEGAL_FRAME_WIDTH: YUV Plane width is ODD
85 /* Check for the YUV width and height are even */
290 /* YUV to RGB */
320 /* YUV to RGB */
345 /* YUV to RGB */
373 /* YUV to RGB */
  /external/libyuv/files/include/libyuv/
general.h 13 * General operations on YUV images.
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_yuv_sw_c.h 27 /* This is the software implementation of the YUV video overlay support */
SDL_yuvfuncs.h 24 /* This is the definition of the YUV video surface function structure */
  /external/qemu/distrib/sdl-1.2.12/src/video/directfb/
SDL_DirectFB_yuv.h 24 /* This is the DirectFB implementation of YUV video overlays */
  /external/qemu/distrib/sdl-1.2.12/src/video/photon/
SDL_phyuv_c.h 27 /* This is the photon implementation of YUV video overlays */

Completed in 973 milliseconds

1 2 3 4 5 6 7 8 910