Searched defs:yuv (Results 1 - 14 of 14) sorted by relevance

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DTypeThunker.java62 int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) {
73 if (yuv > 0) tb.setYuvFormat(yuv);
61 create(RenderScript rs, Element e, int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) argument
H A DRenderScript.java295 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument
296 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument
298 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java68 * @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 DRsYuv.java112 void execute(byte[] yuv) { argument
113 mAllocationIn.copyFrom(yuv);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp72 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
231 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality);
236 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/rs/
H A DrsAllocation.h63 uint32_t yuv; member in struct:android::renderscript::Allocation::Hal::State
90 } yuv; member in struct:android::renderscript::Allocation::Hal::DrvState
H A DrsType.cpp331 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) {
334 return Type::getType(rsc, e, dimX, dimY, dimZ, mipmaps, faces, yuv);
330 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp141 void *userData, int32_t index, uint8_t **yuv) {
144 return encoder->bindOutputBuffer(index, yuv);
698 int32_t SoftAVCEncoder::bindOutputBuffer(int32_t index, uint8_t **yuv) { argument
701 *yuv = (uint8_t *) mOutputBuffers[index]->data();
140 BindFrameWrapper( void *userData, int32_t index, uint8_t **yuv) argument
/frameworks/rs/driver/runtime/
H A Drs_structs.h39 uint32_t yuv; member in struct:Allocation::__anon1498::__anon1499
65 } yuv; member in struct:Allocation::__anon1498::DrvState
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp801 bool yuv; member in struct:attrib
873 if (fromAttrib->rgb && toAttrib->yuv) {
910 if (fromAttrib->yuv && toAttrib->rgb) {
/frameworks/rs/driver/
H A DrsdAllocation.cpp255 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;
320 if (alloc->mHal.state.yuv) {
321 o += DeriveYUVLayout(alloc->mHal.state.yuv, &alloc->mHal.drvState);
845 if (alloc->mHal.state.yuv) {
849 if (alloc->mHal.state.yuv == HAL_PIXEL_FORMAT_YV12) {
852 } else if (alloc->mHal.state.yuv
[all...]
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp309 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/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp502 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv)
504 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)",
505 (RsContext)con, eid, dimx, dimy, dimz, mips, faces, yuv);
507 return (jlong)(uintptr_t)rsTypeCreate((RsContext)con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv);
501 nTypeCreate(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 DRenderScript.java349 native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument
350 synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument
352 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);

Completed in 1091 milliseconds