/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 | 72 uint8_t* yuv, int* offsets) { in compress() argument 84 uint8_t* yPlanar = yuv + offsets[0]; in compress() 85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; in compress() 148 uint8_t* yuv, int* offsets) { in compress() argument 164 uint8_t* yuvOffset = yuv + offsets[0]; in compress() 190 void Yuv422IToJpegEncoder::deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, in deinterleave() argument 195 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0]; in deinterleave() 223 jbyte* yuv = env->GetByteArrayElements(inYuv, NULL); in YuvImage_compressToJpeg() local 231 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); in YuvImage_compressToJpeg() 236 env->ReleaseByteArrayElements(inYuv, yuv, 0); in YuvImage_compressToJpeg()
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 44 if (a->mHal.state.yuv) { in GrallocConsumer() 45 bq->setDefaultBufferFormat(a->mHal.state.yuv); in GrallocConsumer() 144 if (mAlloc->mHal.state.yuv) { in lockNextBuffer() 152 mAlloc->mHal.drvState.yuv.shift = 1; in lockNextBuffer() 153 mAlloc->mHal.drvState.yuv.step = ycbcr.chroma_step; in lockNextBuffer()
|
D | rsType.h | 108 bool dimLOD, bool dimFaces, uint32_t yuv) { in getType() argument 109 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv); in getType()
|
D | rsAllocation.h | 63 uint32_t yuv; member 90 } yuv; member
|
D | rsType.cpp | 331 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument 334 return Type::getType(rsc, e, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsi_TypeCreate()
|
D | rs.spec | 42 param uint32_t yuv
|
D | rsAllocation.cpp | 74 mHal.state.yuv = type->getDimYuv(); in updateCache()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | TypeThunker.java | 62 int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) { in create() argument 73 if (yuv > 0) tb.setYuvFormat(yuv); in create()
|
D | RenderScript.java | 295 …ive int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnTypeCreate() argument 296 … synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nTypeCreate() argument 298 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate()
|
/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 | 39 uint32_t yuv; member 65 } yuv; member
|
D | rs_allocation.c | 313 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_U() 314 const size_t shift = alloc->mHal.drvState.yuv.shift; in rsGetElementAtYuv_uchar_U() 327 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_V() 328 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/av/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.h | 55 int32_t bindOutputBuffer(int32_t index, uint8_t **yuv);
|
D | SoftAVCEncoder.cpp | 134 void *userData, int32_t index, uint8_t **yuv) { in BindFrameWrapper() argument 137 return encoder->bindOutputBuffer(index, yuv); in BindFrameWrapper() 927 int32_t SoftAVCEncoder::bindOutputBuffer(int32_t index, uint8_t **yuv) { in bindOutputBuffer() argument 930 *yuv = (uint8_t *) mOutputBuffers[index]->data(); in bindOutputBuffer()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 255 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { in DeriveYUVLayout() argument 263 state->yuv.shift = 1; in DeriveYUVLayout() 264 state->yuv.step = 1; in DeriveYUVLayout() 268 switch(yuv) { in DeriveYUVLayout() 288 state->yuv.step = 2; in DeriveYUVLayout() 320 if (alloc->mHal.state.yuv) { in AllocationBuildPointerTable() 321 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in AllocationBuildPointerTable() 845 if (alloc->mHal.state.yuv) { in rsdAllocationData2D() 849 if (alloc->mHal.state.yuv == HAL_PIXEL_FORMAT_YV12) { in rsdAllocationData2D() 852 } else if (alloc->mHal.state.yuv == HAL_PIXEL_FORMAT_YCrCb_420_SP) { in rsdAllocationData2D()
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
D | avcapi_common.h | 202 typedef int (*FunctionType_FrameBind)(void *userData, int indx, uint8 **yuv);
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicYuvToRGB.cpp | 130 size_t cstep = cp->alloc->mHal.drvState.yuv.step; in kernel()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 801 bool yuv; in hwcTestColorConvert() member 873 if (fromAttrib->rgb && toAttrib->yuv) { in hwcTestColorConvert() 910 if (fromAttrib->yuv && toAttrib->rgb) { in hwcTestColorConvert()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 349 … long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnTypeCreate() argument 350 …ynchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nTypeCreate() argument 352 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate()
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 309 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nTypeCreate() argument 312 con, eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate() 314 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 502 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nTypeCreate() argument 505 (RsContext)con, eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate() 507 …(jlong)(uintptr_t)rsTypeCreate((RsContext)con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate()
|