Searched refs:mOutputFormat (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DToUpperCase.java33 private FrameFormat mOutputFormat; field in class:ToUpperCase
41 mOutputFormat = ObjectFormat.fromClass(String.class, FrameFormat.TARGET_SIMPLE);
42 addMaskedInputPort("mixedcase", mOutputFormat);
43 addOutputPort("uppercase", mOutputFormat);
51 Frame output = env.getFrameManager().newFrame(mOutputFormat);
H A DStringSource.java35 private FrameFormat mOutputFormat; field in class:StringSource
43 mOutputFormat = ObjectFormat.fromClass(String.class, FrameFormat.TARGET_SIMPLE);
44 addOutputPort("string", mOutputFormat);
49 Frame output = env.getFrameManager().newFrame(mOutputFormat);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java46 private MutableFrameFormat mOutputFormat = null; field in class:InputStreamSource
55 if (mOutputFormat == null) {
56 mOutputFormat = PrimitiveFormat.createByteFormat(target);
58 addOutputPort("data", mOutputFormat);
82 mOutputFormat.setDimensions(fileSize);
83 Frame output = context.getFrameManager().newFrame(mOutputFormat);
H A DObjectSource.java37 private FrameFormat mOutputFormat = FrameFormat.unspecified(); field in class:ObjectSource
50 addOutputPort("frame", mOutputFormat);
H A DRetargetFilter.java35 private MutableFrameFormat mOutputFormat; field in class:RetargetFilter
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/numeric/
H A DSinWaveFilter.java39 private FrameFormat mOutputFormat; field in class:SinWaveFilter
47 mOutputFormat = ObjectFormat.fromClass(Float.class, FrameFormat.TARGET_SIMPLE);
48 addOutputPort("value", mOutputFormat);
58 Frame output = env.getFrameManager().newFrame(mOutputFormat);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
H A DThroughputFilter.java41 private FrameFormat mOutputFormat; field in class:ThroughputFilter
53 mOutputFormat = ObjectFormat.fromClass(Throughput.class, FrameFormat.TARGET_SIMPLE);
55 addOutputPort("throughput", mOutputFormat);
94 Frame throughputFrame = context.getFrameManager().newFrame(mOutputFormat);
/frameworks/av/media/libstagefright/
H A DMediaAdapter.cpp30 mOutputFormat(meta) {
35 mOutputFormat.clear();
65 return mOutputFormat;
H A DMediaCodecSource.cpp399 mOutputFormat(outputFormat),
416 CHECK(mOutputFormat->findString("mime", &mime));
453 mOutputFormat->setInt32("create-input-buffers-suspended", 1);
457 CHECK(mOutputFormat->findString("mime", &outputMIME));
474 ALOGV("output format is '%s'", mOutputFormat->debugString(0).c_str());
480 mOutputFormat,
496 mEncoder->getOutputFormat(&mOutputFormat);
498 convertMessageToMetaData(mOutputFormat, meta);
791 status_t err = mEncoder->getOutputFormat(&mOutputFormat);
797 convertMessageToMetaData(mOutputFormat, met
[all...]
H A DMediaCodec.cpp1268 CHECK(msg->findMessage("output-format", &mOutputFormat));
1272 mOutputFormat->debugString(4).c_str());
1274 if (mOutputFormat->findInt32("using-sw-renderer", &usingSwRenderer)
1292 CHECK(msg->findMessage("output-format", &mOutputFormat));
1296 mOutputFormat->debugString(4).c_str());
1410 CHECK(msg->findMessage("format", &mOutputFormat));
1413 mComponentName.c_str(), mOutputFormat->debugString(4).c_str());
1419 CHECK(mOutputFormat->findString("mime", &mime));
1425 if (mOutputFormat->findInt32("android._dataspace", &dataSpace)) {
1453 if (mOutputFormat
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureSource.java106 private MutableFrameFormat mOutputFormat; field in class:SurfaceTextureSource
148 mOutputFormat = ImageFormat.create(mWidth, mHeight,
160 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat,
216 Frame output = context.getFrameManager().newFrame(mOutputFormat);
243 mOutputFormat.setDimensions(mWidth, mHeight);
H A DMediaSource.java101 private MutableFrameFormat mOutputFormat; field in class:MediaSource
179 mOutputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
207 mOutputFormat,
332 Frame output = context.getFrameManager().newFrame(mOutputFormat);
413 mOutputFormat.setDimensions(mWidth, mHeight);
415 mOutputFormat.setDimensions(mHeight, mWidth);
517 mOutputFormat.setDimensions(width, height);
519 mOutputFormat.setDimensions(height, width);
524 if (mOutputFormat.getWidth() != width ||
525 mOutputFormat
[all...]
H A DCameraSource.java74 private MutableFrameFormat mOutputFormat; field in class:CameraSource
120 mOutputFormat = ImageFormat.create(mWidth, mHeight,
146 mCameraFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat,
196 Frame output = context.getFrameManager().newFrame(mOutputFormat);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp50 mOutputFormat(outputFormat),
66 CHECK(mOutputFormat->findString("mime", &mime));
119 return mOutputFormat;
144 CHECK(mOutputFormat->findString("mime", &outputMIME));
169 mOutputFormat->setInt32("bitrate", audioBitrate);
171 mOutputFormat->setInt32("bitrate", videoBitrate);
172 mOutputFormat->setInt32("bitrate-mode", OMX_Video_ControlRateConstant);
173 mOutputFormat->setInt32("frame-rate", 30);
174 mOutputFormat->setInt32("i-frame-interval", 15); // Iframes every 15 secs
177 mOutputFormat
[all...]
H A DConverter.h97 sp<AMessage> mOutputFormat; member in struct:android::Converter
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DTrackDecoder.java48 private MediaFormat mOutputFormat; field in class:TrackDecoder
171 mOutputFormat = mMediaCodec.getOutputFormat();
172 Log.d(LOG_TAG, "Output format has changed to " + mOutputFormat);
/frameworks/av/include/media/stagefright/
H A DMediaAdapter.h69 sp<MetaData> mOutputFormat; member in struct:android::MediaAdapter
H A DMediaCodecSource.h106 sp<AMessage> mOutputFormat; member in struct:android::MediaCodecSource
H A DMediaFilter.h126 sp<AMessage> mOutputFormat; member in struct:android::MediaFilter
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DToGrayFilter.java39 private MutableFrameFormat mOutputFormat; field in class:ToGrayFilter
H A DResizeFilter.java50 private MutableFrameFormat mOutputFormat; field in class:ResizeFilter
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp153 mOutputFormat = OUTPUT_FORMAT_THREE_GPP;
155 mOutputFormat = of;
791 switch (mOutputFormat) {
818 ALOGE("Unsupported output file format: %d", mOutputFormat);
854 switch (mOutputFormat) {
861 if (mOutputFormat == OUTPUT_FORMAT_WEBM) {
883 ALOGE("Unsupported output file format: %d", mOutputFormat);
1002 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_AAC_ADTS);
1014 CHECK(mOutputFormat == OUTPUT_FORMAT_AMR_NB ||
1015 mOutputFormat
[all...]
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp364 CHECK(mOutputFormat->findString("mime", &mime));
534 mOutputFormat = new AMessage();
535 mOutputFormat->setString("mime", mime.c_str());
536 mOutputFormat->setInt32("stride", mStride);
537 mOutputFormat->setInt32("slice-height", mSliceHeight);
538 mOutputFormat->setInt32("color-format", mColorFormatOut);
539 mOutputFormat->setRect("crop", 0, 0, mStride, mSliceHeight);
540 mOutputFormat->setInt32("width", mWidth);
541 mOutputFormat->setInt32("height", mHeight);
547 notify->setMessage("output-format", mOutputFormat);
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp62 mOutputFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED),
102 mOutputFormat = mDefaultOutputFormat;
158 (mOutputFormat != mDefaultOutputFormat ||
170 mOutputFormat = mDefaultOutputFormat;
427 mOutputFormat = format;
643 status_t result = dequeueBuffer(SOURCE_SINK, mOutputFormat, mOutputUsage,
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.h67 sp<AMessage> mOutputFormat; member in struct:android::NuPlayer::Decoder

Completed in 7093 milliseconds

12