Searched refs:numPlanes (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/media/ndk/
H A DNdkImagePriv.h36 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes);
55 media_status_t getNumPlanes(/*out*/int32_t* numPlanes) const;
H A DNdkImage.cpp35 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) :
37 mTimestamp(timestamp), mWidth(width), mHeight(height), mNumPlanes(numPlanes) {
146 AImage::getNumPlanes(int32_t* numPlanes) const {
147 if (numPlanes == nullptr) {
150 *numPlanes = -1;
155 *numPlanes = mNumPlanes;
703 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) { argument
705 if (image == nullptr || numPlanes == nullptr) {
706 ALOGE("%s: bad argument. image %p numPlanes %p",
707 __FUNCTION__, image, numPlanes);
34 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) argument
[all...]
/frameworks/av/include/ndk/
H A DNdkImage.h621 * @param numPlanes the number of planes of the image will be filled here if the method call
626 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or numPlanes is NULL.</li>
630 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
/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 DImageWriter.java732 int numPlanes = ImageUtils.getNumPlanesForFormat(getFormat());
733 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat());
841 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, int writerFmt); argument
H A DMediaCodec.java3577 int numPlanes = info.getInt();
3578 if (numPlanes != 3) {
3579 throw new RuntimeException("unexpected number of planes: " + numPlanes);
3596 mPlanes = new MediaPlane[numPlanes];
3597 for (int ix = 0; ix < numPlanes; ix++) {
H A DImageReader.java1016 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, argument
/frameworks/av/media/img_utils/include/img_utils/
H A DDngUtils.h125 * numPlanes - Number of planes included in this opcode.
136 virtual status_t addWarpRectilinear(uint32_t numPlanes,
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp706 int numPlanes, int readerFormat)
708 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes);
719 if (isFormatOpaque(halReaderFormat) && numPlanes > 0) {
722 " must be 0", halReaderFormat, numPlanes);
727 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz,
745 for (int i = 0; i < numPlanes; i++) {
705 Image_createSurfacePlanes(JNIEnv* env, jobject thiz, int numPlanes, int readerFormat) argument
H A Dandroid_media_ImageWriter.cpp727 int numPlanes, int writerFormat) {
728 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes);
735 if (isFormatOpaque(format) && numPlanes > 0) {
738 " must be 0", format, numPlanes);
743 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz,
761 for (int i = 0; i < numPlanes; i++) {
726 Image_createSurfacePlanes(JNIEnv* env, jobject thiz, int numPlanes, int writerFormat) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp939 * numPlanes - the number of planes in planeColors and pairs of coefficients in noiseProfile.
940 * noiseProfile - 2 * numPlanes doubles containing numPlanes pairs of noise profile coefficients.
945 size_t numChannels, const uint8_t* planeColors, size_t numPlanes,
948 for (size_t p = 0; p < numPlanes; ++p) {
944 generateNoiseProfile(const double* perChannelNoiseProfile, uint8_t* cfa, size_t numChannels, const uint8_t* planeColors, size_t numPlanes, double* noiseProfile) argument

Completed in 245 milliseconds