Searched refs:outputFormat (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropFilter.java82 MutableFrameFormat outputFormat = inputFormat.mutableCopy();
83 outputFormat.setDimensions(FrameFormat.SIZE_UNSPECIFIED, FrameFormat.SIZE_UNSPECIFIED);
84 return outputFormat;
118 MutableFrameFormat outputFormat = imageFrame.getFormat().mutableCopy();
119 outputFormat.setDimensions(mOutputWidth == -1 ? outputFormat.getWidth() : mOutputWidth,
120 mOutputHeight == -1 ? outputFormat.getHeight() : mOutputHeight);
123 Frame output = env.getFrameManager().newFrame(outputFormat);
H A DBitmapSource.java56 FrameFormat outputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
60 addOutputPort("image", outputFormat);
66 FrameFormat outputFormat = ImageFormat.create(mBitmap.getWidth(),
70 mImageFrame = filterContext.getFrameManager().newFrame(outputFormat);
H A DFixedRotationFilter.java71 MutableFrameFormat outputFormat = inputFormat.mutableCopy();
82 outputFormat.setDimensions(height, width);
89 outputFormat.setDimensions(height, width);
97 Frame output = context.getFrameManager().newFrame(outputFormat);
H A DToPackedGrayFilter.java119 FrameFormat outputFormat = convertInputFormat(inputFormat);
120 int ow = outputFormat.getWidth();
121 int oh = outputFormat.getHeight();
132 Frame output = context.getFrameManager().newFrame(outputFormat);
H A DImageSlicer.java97 MutableFrameFormat outputFormat = inputFormat.mutableCopy();
98 outputFormat.setDimensions(mOutputWidth, mOutputHeight);
101 Frame output = context.getFrameManager().newFrame(outputFormat);
H A DImageStitcher.java72 MutableFrameFormat outputFormat = format.mutableCopy();
83 outputFormat.setDimensions(mImageWidth, mImageHeight);
84 return outputFormat;
H A DResizeFilter.java92 MutableFrameFormat outputFormat = input.getFormat().mutableCopy();
97 outputFormat.setDimensions(mOWidth, mOHeight);
98 Frame output = env.getFrameManager().newFrame(outputFormat);
H A DCropRectFilter.java94 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight,
97 Frame output = context.getFrameManager().newFrame(outputFormat);
H A DRotateFilter.java105 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight,
109 Frame output = context.getFrameManager().newFrame(outputFormat);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureSource.java78 FrameFormat outputFormat = ImageFormat.create(mWidth, mHeight,
81 mFrame = context.getFrameManager().newBoundFrame(outputFormat,
H A DObjectSource.java60 FrameFormat outputFormat = ObjectFormat.fromObject(mObject, FrameFormat.TARGET_SIMPLE);
61 mFrame = context.getFrameManager().newFrame(outputFormat);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DReprocessFormatsMap.java94 int outputFormat = entry[i + j];
95 StreamConfigurationMap.checkArgumentFormatInternal(outputFormat);
/frameworks/av/include/media/stagefright/
H A DACodec.h390 // set resulting color config into |outputFormat|. If |usingNativeWindow| is true, we use
394 const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
397 // set resulting color config into |outputFormat|. If |dataSpace| is non-null, it requests
402 sp<AMessage> &outputFormat, android_dataspace *dataSpace);
405 // and sets resulting color config into |outputFormat|. For mediarecorder, also set dataspace
409 sp<AMessage> &outputFormat, sp<AMessage> &inputFormat);
430 // sets resulting HDRStaticInfo config into |outputFormat|. Returns error from the codec.
432 OMX_U32 portIndex, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
484 // during configure() call. on success the configured layering is set in |outputFormat|. If
485 // |outputFormat| i
[all...]
H A DCodecBase.h104 * @param outputFormat an output format at configure time.
107 const sp<AMessage> &inputFormat, const sp<AMessage> &outputFormat) = 0;
114 * @param outputFormat an output format at surface creation.
119 const sp<AMessage> &outputFormat,
134 * @param outputFormat an output format at surface assignment.
138 const sp<AMessage> &outputFormat) = 0;
H A DMediaCodecSource.h93 const sp<AMessage> &outputFormat,
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DACodec.h390 // set resulting color config into |outputFormat|. If |usingNativeWindow| is true, we use
394 const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
397 // set resulting color config into |outputFormat|. If |dataSpace| is non-null, it requests
402 sp<AMessage> &outputFormat, android_dataspace *dataSpace);
405 // and sets resulting color config into |outputFormat|. For mediarecorder, also set dataspace
409 sp<AMessage> &outputFormat, sp<AMessage> &inputFormat);
430 // sets resulting HDRStaticInfo config into |outputFormat|. Returns error from the codec.
432 OMX_U32 portIndex, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
484 // during configure() call. on success the configured layering is set in |outputFormat|. If
485 // |outputFormat| i
[all...]
H A DCodecBase.h104 * @param outputFormat an output format at configure time.
107 const sp<AMessage> &inputFormat, const sp<AMessage> &outputFormat) = 0;
114 * @param outputFormat an output format at surface creation.
119 const sp<AMessage> &outputFormat,
134 * @param outputFormat an output format at surface assignment.
138 const sp<AMessage> &outputFormat) = 0;
H A DMediaCodecSource.h93 const sp<AMessage> &outputFormat,
/frameworks/av/media/libstagefright/
H A DFrameDecoder.cpp485 const sp<AMessage> &outputFormat,
497 if (outputFormat == NULL) {
502 CHECK(outputFormat->findInt32("width", &width));
503 CHECK(outputFormat->findInt32("height", &height));
506 if (!outputFormat->findRect("crop", &crop_left, &crop_top, &crop_right, &crop_bottom)) {
523 CHECK(outputFormat->findInt32("color-format", &srcFormat));
676 const sp<AMessage> &outputFormat, int64_t /*timeUs*/, bool *done) {
677 if (outputFormat == NULL) {
682 CHECK(outputFormat->findInt32("width", &width));
683 CHECK(outputFormat
483 onOutputReceived( const sp<MediaCodecBuffer> &videoFrameBuffer, const sp<AMessage> &outputFormat, int64_t timeUs, bool *done) argument
674 onOutputReceived( const sp<MediaCodecBuffer> &videoFrameBuffer, const sp<AMessage> &outputFormat, int64_t , bool *done) argument
[all...]
H A DACodec.cpp1711 sp<AMessage> outputFormat = new AMessage; local
1746 outputFormat->setInt32("bitrate", bitrate);
1747 outputFormat->setInt32("max-bitrate", bitrate);
1895 outputFormat->setInt32("auto-frc", enabled);
2035 err = setupVideoEncoder(mime, msg, outputFormat, inputFormat);
2037 err = setupVideoDecoder(mime, msg, haveNativeWindow, usingSwRenderer, outputFormat);
2051 status_t err = getPortFormat(kPortIndexOutput, outputFormat);
2057 if (!outputFormat->findInt32("color-format", &colorFormat)) {
2082 mime, msg, haveNativeWindow, usingSwRenderer, outputFormat);
2089 outputFormat
2489 configureTemporalLayers( const sp<AMessage> &msg, bool inConfigure, sp<AMessage> &outputFormat) argument
3302 setupVideoDecoder( const char *mime, const sp<AMessage> &msg, bool haveNativeWindow, bool usingSwRenderer, sp<AMessage> &outputFormat) argument
3462 setColorAspectsForVideoDecoder( int32_t width, int32_t height, bool usingNativeWindow, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat) argument
3551 getColorAspectsAndDataSpaceForVideoDecoder( int32_t width, int32_t height, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat, android_dataspace *dataSpace) argument
3579 setColorAspectsForVideoEncoder( const sp<AMessage> &configFormat, sp<AMessage> &outputFormat, sp<AMessage> &inputFormat) argument
3623 setHDRStaticInfoForVideoCodec( OMX_U32 portIndex, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat) argument
3750 setupVideoEncoder( const char *mime, const sp<AMessage> &msg, sp<AMessage> &outputFormat, sp<AMessage> &inputFormat) argument
4425 configureImageGrid( const sp<AMessage> &msg, sp<AMessage> &outputFormat) argument
4474 setupHEVCEncoderParameters( const sp<AMessage> &msg, sp<AMessage> &outputFormat) argument
4546 setupVPXEncoderParameters(const sp<AMessage> &msg, sp<AMessage> &outputFormat) argument
[all...]
/frameworks/av/media/libstagefright/include/
H A DFrameDecoder.h76 const sp<AMessage> &outputFormat,
132 const sp<AMessage> &outputFormat,
167 const sp<AMessage> &outputFormat,
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterGraph.java228 FrameFormat outputFormat = filter.getOutputFormat(outputPort.getName(),
230 if (outputFormat == null) {
234 outputPort.setPortFormat(outputFormat);
/frameworks/av/include/media/
H A DBufferProviders.h154 audio_format_t inputFormat, audio_format_t outputFormat,
/frameworks/av/media/libaudioprocessing/
H A DBufferProviders.cpp360 audio_format_t inputFormat, audio_format_t outputFormat,
364 channelCount * audio_bytes_per_sample(outputFormat),
368 mOutputFormat(outputFormat)
371 this, channelCount, inputFormat, outputFormat);
359 ReformatBufferProvider(int32_t channelCount, audio_format_t inputFormat, audio_format_t outputFormat, size_t bufferFrameCount) argument
/frameworks/av/media/libmedia/include/media/
H A DBufferProviders.h154 audio_format_t inputFormat, audio_format_t outputFormat,

Completed in 133 milliseconds

12