Home
last modified time | relevance | path

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

12

/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/av/media/libstagefright/wifi-display/source/
DConverter.cpp51 mOutputFormat(outputFormat), in Converter()
67 CHECK(mOutputFormat->findString("mime", &mime)); in Converter()
120 return mOutputFormat; in getOutputFormat()
145 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder()
170 mOutputFormat->setInt32("bitrate", audioBitrate); in initEncoder()
172 mOutputFormat->setInt32("bitrate", videoBitrate); in initEncoder()
173 mOutputFormat->setInt32("bitrate-mode", OMX_Video_ControlRateConstant); in initEncoder()
174 mOutputFormat->setInt32("frame-rate", 30); in initEncoder()
175 mOutputFormat->setInt32("i-frame-interval", 15); // Iframes every 15 secs in initEncoder()
178 mOutputFormat->setInt32("intra-refresh-mode", OMX_VIDEO_IntraRefreshCyclic); in initEncoder()
[all …]
DConverter.h98 sp<AMessage> mOutputFormat; member
/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.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()
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()
65 return mOutputFormat; in getFormat()
DMediaCodecSource.cpp421 mOutputFormat(outputFormat), in MediaCodecSource()
440 CHECK(mOutputFormat->findString("mime", &mime)); in MediaCodecSource()
477 mOutputFormat->setInt32("create-input-buffers-suspended", 1); in initEncoder()
481 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder()
498 ALOGV("output format is '%s'", mOutputFormat->debugString(0).c_str()); in initEncoder()
504 mOutputFormat, in initEncoder()
520 mEncoder->getOutputFormat(&mOutputFormat); in initEncoder()
522 convertMessageToMetaData(mOutputFormat, meta); in initEncoder()
840 status_t err = mEncoder->getOutputFormat(&mOutputFormat); in onMessageReceived()
846 convertMessageToMetaData(mOutputFormat, meta); in onMessageReceived()
DMediaCodec.cpp1582 CHECK(msg->findMessage("output-format", &mOutputFormat)); in onMessageReceived()
1586 mOutputFormat->debugString(4).c_str()); in onMessageReceived()
1588 if (mOutputFormat->findInt32("using-sw-renderer", &usingSwRenderer) in onMessageReceived()
1606 CHECK(msg->findMessage("output-format", &mOutputFormat)); in onMessageReceived()
1610 mOutputFormat->debugString(4).c_str()); in onMessageReceived()
1628 CHECK(msg->findMessage("output-format", &mOutputFormat)); in onMessageReceived()
1752 if (mOutputFormat != buffer->format()) { in onMessageReceived()
1753 mOutputFormat = buffer->format(); in onMessageReceived()
1755 mComponentName.c_str(), mOutputFormat->debugString(4).c_str()); in onMessageReceived()
1761 CHECK(mOutputFormat->findString("mime", &mime)); in onMessageReceived()
[all …]
DACodec.cpp917 portIndex == kPortIndexInput ? mInputFormat : mOutputFormat; in allocateBuffersOnPort()
1258 info.mData = new MediaCodecBuffer(mOutputFormat, new ABuffer(bufferSize)); in allocateOutputBuffersFromNativeWindow()
1331 info.mData = new MediaCodecBuffer(mOutputFormat, new ABuffer(bufferSize)); in allocateOutputMetadataBuffers()
2291 mOutputFormat = outputFormat; in configureCodec()
2305 (void)mOutputFormat->findInt32("pcm-encoding", (int32_t*)&codecPcmEncoding); in configureCodec()
2308 mOutputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec()
2575 if (outputFormat.get() == mOutputFormat.get()) { in configureTemporalLayers()
2576 mOutputFormat = mOutputFormat->dup(); // trigger an output format change event in configureTemporalLayers()
3617 setColorAspectsIntoFormat(aspects, mOutputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3649 mInputFormat->debugString(4).c_str(), mOutputFormat->debugString(4).c_str()); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
[all …]
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp236 isInput ? mInputFormat : mOutputFormat, mem); in allocateBuffersOnPort()
472 mOutputFormat = new AMessage(); in onConfigureComponent()
473 mOutputFormat->setString("mime", mime.c_str()); in onConfigureComponent()
474 mOutputFormat->setInt32("stride", mStride); in onConfigureComponent()
475 mOutputFormat->setInt32("slice-height", mSliceHeight); in onConfigureComponent()
476 mOutputFormat->setInt32("color-format", mColorFormatOut); in onConfigureComponent()
477 mOutputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent()
478 mOutputFormat->setInt32("width", mWidth); in onConfigureComponent()
479 mOutputFormat->setInt32("height", mHeight); in onConfigureComponent()
481 mCallback->onComponentConfigured(mInputFormat, mOutputFormat); in onConfigureComponent()
/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/libmediaplayerservice/
DStagefrightRecorder.cpp258 mOutputFormat = OUTPUT_FORMAT_THREE_GPP; in setOutputFormat()
260 mOutputFormat = of; in setOutputFormat()
377 if (mOutputFormat != OUTPUT_FORMAT_MPEG_4) { in setNextOutputFile()
914 switch (mOutputFormat) { in prepareInternal()
941 ALOGE("Unsupported output file format: %d", mOutputFormat); in prepareInternal()
983 switch (mOutputFormat) { in start()
990 if (mOutputFormat == OUTPUT_FORMAT_WEBM) { in start()
1015 ALOGE("Unsupported output file format: %d", mOutputFormat); in start()
1135 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_AAC_ADTS); in setupAACRecording()
1147 CHECK(mOutputFormat == OUTPUT_FORMAT_AMR_NB || in setupAMRRecording()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp58 mOutputFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED),
99 mOutputFormat = mDefaultOutputFormat;
155 (mOutputFormat != mDefaultOutputFormat || in prepareFrame()
167 mOutputFormat = mDefaultOutputFormat; in prepareFrame()
430 mOutputFormat = format; in dequeueBuffer()
643 status_t result = dequeueBuffer(SOURCE_SINK, mOutputFormat, mOutputUsage, in refreshOutputBuffer()
/frameworks/av/media/libstagefright/include/
DMediaAdapter.h69 sp<MetaData> mOutputFormat; member
DMediaFilter.h105 sp<AMessage> mOutputFormat; member
/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/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()

12