Searched refs:mOutputFormat (Results 1 - 25 of 44) 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();
72 return mOutputFormat;
H A DMediaCodecSource.cpp443 mOutputFormat(outputFormat),
493 mOutputFormat->setInt32("create-input-buffers-suspended", 1);
497 CHECK(mOutputFormat->findString("mime", &outputMIME));
502 if (mOutputFormat->findString("testing-name", &name)) {
509 mOutputFormat,
528 ALOGV("output format is '%s'", mOutputFormat->debugString(0).c_str());
534 mOutputFormat,
551 mEncoder->getOutputFormat(&mOutputFormat);
553 convertMessageToMetaData(mOutputFormat, meta);
874 status_t err = mEncoder->getOutputFormat(&mOutputFormat);
[all...]
H A DMediaCodec.cpp1654 && mOutputFormat->contains("hdr-static-info")
1655 && mOutputFormat->findInt32("color-format", &colorFormat)
1659 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) {
1661 } else if (mOutputFormat->findInt32("width", &width)
1662 && mOutputFormat->findInt32("height", &height)) {
1978 CHECK(msg->findMessage("output-format", &mOutputFormat));
1982 mOutputFormat->debugString(4).c_str());
1984 if (mOutputFormat->findInt32("using-sw-renderer", &usingSwRenderer)
2015 CHECK(msg->findMessage("output-format", &mOutputFormat));
2019 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/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 DMediaFilter.h105 sp<AMessage> mOutputFormat; member in struct:android::MediaFilter
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMediaAdapter.h69 sp<MetaData> mOutputFormat; member in struct:android::MediaAdapter
H A DMediaFilter.h105 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/libstagefright/filters/
H A DMediaFilter.cpp236 isInput ? mInputFormat : mOutputFormat, mem);
472 mOutputFormat = new AMessage();
473 mOutputFormat->setString("mime", mime.c_str());
474 mOutputFormat->setInt32("stride", mStride);
475 mOutputFormat->setInt32("slice-height", mSliceHeight);
476 mOutputFormat->setInt32("color-format", mColorFormatOut);
477 mOutputFormat->setRect("crop", 0, 0, mStride, mSliceHeight);
478 mOutputFormat->setInt32("width", mWidth);
479 mOutputFormat->setInt32("height", mHeight);
481 mCallback->onComponentConfigured(mInputFormat, mOutputFormat);
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp149 // TBD mOutputFormat = OUTPUT_FORMAT_THREE_GPP;
269 mOutputFormat = OUTPUT_FORMAT_THREE_GPP;
271 mOutputFormat = of;
388 if (mOutputFormat != OUTPUT_FORMAT_MPEG_4) {
925 switch (mOutputFormat) {
952 ALOGE("Unsupported output file format: %d", mOutputFormat);
994 switch (mOutputFormat) {
1001 if (mOutputFormat == OUTPUT_FORMAT_WEBM) {
1026 ALOGE("Unsupported output file format: %d", mOutputFormat);
1161 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_AAC_ADT
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoDecoderOMXComponent.cpp64 mOutputFormat(OMX_COLOR_FormatYUV420Planar),
156 outDef->format.video.eColorFormat = mOutputFormat;
160 int32_t bpp = (mOutputFormat == OMX_COLOR_FormatYUV420Planar16) ? 2 : 1;
201 bool formatChanged = (outputFormat != mOutputFormat);
215 ALOGD("formatChanged: 0x%08x -> 0x%08x", mOutputFormat, outputFormat);
217 mOutputFormat = outputFormat;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp62 mOutputFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED),
103 mOutputFormat = mDefaultOutputFormat;
159 (mOutputFormat != mDefaultOutputFormat ||
171 mOutputFormat = mDefaultOutputFormat;
406 mOutputFormat = format;
626 status_t result = dequeueBuffer(SOURCE_SINK, mOutputFormat, mOutputUsage,
/frameworks/av/include/media/
H A DBufferProviders.h161 const audio_format_t mOutputFormat; member in class:android::ReformatBufferProvider

Completed in 446 milliseconds

12