Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp364 ASSERT_FALSE(mConfig.mOutputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F()
365 << "mOutputFormat = " << mConfig.mOutputFormat->debugString().c_str(); in TEST_F()
370 ASSERT_FALSE(mConfig.mOutputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F()
371 << "mOutputFormat = " << mConfig.mOutputFormat->debugString().c_str(); in TEST_F()
376 ASSERT_FALSE(mConfig.mOutputFormat->findString(KEY_VENDOR_STRING, &vendorString)) in TEST_F()
377 << "mOutputFormat = " << mConfig.mOutputFormat->debugString().c_str(); in TEST_F()
405 ASSERT_FALSE(mConfig.mOutputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F()
406 << "mOutputFormat = " << mConfig.mOutputFormat->debugString().c_str(); in TEST_F()
411 ASSERT_TRUE(mConfig.mOutputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F()
412 << "mOutputFormat = " << mConfig.mOutputFormat->debugString().c_str(); in TEST_F()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
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()
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()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
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()
DObjectSource.java37 private FrameFormat mOutputFormat = FrameFormat.unspecified(); field in ObjectSource
50 addOutputPort("frame", mOutputFormat); in setupPorts()
DRetargetFilter.java35 private MutableFrameFormat mOutputFormat; field in RetargetFilter
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/numeric/
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()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
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()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
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) {
DSurfaceTextureSource.java105 private MutableFrameFormat mOutputFormat; field in SurfaceTextureSource
147 mOutputFormat = ImageFormat.create(mWidth, mHeight, in createFormats()
159 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in prepare()
215 Frame output = context.getFrameManager().newFrame(mOutputFormat); in process()
242 mOutputFormat.setDimensions(mWidth, mHeight); in fieldPortValueUpdated()
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()
/frameworks/av/media/libstagefright/
DMediaAdapter.cpp30 mOutputFormat(meta) { in MediaAdapter()
35 mOutputFormat.clear(); in ~MediaAdapter()
72 return mOutputFormat; in getFormat()
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 …]
DMediaCodec.cpp1471 if (mOutputFormat->findInt32(KEY_COLOR_STANDARD, &colorStandard)) { in updateHdrMetrics()
1476 if (mOutputFormat->findInt32(KEY_COLOR_RANGE, &colorRange)) { in updateHdrMetrics()
1481 if (mOutputFormat->findInt32(KEY_COLOR_TRANSFER, &colorTransfer)) { in updateHdrMetrics()
1486 if (ColorUtils::getHDRStaticInfoFromFormat(mOutputFormat, &info) in updateHdrMetrics()
1493 if (mOutputFormat->findBuffer("hdr10-plus-info", &hdr10PlusInfo) in updateHdrMetrics()
1501 sp<AMessage> codedFormat = (mFlags & kFlagIsEncoder) ? mOutputFormat : mInputFormat; in updateHdrMetrics()
3737 if (mOutputFormat->contains("hdr-static-info") in requestCpuBoostIfNeeded()
3738 && mOutputFormat->findInt32("color-format", &colorFormat) in requestCpuBoostIfNeeded()
3745 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { in requestCpuBoostIfNeeded()
3747 } else if (mOutputFormat->findInt32("width", &width) in requestCpuBoostIfNeeded()
[all …]
DACodec.cpp972 portIndex == kPortIndexInput ? mInputFormat : mOutputFormat; in allocateBuffersOnPort()
1295 info.mData = new MediaCodecBuffer(mOutputFormat, new ABuffer(bufferSize)); in allocateOutputBuffersFromNativeWindow()
1368 info.mData = new MediaCodecBuffer(mOutputFormat, new ABuffer(bufferSize)); in allocateOutputMetadataBuffers()
2468 mOutputFormat = outputFormat; in configureCodec()
2484 (void)mOutputFormat->findInt32("pcm-encoding", (int32_t*)&codecPcmEncoding); in configureCodec()
2489 mOutputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec()
2834 if (outputFormat.get() == mOutputFormat.get()) { in configureTemporalLayers()
2835 mOutputFormat = mOutputFormat->dup(); // trigger an output format change event in configureTemporalLayers()
3967 setColorAspectsIntoFormat(aspects, mOutputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3999 mInputFormat->debugString(4).c_str(), mOutputFormat->debugString(4).c_str()); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp319 mOutputFormat = OUTPUT_FORMAT_THREE_GPP; in setOutputFormat()
321 mOutputFormat = of; in setOutputFormat()
438 if (mOutputFormat != OUTPUT_FORMAT_MPEG_4) { in setNextOutputFile()
595 if (mOutputFormat == OUTPUT_FORMAT_RTP_AVP) { in setParamVideoEncodingBitRate()
602 if (mOutputFormat == OUTPUT_FORMAT_RTP_AVP && mStarted && mPauseStartTimeUs == 0) { in setParamVideoEncodingBitRate()
873 if (mStarted && mOutputFormat == OUTPUT_FORMAT_RTP_AVP) { in setParamPayloadType()
893 if (mStarted && mOutputFormat == OUTPUT_FORMAT_RTP_AVP) { in setRTPCVODegrees()
911 if (mStarted && mOutputFormat == OUTPUT_FORMAT_RTP_AVP) { in setSocketNetwork()
1181 switch (mOutputFormat) { in prepareInternal()
1212 ALOGE("Unsupported output file format: %d", mOutputFormat); in prepareInternal()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
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()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaAdapter.h70 sp<MetaData> mOutputFormat; member
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp60 mOutputFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED),
97 mOutputFormat = mDefaultOutputFormat;
159 (mOutputFormat != mDefaultOutputFormat || mOutputUsage != GRALLOC_USAGE_HW_COMPOSER)) { in prepareFrame()
170 mOutputFormat = mDefaultOutputFormat; in prepareFrame()
414 mOutputFormat = format; in dequeueBuffer()
628 status_t result = dequeueBuffer(SOURCE_SINK, mOutputFormat, mOutputUsage, in refreshOutputBuffer()
/frameworks/av/media/libstagefright/omx/
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()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DToGrayFilter.java39 private MutableFrameFormat mOutputFormat; field in ToGrayFilter
DResizeFilter.java50 private MutableFrameFormat mOutputFormat; field in ResizeFilter
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp1638 && !config->mOutputFormat->findBuffer(KEY_HDR_STATIC_INFO, &hdrInfo)) { in configure()
1639 config->mOutputFormat->setBuffer(KEY_HDR_STATIC_INFO, hdrInfo); in configure()
1653 config->mOutputFormat->setInt32(KEY_COLOR_FORMAT, format); in configure()
1661 config->mOutputFormat->setInt32("encoder-delay", delay); in configure()
1665 config->mOutputFormat->setInt32("encoder-padding", padding); in configure()
1676 config->mOutputFormat->setInt32(KEY_CHANNEL_MASK, mask); in configure()
1686 config->mOutputFormat->setInt32("android._config-pcm-encoding", pcmEncoding); in configure()
1764 config->mOutputFormat->setInt32("android._tunneled", 1); in configure()
1795 config->mOutputFormat->debugString().c_str()); in configure()
1810 mCallback->onComponentConfigured(config->mInputFormat, config->mOutputFormat); in configure()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java121 private int mOutputFormat = MediaRecorder.OutputFormat.MPEG_4; field in MediaEncoderFilter
245 mMediaRecorder.setOutputFormat(mOutputFormat); in updateMediaRecorderParams()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoDecoderOMXComponent.h146 OMX_COLOR_FORMATTYPE mOutputFormat; member

12