/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/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 112 void execute(byte[] yuv) { argument 113 mAllocationIn.copyFrom(yuv);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/test/ |
H A D | h264_enc_test.cpp | 70 static int32_t BindFrameCb(void *userData, int32_t index, uint8_t **yuv) { argument 73 *yuv = dpbBuffer[index]; 83 fprintf(stderr, "Usage %s <input yuv> <output file> <width> <height>"
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 74 uint8_t* yuv, int* offsets) { 86 uint8_t* yPlanar = yuv + offsets[0]; 87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; 150 uint8_t* yuv, int* offsets) { 166 uint8_t* yuvOffset = yuv + offsets[0]; 192 void Yuv422IToJpegEncoder::deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, argument 197 uint8_t* yuvSeg = yuv + (rowIndex + row) * fStrides[0]; 225 jbyte* yuv = env->GetByteArrayElements(inYuv, NULL); local 233 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); 238 env->ReleaseByteArrayElements(inYuv, yuv, 73 compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets) argument 149 compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets) argument [all...] |
/frameworks/rs/ |
H A D | rsType.cpp | 240 if (t->getDimYuv() != params->yuv) continue; 272 nt->mHal.state.dimYuv = params->yuv; 316 p.yuv = getDimYuv(); 365 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { 375 p.yuv = yuv; 364 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
|
H A D | rsAllocation.h | 67 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State 103 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
|
H A D | rsScriptC_Lib.cpp | 286 uint32_t yuv) { 287 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv); 284 rsrTypeCreate(Context *rsc, const RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
|
H A D | rsInternalDefines.h | 220 uint32_t yuv; member in struct:__anon1686
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 141 void *userData, int32_t index, uint8_t **yuv) { 144 return encoder->bindOutputBuffer(index, yuv); 715 int32_t SoftAVCEncoder::bindOutputBuffer(int32_t index, uint8_t **yuv) { argument 718 *yuv = (uint8_t *) mOutputBuffers[index]->data(); 140 BindFrameWrapper( void *userData, int32_t index, uint8_t **yuv) argument
|
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 42 uint32_t yuv; member in struct:Allocation::__anon1654::__anon1655 77 } yuv; member in struct:Allocation::__anon1654::DrvState
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 798 bool yuv; member in struct:attrib 870 if (fromAttrib->rgb && toAttrib->yuv) { 907 if (fromAttrib->yuv && toAttrib->rgb) {
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 254 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { argument 259 if (yuv == HAL_PIXEL_FORMAT_YCbCr_420_888) { 271 state->yuv.shift = 1; 272 state->yuv.step = 1; 276 switch(yuv) { 296 state->yuv.step = 2; 322 if (alloc->mHal.state.yuv) { 323 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); 864 if (alloc->mHal.state.yuv) { 865 DeriveYUVLayout(alloc->mHal.state.yuv, [all...] |
H A D | rsdRuntimeStubs.cpp | 260 RsYuvFormat yuv = (RsYuvFormat) yuv_format; local 261 if (yuv != RS_YUV_NONE && 262 yuv != RS_YUV_YV12 && 263 yuv != RS_YUV_NV21 && 264 yuv != RS_YUV_420_888) {
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1001 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 1003 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 1004 (RsContext)con, eid, dimx, dimy, dimz, mips, faces, yuv); 1007 dimz, mips, faces, yuv); 2178 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 2180 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 2181 incCon, eid, dimx, dimy, dimz, mips, faces, yuv); 2184 dimz, mips, faces, yuv); 1000 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument 2177 nIncTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 430 native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 431 synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 433 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1170 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 1173 ALOGD("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 1174 (RsContext)con, (void*)eid, dimx, dimy, dimz, mips, faces, yuv); 1178 faces, yuv); 1169 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 363 native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 364 synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 366 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); 1022 native long rsnIncTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 1023 synchronized long nIncTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 1025 return rsnIncTypeCreate(mIncCon, eid, x, y, z, mips, faces, yuv);
|