/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 | 74 uint8_t* yuv, int* offsets) { in compress() argument 86 uint8_t* yPlanar = yuv + offsets[0]; in compress() 87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; in compress() 150 uint8_t* yuv, int* offsets) { in compress() argument 166 uint8_t* yuvOffset = yuv + offsets[0]; in compress() 192 void Yuv422IToJpegEncoder::deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, in deinterleave() argument 197 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0]; in deinterleave() 225 jbyte* yuv = env->GetByteArrayElements(inYuv, NULL); in YuvImage_compressToJpeg() local 233 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); in YuvImage_compressToJpeg() 238 env->ReleaseByteArrayElements(inYuv, yuv, 0); in YuvImage_compressToJpeg()
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 50 if (a->mHal.state.yuv) { in GrallocConsumer() 51 bq->setDefaultBufferFormat(a->mHal.state.yuv); in GrallocConsumer() 150 if (mAlloc->mHal.state.yuv == HAL_PIXEL_FORMAT_YCbCr_420_888) { in lockNextBuffer() 158 mAlloc->mHal.drvState.yuv.shift = 1; in lockNextBuffer() 159 mAlloc->mHal.drvState.yuv.step = ycbcr.chroma_step; in lockNextBuffer()
|
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() 365 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument 375 p.yuv = yuv; in rsi_TypeCreate()
|
D | rsAllocation.h | 63 uint32_t yuv; member 99 } yuv; member
|
D | rsInternalDefines.h | 220 uint32_t yuv; member
|
D | rs.spec | 46 param uint32_t yuv
|
D | rsAllocation.cpp | 137 mHal.state.yuv = type->getDimYuv(); in updateCache()
|
/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/driver/runtime/ |
D | rs_structs.h | 42 uint32_t yuv; member 77 } yuv; member
|
D | rs_allocation.c | 317 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_U() 318 const size_t shift = alloc->mHal.drvState.yuv.shift; in rsGetElementAtYuv_uchar_U() 331 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_V() 332 const size_t shift = alloc->mHal.drvState.yuv.shift; in rsGetElementAtYuv_uchar_V()
|
/frameworks/rs/java/tests/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 | 254 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { in DeriveYUVLayout() argument 259 if (yuv == HAL_PIXEL_FORMAT_YCbCr_420_888) { in DeriveYUVLayout() 271 state->yuv.shift = 1; in DeriveYUVLayout() 272 state->yuv.step = 1; in DeriveYUVLayout() 276 switch(yuv) { in DeriveYUVLayout() 296 state->yuv.step = 2; in DeriveYUVLayout() 323 if (alloc->mHal.state.yuv) { in AllocationBuildPointerTable() 324 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in AllocationBuildPointerTable() 837 if (alloc->mHal.state.yuv) { in rsdAllocationIoReceive() 838 DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in rsdAllocationIoReceive() [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.h | 53 int32_t bindOutputBuffer(int32_t index, uint8_t **yuv);
|
D | SoftAVCEncoder.cpp | 141 void *userData, int32_t index, uint8_t **yuv) { in BindFrameWrapper() argument 144 return encoder->bindOutputBuffer(index, yuv); in BindFrameWrapper() 715 int32_t SoftAVCEncoder::bindOutputBuffer(int32_t index, uint8_t **yuv) { in bindOutputBuffer() argument 718 *yuv = (uint8_t *) mOutputBuffers[index]->data(); in bindOutputBuffer()
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
D | avcapi_common.h | 202 typedef int (*FunctionType_FrameBind)(void *userData, int indx, uint8 **yuv);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 363 … long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnTypeCreate() argument 364 …ynchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nTypeCreate() argument 366 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate() 994 …ng rsnIncTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnIncTypeCreate() argument 995 …hronized long nIncTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nIncTypeCreate() argument 997 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 | 130 size_t cstep = cp->alloc->mHal.drvState.yuv.step; in kernel()
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 1009 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nTypeCreate() argument 1012 (RsContext)con, eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate() 1015 dimz, mips, faces, yuv); in nTypeCreate() 1912 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nIncTypeCreate() argument 1915 incCon, eid, dimx, dimy, dimz, mips, faces, yuv); in nIncTypeCreate() 1918 dimz, mips, faces, yuv); in nIncTypeCreate()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 419 … long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnTypeCreate() argument 420 …ynchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nTypeCreate() argument 422 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1091 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nTypeCreate() argument 1095 (RsContext)con, (void*)eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate() 1099 faces, yuv); in nTypeCreate()
|