Home
last modified time | relevance | path

Searched refs:mOutputFormat (Results 1 – 25 of 30) 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.java37 private FrameFormat mOutputFormat; field in StringSource
45 mOutputFormat = ObjectFormat.fromClass(String.class, FrameFormat.TARGET_SIMPLE); in setupPorts()
46 addOutputPort("string", mOutputFormat); in setupPorts()
51 Frame output = env.getFrameManager().newFrame(mOutputFormat); in process()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DInputStreamSource.java47 private MutableFrameFormat mOutputFormat = null; field in InputStreamSource
56 if (mOutputFormat == null) { in setupPorts()
57 mOutputFormat = PrimitiveFormat.createByteFormat(target); in setupPorts()
59 addOutputPort("data", mOutputFormat); in setupPorts()
83 mOutputFormat.setDimensions(fileSize); in process()
84 Frame output = context.getFrameManager().newFrame(mOutputFormat); in process()
DObjectSource.java40 private FrameFormat mOutputFormat = FrameFormat.unspecified(); field in ObjectSource
53 addOutputPort("frame", mOutputFormat); in setupPorts()
DRetargetFilter.java37 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.cpp50 mOutputFormat(outputFormat), in Converter()
66 CHECK(mOutputFormat->findString("mime", &mime)); in Converter()
143 return mOutputFormat; in getOutputFormat()
168 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder()
193 mOutputFormat->setInt32("bitrate", audioBitrate); in initEncoder()
195 mOutputFormat->setInt32("bitrate", videoBitrate); in initEncoder()
196 mOutputFormat->setInt32("bitrate-mode", OMX_Video_ControlRateConstant); in initEncoder()
197 mOutputFormat->setInt32("frame-rate", 30); in initEncoder()
198 mOutputFormat->setInt32("i-frame-interval", 15); // Iframes every 15 secs in initEncoder()
201 mOutputFormat->setInt32("intra-refresh-mode", OMX_VIDEO_IntraRefreshCyclic); in initEncoder()
[all …]
DConverter.h97 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.java109 private MutableFrameFormat mOutputFormat; field in MediaSource
187 mOutputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in createFormats()
215 mOutputFormat, in open()
340 Frame output = context.getFrameManager().newFrame(mOutputFormat); in process()
421 mOutputFormat.setDimensions(mWidth, mHeight); in fieldPortValueUpdated()
423 mOutputFormat.setDimensions(mHeight, mWidth); in fieldPortValueUpdated()
525 mOutputFormat.setDimensions(width, height);
527 mOutputFormat.setDimensions(height, width);
532 if (mOutputFormat.getWidth() != width ||
533 mOutputFormat.getHeight() != height) {
DSurfaceTextureSource.java117 private MutableFrameFormat mOutputFormat; field in SurfaceTextureSource
159 mOutputFormat = ImageFormat.create(mWidth, mHeight, in createFormats()
171 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in prepare()
227 Frame output = context.getFrameManager().newFrame(mOutputFormat); in process()
254 mOutputFormat.setDimensions(mWidth, mHeight); in fieldPortValueUpdated()
DCameraSource.java81 private MutableFrameFormat mOutputFormat; field in CameraSource
127 mOutputFormat = ImageFormat.create(mWidth, mHeight, in createFormats()
153 mCameraFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in open()
203 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()
DOMXCodec.cpp1631 if (mOutputFormat->findInt32(kKeyChannelCount, &numchannels)) { in allocateBuffersOnPort()
2406 sp<MetaData> oldOutputFormat = mOutputFormat; in onEvent()
2410 formatHasNotablyChanged(oldOutputFormat, mOutputFormat)) { in onEvent()
2424 CHECK(mOutputFormat->findRect(kKeyCropRect, in onEvent()
2435 mOutputFormat->setInt32(kKeyDisplayWidth, in onEvent()
2441 mOutputFormat->setInt32(kKeyDisplayHeight, in onEvent()
2493 sp<MetaData> oldOutputFormat = mOutputFormat; in onCmdComplete()
2499 bool formatChanged = formatHasNotablyChanged(oldOutputFormat, mOutputFormat); in onCmdComplete()
3786 return mOutputFormat; in getFormat()
4295 CHECK(mOutputFormat->findRect( in initNativeWindowCrop()
[all …]
DMediaCodec.cpp763 mOutputFormat = msg; in onMessageReceived()
1334 || mOutputFormat == NULL) { in onMessageReceived()
1343 response->setMessage("format", mOutputFormat); in onMessageReceived()
1460 mOutputFormat.clear(); in setState()
1777 CHECK(mOutputFormat->findString("mime", &mime)); in amendOutputFormatWithCodecSpecificData()
1797 mOutputFormat->setBuffer( in amendOutputFormatWithCodecSpecificData()
1809 mOutputFormat->setBuffer("csd-0", buffer); in amendOutputFormatWithCodecSpecificData()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorSRC.cpp57 mOutputFormat = new MetaData; in VideoEditorSRC()
58 mOutputFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in VideoEditorSRC()
59 mOutputFormat->setInt32(kKeySampleRate, kDefaultSamplingFreqencyHz); in VideoEditorSRC()
60 mOutputFormat->setInt32(kKeyChannelCount, 2); // always stereo in VideoEditorSRC()
109 return mOutputFormat; in getFormat()
DVideoEditorSRC.h64 sp<MetaData> mOutputFormat; variable
/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.cpp142 mOutputFormat = OUTPUT_FORMAT_THREE_GPP; in setOutputFormat()
144 mOutputFormat = of; in setOutputFormat()
757 switch (mOutputFormat) { in start()
783 ALOGE("Unsupported output file format: %d", mOutputFormat); in start()
873 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_AAC_ADTS); in startAACRecording()
891 CHECK(mOutputFormat == OUTPUT_FORMAT_AMR_NB || in startAMRRecording()
892 mOutputFormat == OUTPUT_FORMAT_AMR_WB); in startAMRRecording()
894 if (mOutputFormat == OUTPUT_FORMAT_AMR_NB) { in startAMRRecording()
950 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_RTP_AVP); in startRTPRecording()
990 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_MPEG2TS); in startMPEG2TSRecording()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp83 mOutputFormat = mDefaultOutputFormat; in VirtualDisplaySurface()
138 (mOutputFormat != mDefaultOutputFormat || in prepareFrame()
150 mOutputFormat = mDefaultOutputFormat; in prepareFrame()
345 mOutputFormat = format; in dequeueBuffer()
473 status_t result = dequeueBuffer(SOURCE_SINK, mOutputFormat, mOutputUsage, in refreshOutputBuffer()
DVirtualDisplaySurface.h145 uint32_t mOutputFormat; variable
/frameworks/av/include/media/stagefright/
DMediaAdapter.h69 sp<MetaData> mOutputFormat; member
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DToGrayFilter.java48 private MutableFrameFormat mOutputFormat; field in ToGrayFilter
DResizeFilter.java53 private MutableFrameFormat mOutputFormat; field in ResizeFilter
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java130 private int mOutputFormat = MediaRecorder.OutputFormat.MPEG_4; field in MediaEncoderFilter
254 mMediaRecorder.setOutputFormat(mOutputFormat); in updateMediaRecorderParams()

12