Home
last modified time | relevance | path

Searched refs:mPlanes (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/java/android/media/
DImageReader.java709 si.mPlanes = null; in detachImage()
889 if (mPlanes == null) { in getPlanes()
890 mPlanes = nativeCreatePlanes(ImageReader.this.mNumPlanes, ImageReader.this.mFormat); in getPlanes()
893 return mPlanes.clone(); in getPlanes()
930 if (mIsImageValid && mPlanes != null) { in clearSurfacePlanes()
931 for (int i = 0; i < mPlanes.length; i++) { in clearSurfacePlanes()
932 if (mPlanes[i] != null) { in clearSurfacePlanes()
933 mPlanes[i].clearBuffer(); in clearSurfacePlanes()
934 mPlanes[i] = null; in clearSurfacePlanes()
1011 private SurfacePlane[] mPlanes; field in ImageReader.SurfaceImage
DImageWriter.java668 private SurfacePlane[] mPlanes; field in ImageWriter.WriterSurfaceImage
731 if (mPlanes == null) { in getPlanes()
733 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes()
736 return mPlanes.clone(); in getPlanes()
778 if (mIsImageValid && mPlanes != null) { in clearSurfacePlanes()
779 for (int i = 0; i < mPlanes.length; i++) { in clearSurfacePlanes()
780 if (mPlanes[i] != null) { in clearSurfacePlanes()
781 mPlanes[i].clearBuffer(); in clearSurfacePlanes()
782 mPlanes[i] = null; in clearSurfacePlanes()
DMediaCodec.java3495 private final Plane[] mPlanes; field in MediaImage
3531 return Arrays.copyOf(mPlanes, mPlanes.length); in getPlanes()
3596 mPlanes = new MediaPlane[numPlanes]; in MediaImage()
3617 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc); in MediaImage()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp67 jfieldID mPlanes; member
308 gSurfaceImageClassInfo.mPlanes = env->GetFieldID( in ImageReader_classInit()
310 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageReader_classInit()
454 planes = env->GetObjectField(image, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()
Dandroid_media_ImageWriter.cpp49 jfieldID mPlanes; member
199 gSurfaceImageClassInfo.mPlanes = env->GetFieldID( in ImageWriter_classInit()
201 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageWriter_classInit()
625 planes = env->GetObjectField(thiz, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()
/frameworks/av/media/libstagefright/codec2/include/
DC2Buffer.h884 C2PlaneInfo mPlanes[MAX_NUM_PLANES]; member