/external/libdrm/tests/util/ |
format.h | 59 const struct util_yuv_info yuv; member in struct:util_format_info
|
pattern.c | 76 static void fill_smpte_yuv_planar(const struct util_yuv_info *yuv, 109 unsigned int cs = yuv->chroma_stride; 110 unsigned int xsub = yuv->xsub; 111 unsigned int ysub = yuv->ysub; 180 static void fill_smpte_yuv_packed(const struct util_yuv_info *yuv, void *mem, 212 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1; 213 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1; 214 unsigned int u = (yuv->order & YUV_YCrCb) ? 2 : 0; 215 unsigned int v = (yuv->order & YUV_YCbCr) ? 2 : 0; 475 return fill_smpte_yuv_packed(&info->yuv, planes[0], width 614 const struct util_yuv_info *yuv = &info->yuv; local 647 const struct util_yuv_info *yuv = &info->yuv; local [all...] |
/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); 153 scale_x * w, scale_y * h, x, y, w, h, yuv); local
|
/prebuilts/misc/windows/sdl2/test/ |
testoverlay2.c | 154 RGBtoYUV(Uint8 * rgb, int *yuv, int monochrome, int luminance) 158 yuv[0] = (int)(0.299 * rgb[0] + 0.587 * rgb[1] + 0.114 * rgb[2]); 159 yuv[1] = 128; 160 yuv[2] = 128; 162 yuv[0] = (int)(0.257 * rgb[0]) + (0.504 * rgb[1]) + (0.098 * rgb[2]) + 16; 163 yuv[1] = 128; 164 yuv[2] = 128; 168 yuv[0] = (int)(0.299 * rgb[0] + 0.587 * rgb[1] + 0.114 * rgb[2]); 169 yuv[1] = (int)((rgb[2] - yuv[0]) * 0.565 + 128) 190 int yuv[3]; local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_compositor.h | 126 void *yuv; member in struct:vl_compositor::__anon29463 143 * set yuv -> rgba conversion matrix
|
/external/skia/src/pdf/ |
SkPDFBitmap.cpp | 370 * This PDFObject assumes that its constructor was handed YUV or 416 bool yuv = info.fType == SkJFIFInfo::kYCbCr; local 422 return sk_make_sp<PDFJpegBitmap>(info.fSize, data.get(), yuv); 431 bool yuv = info.fType == SkJFIFInfo::kYCbCr; local 433 return sk_make_sp<PDFJpegBitmap>(info.fSize, data.get(), yuv);
|
/external/skqp/src/pdf/ |
SkPDFBitmap.cpp | 370 * This PDFObject assumes that its constructor was handed YUV or 416 bool yuv = info.fType == SkJFIFInfo::kYCbCr; local 422 return sk_make_sp<PDFJpegBitmap>(info.fSize, data.get(), yuv); 431 bool yuv = info.fType == SkJFIFInfo::kYCbCr; local 433 return sk_make_sp<PDFJpegBitmap>(info.fSize, data.get(), yuv);
|
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.cpp | 89 uint8_t* yuv, int* offsets) { 101 uint8_t* yPlanar = yuv + offsets[0]; 102 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; 165 uint8_t* yuv, int* offsets) { 181 uint8_t* yuvOffset = yuv + offsets[0]; 207 void Yuv422IToJpegEncoder::deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, 212 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0]; 240 jbyte* yuv = env->GetByteArrayElements(inYuv, NULL); local 248 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); 253 env->ReleaseByteArrayElements(inYuv, yuv, 0) [all...] |
/frameworks/rs/ |
rsAllocation.h | 63 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State 99 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
|
rsInternalDefines.h | 220 uint32_t yuv; member in struct:__anon46725
|
/hardware/intel/img/hwcomposer/merrifield/include/ |
DataBuffer.h | 40 } yuv; member in union:android::intel::stride::__anon47681
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
DataBuffer.h | 40 } yuv; member in union:android::intel::stride::__anon47726
|
/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/mesa3d/src/compiler/nir/ |
nir_lower_tex.c | 243 nir_ssa_def *yuv = local 251 nir_ssa_def *red = nir_fdot4(b, yuv, nir_build_imm(b, 4, 32, m[0])); 252 nir_ssa_def *green = nir_fdot4(b, yuv, nir_build_imm(b, 4, 32, m[1])); 253 nir_ssa_def *blue = nir_fdot4(b, yuv, nir_build_imm(b, 4, 32, m[2]));
|
/external/skia/src/codec/ |
SkJpegCodec.cpp | 791 // It is possible to perform a YUV decode for any combination of 895 JSAMPARRAY yuv[3]; local [all...] |
/external/skqp/src/codec/ |
SkJpegCodec.cpp | 790 // It is possible to perform a YUV decode for any combination of 894 JSAMPARRAY yuv[3]; local [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcTestLib.cpp | 798 bool yuv; member in struct:attrib 868 // If needed perform RGB to YUV conversion 870 if (fromAttrib->rgb && toAttrib->yuv) { 876 // Produce black if color is outside the YUV gamut 887 // If needed perform YUV to RGB conversion 888 // Equations determined from the ITU709 equations for RGB to YUV 907 if (fromAttrib->yuv && toAttrib->rgb) { [all...] |
/frameworks/rs/driver/runtime/ |
rs_structs.h | 42 uint32_t yuv; member in struct:Allocation::__anon46692::__anon46693 77 } yuv; member in struct:Allocation::__anon46692::DrvState
|
/cts/tests/tests/media/src/android/media/cts/ |
VpxCodecTestBase.java | 84 // were calculated and were written to yuv file. 265 outputIvfBaseName + resolutionScales[i]+ ".yuv"; 326 private static byte[] YUV420ToNV(int width, int height, byte[] yuv) { 327 byte[] nv = new byte[yuv.length]; 329 System.arraycopy(yuv, 0, nv, 0, width * height); 336 nv[nv_offset++] = yuv[u_offset++]; 337 nv[nv_offset++] = yuv[v_offset++]; 348 byte[] yuv = new byte[width * height * 3 / 2]; 352 System.arraycopy(nv12, i * stride, yuv, i * width, width); 362 yuv[u_offset++] = nv12[nv_offset++] 552 FileOutputStream yuv = null; local [all...] |
/frameworks/rs/rsov/driver/ |
rsovRuntimeStubs.cpp | 257 RsYuvFormat yuv = (RsYuvFormat)yuv_format; local 258 if (yuv != RS_YUV_NONE && yuv != RS_YUV_YV12 && yuv != RS_YUV_NV21 && 259 yuv != RS_YUV_420_888) { 297 ALOGE("rs_type creation error: YUV only supports basic 2D."); [all...] |
/external/webrtc/talk/media/base/ |
videoframe_unittest.h | 53 #define kImageFilename "faces.1280x720_P420.yuv" 187 rtc::sprintfn(filename, sizeof(filename), "%s.%dx%d_P420.yuv", 241 // Create a test image for YUV 420 formats with 12 bits per pixel. 349 uint8_t yuv[4][3]; local 356 &yuv[i][0], &yuv[i][1], &yuv[i][2]); 358 frame->GetYPlane()[stride_y * y + x] = yuv[0][0]; 360 frame->GetYPlane()[stride_y * y + x + 1] = yuv[1][0]; 363 frame->GetYPlane()[stride_y * (y + 1) + x] = yuv[2][0] [all...] |
/frameworks/rs/driver/ |
rsdRuntimeStubs.cpp | 276 RsYuvFormat yuv = (RsYuvFormat) yuv_format; local 277 if (yuv != RS_YUV_NONE && 278 yuv != RS_YUV_YV12 && 279 yuv != RS_YUV_NV21 && 280 yuv != RS_YUV_420_888) { 317 ALOGE("rs_type creation error: YUV only supports basic 2D."); [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/ |
venc_test.cpp | 40 // FILE QVGA MP4 24 384000 100 enc_qvga.yuv QVGA_24.m4v 41 // FILE QCIF MP4 15 96000 0 foreman.qcif.yuv output_qcif.m4v 42 // FILE VGA MP4 24 1200000 218 enc_vga.yuv vga_output.m4v 1444 OMX_U8 *yuv = pYUVBuffer->pBuffer; local [all...] |
/prebuilts/sdk/renderscript/lib/ |
javalib.jar | |
/external/zxing/core/ |
core.jar | |