Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DImageReader.java708 si.mPlanes = null; in detachImage()
895 if (mPlanes == null) { in getPlanes()
896 mPlanes = nativeCreatePlanes(ImageReader.this.mNumPlanes, ImageReader.this.mFormat); in getPlanes()
899 return mPlanes.clone(); in getPlanes()
936 if (mIsImageValid && mPlanes != null) { in clearSurfacePlanes()
937 for (int i = 0; i < mPlanes.length; i++) { in clearSurfacePlanes()
938 if (mPlanes[i] != null) { in clearSurfacePlanes()
939 mPlanes[i].clearBuffer(); in clearSurfacePlanes()
940 mPlanes[i] = null; in clearSurfacePlanes()
1019 private SurfacePlane[] mPlanes; field in ImageReader.SurfaceImage
DImageWriter.java672 private SurfacePlane[] mPlanes; field in ImageWriter.WriterSurfaceImage
759 if (mPlanes == null) { in getPlanes()
761 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes()
764 return mPlanes.clone(); in getPlanes()
806 if (mIsImageValid && mPlanes != null) { in clearSurfacePlanes()
807 for (int i = 0; i < mPlanes.length; i++) { in clearSurfacePlanes()
808 if (mPlanes[i] != null) { in clearSurfacePlanes()
809 mPlanes[i].clearBuffer(); in clearSurfacePlanes()
810 mPlanes[i] = null; in clearSurfacePlanes()
DMediaCodec.java3587 private final Plane[] mPlanes; field in MediaImage
3638 return Arrays.copyOf(mPlanes, mPlanes.length); in getPlanes()
3703 mPlanes = new MediaPlane[numPlanes]; in MediaImage()
3724 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc); in MediaImage()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp51 jfieldID mPlanes; member
201 gSurfaceImageClassInfo.mPlanes = env->GetFieldID( in ImageWriter_classInit()
203 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageWriter_classInit()
659 planes = env->GetObjectField(thiz, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()
Dandroid_media_ImageReader.cpp73 jfieldID mPlanes; member
326 gSurfaceImageClassInfo.mPlanes = env->GetFieldID( in ImageReader_classInit()
328 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageReader_classInit()
472 planes = env->GetObjectField(image, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()