Searched defs:numPlanes (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/ndk/
H A DNdkImage.cpp34 int32_t width, int32_t height, int32_t numPlanes) :
37 mWidth(width), mHeight(height), mNumPlanes(numPlanes) {
145 AImage::getNumPlanes(int32_t* numPlanes) const {
146 if (numPlanes == nullptr) {
149 *numPlanes = -1;
154 *numPlanes = mNumPlanes;
586 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) { argument
588 if (image == nullptr || numPlanes == nullptr) {
589 ALOGE("%s: bad argument. image %p numPlanes %p",
590 __FUNCTION__, image, numPlanes);
32 AImage(AImageReader* reader, int32_t format, CpuConsumer::LockedBuffer* buffer, int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) argument
[all...]
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp328 return addWarpRectilinear(/*numPlanes*/1,
334 status_t OpcodeListBuilder::addWarpRectilinear(uint32_t numPlanes, argument
349 const uint32_t NUMBER_COEFFS = numPlanes * 6;
355 err = mEndianOut.write(&numPlanes, 0, 1);
/frameworks/base/media/java/android/media/
H A DImageReader.java862 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, argument
H A DImageWriter.java693 int numPlanes = ImageUtils.getNumPlanesForFormat(getFormat());
694 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat());
802 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, int writerFmt); argument
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp728 int numPlanes, int writerFormat) {
729 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes);
736 if (isFormatOpaque(format) && numPlanes > 0) {
739 " must be 0", format, numPlanes);
744 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz,
762 for (int i = 0; i < numPlanes; i++) {
727 Image_createSurfacePlanes(JNIEnv* env, jobject thiz, int numPlanes, int writerFormat) argument
H A Dandroid_media_ImageReader.cpp672 int numPlanes, int readerFormat)
674 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes);
685 if (isFormatOpaque(halReaderFormat) && numPlanes > 0) {
688 " must be 0", halReaderFormat, numPlanes);
693 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz,
708 for (int i = 0; i < numPlanes; i++) {
671 Image_createSurfacePlanes(JNIEnv* env, jobject thiz, int numPlanes, int readerFormat) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp938 * numPlanes - the number of planes in planeColors and pairs of coefficients in noiseProfile.
939 * noiseProfile - 2 * numPlanes doubles containing numPlanes pairs of noise profile coefficients.
944 size_t numChannels, const uint8_t* planeColors, size_t numPlanes,
947 for (size_t p = 0; p < numPlanes; ++p) {
943 generateNoiseProfile(const double* perChannelNoiseProfile, uint8_t* cfa, size_t numChannels, const uint8_t* planeColors, size_t numPlanes, double* noiseProfile) argument

Completed in 260 milliseconds