Home
last modified time | relevance | path

Searched refs:outputFormat (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DCropFilter.java82 MutableFrameFormat outputFormat = inputFormat.mutableCopy(); in getOutputFormat() local
83 outputFormat.setDimensions(FrameFormat.SIZE_UNSPECIFIED, FrameFormat.SIZE_UNSPECIFIED); in getOutputFormat()
84 return outputFormat; in getOutputFormat()
118 MutableFrameFormat outputFormat = imageFrame.getFormat().mutableCopy(); in process() local
119 outputFormat.setDimensions(mOutputWidth == -1 ? outputFormat.getWidth() : mOutputWidth, in process()
120 mOutputHeight == -1 ? outputFormat.getHeight() : mOutputHeight); in process()
123 Frame output = env.getFrameManager().newFrame(outputFormat); in process()
DBitmapSource.java56 FrameFormat outputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts() local
60 addOutputPort("image", outputFormat); in setupPorts()
66 FrameFormat outputFormat = ImageFormat.create(mBitmap.getWidth(), in loadImage() local
70 mImageFrame = filterContext.getFrameManager().newFrame(outputFormat); in loadImage()
DFixedRotationFilter.java71 MutableFrameFormat outputFormat = inputFormat.mutableCopy(); in process() local
82 outputFormat.setDimensions(height, width); in process()
89 outputFormat.setDimensions(height, width); in process()
97 Frame output = context.getFrameManager().newFrame(outputFormat); in process()
DToPackedGrayFilter.java119 FrameFormat outputFormat = convertInputFormat(inputFormat); in process() local
120 int ow = outputFormat.getWidth(); in process()
121 int oh = outputFormat.getHeight(); in process()
132 Frame output = context.getFrameManager().newFrame(outputFormat); in process()
DResizeFilter.java92 MutableFrameFormat outputFormat = input.getFormat().mutableCopy(); in process() local
97 outputFormat.setDimensions(mOWidth, mOHeight); in process()
98 Frame output = env.getFrameManager().newFrame(outputFormat); in process()
DImageSlicer.java97 MutableFrameFormat outputFormat = inputFormat.mutableCopy(); in process() local
98 outputFormat.setDimensions(mOutputWidth, mOutputHeight); in process()
101 Frame output = context.getFrameManager().newFrame(outputFormat); in process()
DImageStitcher.java72 MutableFrameFormat outputFormat = format.mutableCopy(); in calcOutputFormatForInput() local
83 outputFormat.setDimensions(mImageWidth, mImageHeight); in calcOutputFormatForInput()
84 return outputFormat; in calcOutputFormatForInput()
DCropRectFilter.java94 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight, in process() local
97 Frame output = context.getFrameManager().newFrame(outputFormat); in process()
DRotateFilter.java105 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight, in process() local
109 Frame output = context.getFrameManager().newFrame(outputFormat); in process()
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp603 const sp<AMessage> &outputFormat, in onOutputReceived() argument
620 if (outputFormat == NULL) { in onOutputReceived()
625 if (!outputFormat->findInt32("width", &width) || in onOutputReceived()
626 !outputFormat->findInt32("height", &height) || in onOutputReceived()
627 !outputFormat->findInt32("color-format", &srcFormat)) { in onOutputReceived()
629 outputFormat->debugString().c_str()); in onOutputReceived()
633 if (!outputFormat->findInt32("stride", &stride)) { in onOutputReceived()
636 outputFormat->debugString().c_str()); in onOutputReceived()
644 if (!outputFormat->findRect("crop", &crop_left, &crop_top, &crop_right, &crop_bottom)) { in onOutputReceived()
651 if (outputFormat->findInt32("slice-height", &slice_height) && slice_height > 0) { in onOutputReceived()
[all …]
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp93 void setAudioRecorderFormat(output_format outputFormat, audio_encoder encoder,
106 void StagefrightRecorderTest::setAudioRecorderFormat(output_format outputFormat, in setAudioRecorderFormat() argument
112 status = mStfRecorder->setOutputFormat(outputFormat); in setAudioRecorderFormat()
113 ASSERT_EQ(status, OK) << "Failed to set the output format: " << outputFormat; in setAudioRecorderFormat()
259 output_format outputFormat = GetParam().first; in TEST_P() local
261 ASSERT_NO_FATAL_FAILURE(setAudioRecorderFormat(outputFormat, audioEncoder)); in TEST_P()
265 if (!(outputFormat == OUTPUT_FORMAT_AMR_NB || outputFormat == OUTPUT_FORMAT_AMR_WB)) { in TEST_P()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DMuxerTest.java99 public MuxerTest(String filename, String outputFormat) { in MuxerTest() argument
101 this.mFormat = outputFormat; in MuxerTest()
141 int outputFormat = mMapFormat.getOrDefault(mFormat, -1); in testMuxer() local
143 "output format for given " + mFormat + " format.", -1, outputFormat); in testMuxer()
145 int trackIndex = muxer.setUpMuxer(mContext, outputFormat, format); in testMuxer()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DObjectSource.java60 FrameFormat outputFormat = ObjectFormat.fromObject(mObject, FrameFormat.TARGET_SIMPLE); in process() local
61 mFrame = context.getFrameManager().newFrame(outputFormat); in process()
DGLTextureSource.java78 FrameFormat outputFormat = ImageFormat.create(mWidth, mHeight, in process() local
81 mFrame = context.getFrameManager().newBoundFrame(outputFormat, in process()
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h417 const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
425 sp<AMessage> &outputFormat, android_dataspace *dataSpace);
432 sp<AMessage> &outputFormat, sp<AMessage> &inputFormat);
460 OMX_U32 portIndex, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
535 const sp<AMessage> &msg, bool inConfigure, sp<AMessage> &outputFormat);
542 status_t setupHEVCEncoderParameters(const sp<AMessage> &msg, sp<AMessage> &outputFormat);
543 status_t setupVPXEncoderParameters(const sp<AMessage> &msg, sp<AMessage> &outputFormat);
548 status_t configureImageGrid(const sp<AMessage> &msg, sp<AMessage> &outputFormat);
DCodecBase.h123 const sp<AMessage> &inputFormat, const sp<AMessage> &outputFormat) = 0;
135 const sp<AMessage> &outputFormat,
154 const sp<AMessage> &outputFormat) = 0;
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeMuxer.cpp44 MUXER_OUTPUT_T outputFormat = getMuxerOutFormat(fmt); in Java_com_android_media_benchmark_library_Native_Mux() local
45 if (outputFormat == MUXER_OUTPUT_FORMAT_INVALID) { in Java_com_android_media_benchmark_library_Native_Mux()
119 status = muxerObj->initMuxer(outFd, (MUXER_OUTPUT_T) outputFormat); in Java_com_android_media_benchmark_library_Native_Mux()
/frameworks/av/media/tests/benchmark/tests/
DMuxerTest.cpp59 MUXER_OUTPUT_T outputFormat = getMuxerOutFormat(fmt); in TEST_P() local
60 ASSERT_NE(outputFormat, MUXER_OUTPUT_FORMAT_INVALID) << "Invalid muxer output format"; in TEST_P()
109 status = muxerObj->initMuxer(fd, outputFormat); in TEST_P()
/frameworks/av/media/tests/benchmark/src/native/muxer/
DMuxer.cpp25 int32_t Muxer::initMuxer(int32_t fd, MUXER_OUTPUT_T outputFormat) { in initMuxer() argument
30 mMuxer = AMediaMuxer_new(fd, (OutputFormat)outputFormat); in initMuxer()
/frameworks/av/media/codecs/amrnb/enc/fuzzer/
Damrnb_enc_fuzzer.cpp70 Word16 outputFormat = kOutputFormat[outputFormatIndex]; in encodeFrames() local
85 AMREncode(mEncState, mSidState, mode, inputBuf, outputBuf, &frameType, outputFormat); in encodeFrames()
DREADME.md12 1. Output Format (parameter name: `outputFormat`)
17 | `outputFormat` | 0. `AMR_TX_WMF` 1. `AMR_TX_IF2` 2. `AMR_TX_ETS` | Bits 0, 1 and 2 of 1st byte of…
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DMuxer.java39 public int setUpMuxer(Context context, int outputFormat, MediaFormat trackFormat) { in setUpMuxer() argument
43 mMuxer = new MediaMuxer(context.getFilesDir().getPath() + "/mux.out.", outputFormat); in setUpMuxer()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h75 const sp<AMessage> &outputFormat,
132 const sp<AMessage> &outputFormat,
173 const sp<AMessage> &outputFormat,
/frameworks/base/core/java/android/hardware/camera2/params/
DReprocessFormatsMap.java94 int outputFormat = entry[i + j]; in ReprocessFormatsMap() local
95 StreamConfigurationMap.checkArgumentFormatInternal(outputFormat); in ReprocessFormatsMap()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h129 const sp<AMessage> &outputFormat,
185 std::unique_ptr<C2Work> work, const sp<AMessage> &outputFormat,
269 std::unique_ptr<C2Work> work, const sp<AMessage> &outputFormat,

12