/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.h | 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); 70 void deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows,
|
D | YuvToJpegEncoder.cpp | 89 uint8_t* yuv, int* offsets) { in compress() argument 101 uint8_t* yPlanar = yuv + offsets[0]; in compress() 102 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; in compress() 165 uint8_t* yuv, int* offsets) { in compress() argument 181 uint8_t* yuvOffset = yuv + offsets[0]; in compress() 207 void Yuv422IToJpegEncoder::deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, in deinterleave() argument 212 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0]; in deinterleave() 240 jbyte* yuv = env->GetByteArrayElements(inYuv, NULL); in YuvImage_compressToJpeg() local 248 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); in YuvImage_compressToJpeg() 253 env->ReleaseByteArrayElements(inYuv, yuv, 0); in YuvImage_compressToJpeg()
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { in YuvImage() argument 92 if (yuv == null) { in YuvImage() 102 mData = yuv; in YuvImage()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | canny.rscript | 21 rs_allocation gCurrentFrame; // yuv 72 uchar4 yuv; 73 yuv.r = 76 yuv.g = rsGetElementAtYuv_uchar_U(gCurrentFrame, x, y); 77 yuv.b = rsGetElementAtYuv_uchar_V(gCurrentFrame, x, y); 78 yuv.a = 255; 81 rgb.r = yuv.r + yuv.b * 1436 / 1024 - 179; 82 rgb.g = yuv.r - yuv.g * 46549 / 131072 + 44 - yuv.b * 93604 / 131072 + 91; 83 rgb.b = yuv.r + yuv.g * 1814 / 1024 - 227;
|
/frameworks/rs/ |
D | rsType.cpp | 240 if (t->getDimYuv() != params->yuv) continue; in getTypeRef() 272 nt->mHal.state.dimYuv = params->yuv; in getTypeRef() 316 p.yuv = getDimYuv(); in cloneAndResize2D() 363 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument 373 p.yuv = yuv; in rsi_TypeCreate()
|
D | rsGrallocConsumer.cpp | 41 if (a->mHal.state.yuv) { in GrallocConsumer() 226 mAlloc[idx]->mHal.drvState.yuv.shift = 1; in lockNextBuffer() 227 mAlloc[idx]->mHal.drvState.yuv.step = uPixStride; in lockNextBuffer()
|
D | rsAllocation.h | 63 uint32_t yuv; member 99 } yuv; member
|
D | rsInternalDefines.h | 220 uint32_t yuv; member
|
D | rsScriptC_Lib.cpp | 341 uint32_t yuv) { in rsrTypeCreate() argument 342 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsrTypeCreate()
|
D | rsRuntime.h | 167 uint32_t yuv);
|
D | rs.spec | 46 param uint32_t yuv
|
D | rsApiStubs.cpp | 314 bool mipmaps, bool faces, uint32_t yuv) in rsTypeCreate() argument 316 return RS_DISPATCH(ctxWrapper, TypeCreate, e, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsTypeCreate()
|
D | rsApiStubs.h | 54 … RsElement e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv);
|
/frameworks/rs/driver/runtime/ |
D | rs_structs.h | 42 uint32_t yuv; member 77 } yuv; member
|
D | rs_allocation.c | 320 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_U() 321 const size_t shift = alloc->mHal.drvState.yuv.shift; in rsGetElementAtYuv_uchar_U() 334 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_V() 335 const size_t shift = alloc->mHal.drvState.yuv.shift; in rsGetElementAtYuv_uchar_V()
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
D | RsYuv.java | 112 void execute(byte[] yuv) { in execute() argument 113 mAllocationIn.copyFrom(yuv); in execute()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 250 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { in DeriveYUVLayout() argument 255 if (yuv == RS_YUV_420_888) { in DeriveYUVLayout() 267 state->yuv.shift = 1; in DeriveYUVLayout() 268 state->yuv.step = 1; in DeriveYUVLayout() 271 switch(yuv) { in DeriveYUVLayout() 291 state->yuv.step = 2; in DeriveYUVLayout() 316 if (alloc->mHal.state.yuv) { in AllocationBuildPointerTable() 317 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in AllocationBuildPointerTable() 822 if (alloc->mHal.state.yuv) { in rsdAllocationIoReceive() 823 DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in rsdAllocationIoReceive() [all …]
|
D | rsdRuntimeStubs.cpp | 276 RsYuvFormat yuv = (RsYuvFormat) yuv_format; in CreateType() local 277 if (yuv != RS_YUV_NONE && in CreateType() 278 yuv != RS_YUV_YV12 && in CreateType() 279 yuv != RS_YUV_NV21 && in CreateType() 280 yuv != RS_YUV_420_888) { in CreateType()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | ion_buffer.cpp | 215 struct android_ycbcr* yuv) { in LockYUV() argument 222 buffer_->lockYCbCr(usage, Rect(x, y, x + width, y + height), yuv); in LockYUV()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | ion_buffer.h | 69 struct android_ycbcr* yuv);
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | RenderScript.java | 375 … long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnTypeCreate() argument 376 …ynchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nTypeCreate() argument 378 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate() 1034 …ng rsnIncTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnIncTypeCreate() argument 1035 …hronized long nIncTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nIncTypeCreate() argument 1037 return rsnIncTypeCreate(mIncCon, eid, x, y, z, mips, faces, yuv); in nIncTypeCreate()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 798 bool yuv; in hwcTestColorConvert() member 870 if (fromAttrib->rgb && toAttrib->yuv) { in hwcTestColorConvert() 907 if (fromAttrib->yuv && toAttrib->rgb) { in hwcTestColorConvert()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicYuvToRGB.cpp | 124 size_t cstep = cp->alloc->mHal.drvState.yuv.step; in kernel()
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 1016 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nTypeCreate() argument 1019 (RsContext)con, eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate() 1022 dimz, mips, faces, yuv); in nTypeCreate() 2193 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nIncTypeCreate() argument 2196 incCon, eid, dimx, dimy, dimz, mips, faces, yuv); in nIncTypeCreate() 2199 dimz, mips, faces, yuv); in nIncTypeCreate()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 434 … long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnTypeCreate() argument 435 …ynchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nTypeCreate() argument 437 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate()
|