Home
last modified time | relevance | path

Searched refs:mOutputFormat (Results 1 – 25 of 50) sorted by relevance

12

/aosp12/frameworks/av/media/codec2/sfplugin/tests/
H A DCCodecConfig_test.cpp332 ASSERT_FALSE(mConfig.mOutputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F()
379 ASSERT_TRUE(mConfig.mOutputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F()
515 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_RANGE, &range)) in TEST_F()
521 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_STANDARD, &standard)) in TEST_F()
527 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_TRANSFER, &transfer)) in TEST_F()
537 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_RANGE, &range)) in TEST_F()
542 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_STANDARD, &standard)) in TEST_F()
547 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_TRANSFER, &transfer)) in TEST_F()
563 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_RANGE, &range)) in TEST_F()
568 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_STANDARD, &standard)) in TEST_F()
[all …]
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java46 private MutableFrameFormat mOutputFormat = null; field in InputStreamSource
55 if (mOutputFormat == null) { in setupPorts()
56 mOutputFormat = PrimitiveFormat.createByteFormat(target); in setupPorts()
58 addOutputPort("data", mOutputFormat); in setupPorts()
82 mOutputFormat.setDimensions(fileSize); in process()
83 Frame output = context.getFrameManager().newFrame(mOutputFormat); in process()
H A DObjectSource.java37 private FrameFormat mOutputFormat = FrameFormat.unspecified(); field in ObjectSource
50 addOutputPort("frame", mOutputFormat); in setupPorts()
H A DRetargetFilter.java35 private MutableFrameFormat mOutputFormat; field in RetargetFilter
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DToUpperCase.java33 private FrameFormat mOutputFormat; field in ToUpperCase
41 mOutputFormat = ObjectFormat.fromClass(String.class, FrameFormat.TARGET_SIMPLE); in setupPorts()
42 addMaskedInputPort("mixedcase", mOutputFormat); in setupPorts()
43 addOutputPort("uppercase", mOutputFormat); in setupPorts()
51 Frame output = env.getFrameManager().newFrame(mOutputFormat); in process()
H A DStringSource.java35 private FrameFormat mOutputFormat; field in StringSource
43 mOutputFormat = ObjectFormat.fromClass(String.class, FrameFormat.TARGET_SIMPLE); in setupPorts()
44 addOutputPort("string", mOutputFormat); in setupPorts()
49 Frame output = env.getFrameManager().newFrame(mOutputFormat); in process()
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/numeric/
H A DSinWaveFilter.java39 private FrameFormat mOutputFormat; field in SinWaveFilter
47 mOutputFormat = ObjectFormat.fromClass(Float.class, FrameFormat.TARGET_SIMPLE); in setupPorts()
48 addOutputPort("value", mOutputFormat); in setupPorts()
58 Frame output = env.getFrameManager().newFrame(mOutputFormat); in process()
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java101 private MutableFrameFormat mOutputFormat; field in MediaSource
179 mOutputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in createFormats()
207 mOutputFormat, in open()
332 Frame output = context.getFrameManager().newFrame(mOutputFormat); in process()
413 mOutputFormat.setDimensions(mWidth, mHeight); in fieldPortValueUpdated()
415 mOutputFormat.setDimensions(mHeight, mWidth); in fieldPortValueUpdated()
517 mOutputFormat.setDimensions(width, height);
519 mOutputFormat.setDimensions(height, width);
524 if (mOutputFormat.getWidth() != width ||
525 mOutputFormat.getHeight() != height) {
H A DSurfaceTextureSource.java106 private MutableFrameFormat mOutputFormat; field in SurfaceTextureSource
148 mOutputFormat = ImageFormat.create(mWidth, mHeight, in createFormats()
160 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in prepare()
216 Frame output = context.getFrameManager().newFrame(mOutputFormat); in process()
243 mOutputFormat.setDimensions(mWidth, mHeight); in fieldPortValueUpdated()
H A DCameraSource.java74 private MutableFrameFormat mOutputFormat; field in CameraSource
120 mOutputFormat = ImageFormat.create(mWidth, mHeight, in createFormats()
146 mCameraFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in open()
196 Frame output = context.getFrameManager().newFrame(mOutputFormat); in process()
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
H A DThroughputFilter.java41 private FrameFormat mOutputFormat; field in ThroughputFilter
53 mOutputFormat = ObjectFormat.fromClass(Throughput.class, FrameFormat.TARGET_SIMPLE); in setupPorts()
55 addOutputPort("throughput", mOutputFormat); in setupPorts()
94 Frame throughputFrame = context.getFrameManager().newFrame(mOutputFormat); in process()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropExtras.java46 private String mOutputFormat = null; field in CropExtras
62 mOutputFormat = outputFormat; in CropExtras()
70 c.mReturnData, c.mExtraOutput, c.mOutputFormat, c.mShowWhenLocked, in CropExtras()
107 return mOutputFormat; in getOutputFormat()
/aosp12/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp312 mOutputFormat = OUTPUT_FORMAT_THREE_GPP; in setOutputFormat()
314 mOutputFormat = of; in setOutputFormat()
431 if (mOutputFormat != OUTPUT_FORMAT_MPEG_4) { in setNextOutputFile()
1162 switch (mOutputFormat) { in prepareInternal()
1235 switch (mOutputFormat) { in start()
1724 fileFormat == mOutputFormat && in setDefaultProfileIfNecessary()
2153 if (mOutputFormat == OUTPUT_FORMAT_WEBM) { in setupMPEG4orWEBMRecording()
2190 if (mOutputFormat != OUTPUT_FORMAT_WEBM) { in setupMPEG4orWEBMRecording()
2232 if (mOutputFormat != OUTPUT_FORMAT_WEBM) { in setupMPEG4orWEBMMetaData()
2240 if (mOutputFormat == OUTPUT_FORMAT_MPEG_4 || mOutputFormat == OUTPUT_FORMAT_THREE_GPP) { in setupMPEG4orWEBMMetaData()
[all …]
/aosp12/frameworks/av/media/libstagefright/
H A DMediaAdapter.cpp30 mOutputFormat(meta) { in MediaAdapter()
35 mOutputFormat.clear(); in ~MediaAdapter()
72 return mOutputFormat; in getFormat()
H A DMediaCodecSource.cpp460 mOutputFormat(outputFormat), in MediaCodecSource()
510 mOutputFormat->setInt32(KEY_CREATE_INPUT_SURFACE_SUSPENDED, 1); in initEncoder()
514 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder()
519 if (mOutputFormat->findString("testing-name", &name)) { in initEncoder()
526 mOutputFormat, in initEncoder()
545 ALOGV("output format is '%s'", mOutputFormat->debugString(0).c_str()); in initEncoder()
551 mOutputFormat, in initEncoder()
568 mEncoder->getOutputFormat(&mOutputFormat); in initEncoder()
570 convertMessageToMetaData(mOutputFormat, meta); in initEncoder()
917 status_t err = mEncoder->getOutputFormat(&mOutputFormat); in onMessageReceived()
[all …]
H A DMediaCodec.cpp2797 if (mOutputFormat->contains("hdr-static-info") in requestCpuBoostIfNeeded()
2807 } else if (mOutputFormat->findInt32("width", &width) in requestCpuBoostIfNeeded()
4458 if (mOutputFormat == format) { in handleOutputFormatChangeIfNeeded()
4478 mOutputFormat = format; in handleOutputFormatChangeIfNeeded()
4487 CHECK(mOutputFormat->findString("mime", &mime)); in handleOutputFormatChangeIfNeeded()
4500 if (mOutputFormat->contains("hdr-static-info")) { in handleOutputFormatChangeIfNeeded()
4673 mOutputFormat.clear(); in setState()
5247 msg->setMessage("format", mOutputFormat); in onOutputFormatChanged()
5300 CHECK(mOutputFormat->findString("mime", &mime)); in amendOutputFormatWithCodecSpecificData()
5320 mOutputFormat->setBuffer( in amendOutputFormatWithCodecSpecificData()
[all …]
H A DACodec.cpp2401 mOutputFormat = outputFormat; in configureCodec()
2746 mOutputFormat = mOutputFormat->dup(); // trigger an output format change event in configureTemporalLayers()
5710 mOutputFormat = mOutputFormat->dup(); // trigger an output format changed event in onConfigUpdate()
5711 mOutputFormat->setBuffer("hdr10-plus-info", in onConfigUpdate()
5734 mOutputFormat = mOutputFormat->dup(); // trigger an output format changed event in onDataSpaceChanged()
5759 mOutputFormat = mBaseOutputFormat->dup(); in onOutputFormatChanged()
5795 CHECK(mOutputFormat->findString("mime", &mime)); in sendFormatChange()
5817 mLastOutputFormat = mOutputFormat; in sendFormatChange()
6567 buffer->setFormat(mCodec->mOutputFormat); in onOMXFillBufferDone()
6987 mCodec->mOutputFormat.clear(); in stateEntered()
[all …]
/aosp12/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp333 sp<AMessage> outputFormat = mOutputFormat->dup(); in allocateBuffersOnPort()
574 mOutputFormat = new AMessage(); in onConfigureComponent()
575 mOutputFormat->setString("mime", mime.c_str()); in onConfigureComponent()
576 mOutputFormat->setInt32("stride", mStride); in onConfigureComponent()
577 mOutputFormat->setInt32("slice-height", mSliceHeight); in onConfigureComponent()
578 mOutputFormat->setInt32("color-format", mColorFormatOut); in onConfigureComponent()
579 mOutputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent()
580 mOutputFormat->setInt32("width", mWidth); in onConfigureComponent()
581 mOutputFormat->setInt32("height", mHeight); in onConfigureComponent()
582 mOutputFormat->setInt32("using-sw-renderer", 1); in onConfigureComponent()
[all …]
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DTrackDecoder.java48 private MediaFormat mOutputFormat; field in TrackDecoder
171 mOutputFormat = mMediaCodec.getOutputFormat(); in drainOutputBuffer()
172 Log.d(LOG_TAG, "Output format has changed to " + mOutputFormat); in drainOutputBuffer()
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp71 mOutputFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED),
112 mOutputFormat = mDefaultOutputFormat;
170 (mOutputFormat != mDefaultOutputFormat || mOutputUsage != GRALLOC_USAGE_HW_COMPOSER)) { in prepareFrame()
181 mOutputFormat = mDefaultOutputFormat; in prepareFrame()
426 mOutputFormat = format; in dequeueBuffer()
653 status_t result = dequeueBuffer(SOURCE_SINK, mOutputFormat, mOutputUsage, in refreshOutputBuffer()
/aosp12/frameworks/av/media/libstagefright/omx/
H A DSoftVideoDecoderOMXComponent.cpp64 mOutputFormat(OMX_COLOR_FormatYUV420Planar), in SoftVideoDecoderOMXComponent()
156 outDef->format.video.eColorFormat = mOutputFormat; in updatePortDefinitions()
159 int32_t bpp = (mOutputFormat == OMX_COLOR_FormatYUV420Planar16) ? 2 : 1; in updatePortDefinitions()
201 bool formatChanged = (outputFormat != mOutputFormat); in handlePortSettingsChange()
215 ALOGD("formatChanged: 0x%08x -> 0x%08x", mOutputFormat, outputFormat); in handlePortSettingsChange()
217 mOutputFormat = outputFormat; in handlePortSettingsChange()
/aosp12/frameworks/av/media/codec2/sfplugin/
H A DCCodec.cpp1427 config->mOutputFormat->debugString().c_str()); in configure()
1512 outputFormat = config->mOutputFormat; in createInputSurface()
1553 outputFormat = config->mOutputFormat; in createInputSurface()
1576 getColorAspectsFromFormat(config->mOutputFormat, colorAspects); in setupInputSurface()
1630 outputFormat = config->mOutputFormat; in setInputSurface()
1667 outputFormat = config->mOutputFormat; in setInputSurface()
1717 outputFormat = config->mOutputFormat = config->mOutputFormat->dup(); in start()
1995 sp<AMessage> outputFormat = config->mOutputFormat; in signalResume()
2091 sp<AMessage> outputFormat = config->mOutputFormat; in signalSetParameters()
2334 config->mOutputFormat); in onMessageReceived()
[all …]
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMediaAdapter.h70 sp<MetaData> mOutputFormat; member
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DToGrayFilter.java39 private MutableFrameFormat mOutputFormat; field in ToGrayFilter
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java121 private int mOutputFormat = MediaRecorder.OutputFormat.MPEG_4; field in MediaEncoderFilter
245 mMediaRecorder.setOutputFormat(mOutputFormat); in updateMediaRecorderParams()

12