Home
last modified time | relevance | path

Searched refs:yuv (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.h45 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,
DYuvToJpegEncoder.cpp72 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
232 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); in YuvImage_compressToJpeg()
235 env->ReleaseByteArrayElements(inYuv, yuv, 0); in YuvImage_compressToJpeg()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DTypeThunker.java58 int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) { in create() argument
68 if (yuv > 0) tb.setYuvFormat(yuv); in create()
DRenderScript.java170 …ive int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnTypeCreate() argument
171 … synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nTypeCreate() argument
173 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate()
/frameworks/base/graphics/java/android/graphics/
DYuvImage.java79 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/java/tests/LivePreview/src/com/android/rs/livepreview/
DRsYuv.java111 void execute(byte[] yuv) { in execute() argument
112 mAllocationIn.copyFrom(yuv); in execute()
/frameworks/rs/
DrsType.h117 bool dimLOD, bool dimFaces, uint32_t yuv) { in getType() argument
118 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv); in getType()
DrsAllocation.h54 uint32_t yuv; member
DrsType.cpp340 uint32_t dimY, uint32_t dimZ, bool mips, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument
343 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces, yuv); in rsi_TypeCreate()
Drs.spec42 param uint32_t yuv
DrsAllocation.cpp74 mHal.state.yuv = type->getDimYuv(); in updateCache()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.h60 int32_t bindOutputBuffer(int32_t index, uint8_t **yuv);
DSoftAVCEncoder.cpp158 void *userData, int32_t index, uint8_t **yuv) { in BindFrameWrapper() argument
161 return encoder->bindOutputBuffer(index, yuv); in BindFrameWrapper()
941 int32_t SoftAVCEncoder::bindOutputBuffer(int32_t index, uint8_t **yuv) { in bindOutputBuffer() argument
944 *yuv = (uint8_t *) mOutputBuffers[index]->data(); in bindOutputBuffer()
/frameworks/av/media/libstagefright/codecs/avc/common/include/
Davcapi_common.h202 typedef int (*FunctionType_FrameBind)(void *userData, int indx, uint8 **yuv);
/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_structs.h35 uint32_t yuv; member
Drs_allocation.c261 const uint32_t yuvID = alloc->mHal.state.yuv; in rsGetElementAtYuv_uchar_U()
285 const uint32_t yuvID = alloc->mHal.state.yuv; in rsGetElementAtYuv_uchar_V()
/frameworks/rs/driver/
DrsdAllocation.cpp252 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { in DeriveYUVLayout() argument
257 switch(yuv) { in DeriveYUVLayout()
325 } else if (alloc->mHal.state.yuv) { in AllocationBuildPointerTable()
326 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in AllocationBuildPointerTable()
807 if (alloc->mHal.state.yuv) { in rsdAllocationIoReceive()
808 DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); in rsdAllocationIoReceive()
876 if (alloc->mHal.state.yuv) { in rsdAllocationData2D()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicYuvToRGB.cpp134 switch (cp->alloc->mHal.state.yuv) { in kernel()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp801 bool yuv; in hwcTestColorConvert() member
877 if (fromAttrib->rgb && toAttrib->yuv) { in hwcTestColorConvert()
914 if (fromAttrib->yuv && toAttrib->rgb) { in hwcTestColorConvert()
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java276 …ive int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnTypeCreate() argument
277 … synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { in nTypeCreate() argument
279 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate()
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp329 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nTypeCreate() argument
332 con, eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate()
334 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate()
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp430 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) in nTypeCreate() argument
433 con, eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate()
435 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv); in nTypeCreate()