/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | InputStreamSource.java | 46 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()
|
D | ObjectSource.java | 37 private FrameFormat mOutputFormat = FrameFormat.unspecified(); field in ObjectSource 50 addOutputPort("frame", mOutputFormat); in setupPorts()
|
D | RetargetFilter.java | 35 private MutableFrameFormat mOutputFormat; field in RetargetFilter
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/ |
D | ToUpperCase.java | 33 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()
|
D | StringSource.java | 35 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/av/media/libstagefright/wifi-display/source/ |
D | Converter.cpp | 50 mOutputFormat(outputFormat), in Converter() 66 CHECK(mOutputFormat->findString("mime", &mime)); in Converter() 119 return mOutputFormat; in getOutputFormat() 144 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder() 169 mOutputFormat->setInt32("bitrate", audioBitrate); in initEncoder() 171 mOutputFormat->setInt32("bitrate", videoBitrate); in initEncoder() 172 mOutputFormat->setInt32("bitrate-mode", OMX_Video_ControlRateConstant); in initEncoder() 173 mOutputFormat->setInt32("frame-rate", 30); in initEncoder() 174 mOutputFormat->setInt32("i-frame-interval", 15); // Iframes every 15 secs in initEncoder() 177 mOutputFormat->setInt32("intra-refresh-mode", OMX_VIDEO_IntraRefreshCyclic); in initEncoder() [all …]
|
D | Converter.h | 97 sp<AMessage> mOutputFormat; member
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/numeric/ |
D | SinWaveFilter.java | 39 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/ |
D | ThroughputFilter.java | 41 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/ |
D | MediaSource.java | 101 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) {
|
D | SurfaceTextureSource.java | 106 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()
|
D | CameraSource.java | 74 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/ |
D | MediaAdapter.cpp | 30 mOutputFormat(meta) { in MediaAdapter() 35 mOutputFormat.clear(); in ~MediaAdapter() 65 return mOutputFormat; in getFormat()
|
D | MediaCodecSource.cpp | 399 mOutputFormat(outputFormat), in MediaCodecSource() 416 CHECK(mOutputFormat->findString("mime", &mime)); in MediaCodecSource() 453 mOutputFormat->setInt32("create-input-buffers-suspended", 1); in initEncoder() 457 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder() 474 ALOGV("output format is '%s'", mOutputFormat->debugString(0).c_str()); in initEncoder() 480 mOutputFormat, in initEncoder() 496 mEncoder->getOutputFormat(&mOutputFormat); in initEncoder() 498 convertMessageToMetaData(mOutputFormat, meta); in initEncoder() 791 status_t err = mEncoder->getOutputFormat(&mOutputFormat); in onMessageReceived() 797 convertMessageToMetaData(mOutputFormat, meta); in onMessageReceived()
|
D | MediaCodec.cpp | 1268 CHECK(msg->findMessage("output-format", &mOutputFormat)); in onMessageReceived() 1272 mOutputFormat->debugString(4).c_str()); in onMessageReceived() 1274 if (mOutputFormat->findInt32("using-sw-renderer", &usingSwRenderer) in onMessageReceived() 1292 CHECK(msg->findMessage("output-format", &mOutputFormat)); in onMessageReceived() 1296 mOutputFormat->debugString(4).c_str()); in onMessageReceived() 1410 CHECK(msg->findMessage("format", &mOutputFormat)); in onMessageReceived() 1413 mComponentName.c_str(), mOutputFormat->debugString(4).c_str()); in onMessageReceived() 1419 CHECK(mOutputFormat->findString("mime", &mime)); in onMessageReceived() 1425 if (mOutputFormat->findInt32("android._dataspace", &dataSpace)) { in onMessageReceived() 1453 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { in onMessageReceived() [all …]
|
D | ACodec.cpp | 2300 mOutputFormat = outputFormat; in configureCodec() 2314 (void)mOutputFormat->findInt32("pcm-encoding", (int32_t*)&codecPcmEncoding); in configureCodec() 2317 mOutputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec() 3472 setColorAspectsIntoFormat(aspects, mOutputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3504 mInputFormat->debugString(4).c_str(), mOutputFormat->debugString(4).c_str()); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 5157 mOutputFormat = mOutputFormat->dup(); // trigger an output format changed event in onDataSpaceChanged() 5159 mOutputFormat->setInt32("color-range", range); in onDataSpaceChanged() 5162 mOutputFormat->setInt32("color-standard", standard); in onDataSpaceChanged() 5165 mOutputFormat->setInt32("color-transfer", transfer); in onDataSpaceChanged() 5182 mOutputFormat = mBaseOutputFormat->dup(); in onOutputFormatChanged() [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 153 mOutputFormat = OUTPUT_FORMAT_THREE_GPP; in setOutputFormat() 155 mOutputFormat = of; in setOutputFormat() 791 switch (mOutputFormat) { in prepareInternal() 818 ALOGE("Unsupported output file format: %d", mOutputFormat); in prepareInternal() 854 switch (mOutputFormat) { in start() 861 if (mOutputFormat == OUTPUT_FORMAT_WEBM) { in start() 883 ALOGE("Unsupported output file format: %d", mOutputFormat); in start() 1002 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_AAC_ADTS); in setupAACRecording() 1014 CHECK(mOutputFormat == OUTPUT_FORMAT_AMR_NB || in setupAMRRecording() 1015 mOutputFormat == OUTPUT_FORMAT_AMR_WB); in setupAMRRecording() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | TrackDecoder.java | 48 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/filters/ |
D | MediaFilter.cpp | 364 CHECK(mOutputFormat->findString("mime", &mime)); in sendFormatChange() 534 mOutputFormat = new AMessage(); in onConfigureComponent() 535 mOutputFormat->setString("mime", mime.c_str()); in onConfigureComponent() 536 mOutputFormat->setInt32("stride", mStride); in onConfigureComponent() 537 mOutputFormat->setInt32("slice-height", mSliceHeight); in onConfigureComponent() 538 mOutputFormat->setInt32("color-format", mColorFormatOut); in onConfigureComponent() 539 mOutputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent() 540 mOutputFormat->setInt32("width", mWidth); in onConfigureComponent() 541 mOutputFormat->setInt32("height", mHeight); in onConfigureComponent() 547 notify->setMessage("output-format", mOutputFormat); in onConfigureComponent()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 62 mOutputFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED), 102 mOutputFormat = mDefaultOutputFormat; 158 (mOutputFormat != mDefaultOutputFormat || in prepareFrame() 170 mOutputFormat = mDefaultOutputFormat; in prepareFrame() 427 mOutputFormat = format; in dequeueBuffer() 643 status_t result = dequeueBuffer(SOURCE_SINK, mOutputFormat, mOutputUsage, in refreshOutputBuffer()
|
/frameworks/av/include/media/stagefright/ |
D | MediaAdapter.h | 69 sp<MetaData> mOutputFormat; member
|
D | MediaCodecSource.h | 106 sp<AMessage> mOutputFormat; member
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ToGrayFilter.java | 39 private MutableFrameFormat mOutputFormat; field in ToGrayFilter
|
D | ResizeFilter.java | 50 private MutableFrameFormat mOutputFormat; field in ResizeFilter
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/ |
D | MediaEncoderFilter.java | 121 private int mOutputFormat = MediaRecorder.OutputFormat.MPEG_4; field in MediaEncoderFilter 245 mMediaRecorder.setOutputFormat(mOutputFormat); in updateMediaRecorderParams()
|