/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.h | 15 * @param pixelFormat The yuv pixel format as defined in ui/PixelFormat.h. 26 * @param inYuv The input yuv data. 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,
|
H A D | YuvToJpegEncoder.cpp | 72 uint8_t* yuv, int* offsets) { 84 uint8_t* yPlanar = yuv + offsets[0]; 85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; 148 uint8_t* yuv, int* offsets) { 164 uint8_t* yuvOffset = yuv + offsets[0]; 190 void Yuv422IToJpegEncoder::deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, argument 195 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0]; 223 jbyte* yuv = env->GetByteArrayElements(inYuv, NULL); local 232 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); 235 env->ReleaseByteArrayElements(inYuv, yuv, 71 compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets) argument 147 compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | TypeThunker.java | 58 int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) { 68 if (yuv > 0) tb.setYuvFormat(yuv); 57 create(RenderScript rs, Element e, int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) argument
|
H A D | RenderScript.java | 214 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 215 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 217 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 68 * @param yuv The YUV data. In the case of more than one image plane, all the planes must be 73 * @param strides (Optional) Row bytes of each image plane. If yuv contains padding, the stride 76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument 92 if (yuv == null) { 93 throw new IllegalArgumentException("yuv cannot be null"); 102 mData = yuv;
|
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 35 uint32_t yuv; member in struct:Allocation::__anon1618::__anon1619 61 } yuv; member in struct:Allocation::__anon1618::DrvState
|
H A D | rs_allocation.c | 270 const size_t cstep = alloc->mHal.drvState.yuv.step; 271 const size_t shift = alloc->mHal.drvState.yuv.shift; 284 const size_t cstep = alloc->mHal.drvState.yuv.step; 285 const size_t shift = alloc->mHal.drvState.yuv.shift;
|
/frameworks/rs/ |
H A D | rsGrallocConsumer.cpp | 44 if (a->mHal.state.yuv) { 45 bq->setDefaultBufferFormat(a->mHal.state.yuv); 144 if (mAlloc->mHal.state.yuv) { 152 mAlloc->mHal.drvState.yuv.shift = 1; 153 mAlloc->mHal.drvState.yuv.step = ycbcr.chroma_step;
|
H A D | rsType.h | 106 bool dimLOD, bool dimFaces, uint32_t yuv) { 107 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv);
|
H A D | rsAllocation.h | 63 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State 90 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
|
H A D | rsType.cpp | 298 uint32_t dimY, uint32_t dimZ, bool mips, bool faces, uint32_t yuv) { 301 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces, yuv); 297 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces, uint32_t yuv) argument
|
H A D | rs.spec | 42 param uint32_t yuv
|
H A D | rsAllocation.cpp | 74 mHal.state.yuv = type->getDimYuv();
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 111 void execute(byte[] yuv) { argument 112 mAllocationIn.copyFrom(yuv);
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
H A D | avcapi_common.h | 199 @param yuv The address of the yuv pointer returned to the AVC lib. 202 typedef int (*FunctionType_FrameBind)(void *userData, int indx, uint8 **yuv);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.h | 60 int32_t bindOutputBuffer(int32_t index, uint8_t **yuv);
|
H A D | SoftAVCEncoder.cpp | 158 void *userData, int32_t index, uint8_t **yuv) { 161 return encoder->bindOutputBuffer(index, yuv); 941 int32_t SoftAVCEncoder::bindOutputBuffer(int32_t index, uint8_t **yuv) { argument 944 *yuv = (uint8_t *) mOutputBuffers[index]->data(); 157 BindFrameWrapper( void *userData, int32_t index, uint8_t **yuv) argument
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 255 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { argument 263 state->yuv.shift = 1; 264 state->yuv.step = 1; 268 switch(yuv) { 288 state->yuv.step = 2; 336 } else if (alloc->mHal.state.yuv) { 337 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); 828 if (alloc->mHal.state.yuv) { 832 if (alloc->mHal.state.yuv == HAL_PIXEL_FORMAT_YV12) { 835 } else if (alloc->mHal.state.yuv [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 139 size_t cstep = cp->alloc->mHal.drvState.yuv.step; 156 // Legacy yuv support didn't fill in uv
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 797 bool yuv; member in struct:attrib 869 if (fromAttrib->rgb && toAttrib->yuv) { 906 if (fromAttrib->yuv && toAttrib->rgb) {
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScript.java | 298 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 299 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 301 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 309 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 311 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 312 con, eid, dimx, dimy, dimz, mips, faces, yuv); 314 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv); 308 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 429 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 431 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 432 con, eid, dimx, dimy, dimz, mips, faces, yuv); 434 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv); 428 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
|