/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/native/libs/vr/libbufferhub/ |
H A D | ion_buffer.cpp | 215 struct android_ycbcr* yuv) { 222 buffer_->lockYCbCr(usage, Rect(x, y, x + width, y + height), yuv); 214 LockYUV(uint32_t usage, int x, int y, int width, int height, struct android_ycbcr* yuv) argument
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 112 void execute(byte[] yuv) { argument 113 mAllocationIn.copyFrom(yuv);
|
/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(); 363 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { 373 p.yuv = yuv; 362 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 | 63 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State 99 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
|
H A D | rsScriptC_Lib.cpp | 341 uint32_t yuv) { 342 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv); 339 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:__anon2137
|
H A D | rsHidlAdaptation.cpp | 410 bool faces, uint32_t yuv) 415 (YuvFormat) yuv); 408 TypeCreate(RsContext context, RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
|
H A D | rsApiStubs.cpp | 314 bool mipmaps, bool faces, uint32_t yuv) 316 return RS_DISPATCH(ctxWrapper, TypeCreate, e, dimX, dimY, dimZ, mipmaps, faces, yuv); 313 rsTypeCreate(RsContext ctxWrapper, RsElement e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
|
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 42 uint32_t yuv; member in struct:Allocation::__anon2104::__anon2105 77 } yuv; member in struct:Allocation::__anon2104::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 | 249 static size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { argument 254 if (yuv == RS_YUV_420_888) { 266 state->yuv.shift = 1; 267 state->yuv.step = 1; 270 switch(yuv) { 290 state->yuv.step = 2; 315 if (alloc->mHal.state.yuv) { 316 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); 812 if (alloc->mHal.state.yuv) { 813 DeriveYUVLayout(alloc->mHal.state.yuv, [all...] |
H A D | rsdRuntimeStubs.cpp | 276 RsYuvFormat yuv = (RsYuvFormat) yuv_format; local 277 if (yuv != RS_YUV_NONE && 278 yuv != RS_YUV_YV12 && 279 yuv != RS_YUV_NV21 && 280 yuv != RS_YUV_420_888) {
|
/frameworks/rs/rsov/driver/ |
H A D | rsovAllocation.cpp | 33 size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) { argument 37 if (yuv == HAL_PIXEL_FORMAT_YCbCr_420_888) { 48 state->yuv.shift = 1; 49 state->yuv.step = 1; 52 switch (yuv) { 72 state->yuv.step = 2; 102 if (alloc->mHal.state.yuv) { 103 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState); 361 if (alloc->mHal.state.yuv) { 365 if (alloc->mHal.state.yuv [all...] |
H A D | rsovRuntimeStubs.cpp | 257 RsYuvFormat yuv = (RsYuvFormat)yuv_format; local 258 if (yuv != RS_YUV_NONE && yuv != RS_YUV_YV12 && yuv != RS_YUV_NV21 && 259 yuv != RS_YUV_420_888) {
|
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1014 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 1016 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 1017 (RsContext)con, eid, dimx, dimy, dimz, mips, faces, yuv); 1020 dimz, mips, faces, yuv); 2191 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 2193 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 2194 incCon, eid, dimx, dimy, dimz, mips, faces, yuv); 2197 dimz, mips, faces, yuv); 1013 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument 2190 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 | 1182 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 1185 ALOGD("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 1186 (RsContext)con, (void*)eid, dimx, dimy, dimz, mips, faces, yuv); 1190 faces, yuv); 1181 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 375 native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 376 synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 378 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); 1034 native long rsnIncTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 1035 synchronized long nIncTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 1037 return rsnIncTypeCreate(mIncCon, eid, x, y, z, mips, faces, yuv);
|