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

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DToUpperCase.java31 private FrameFormat mOutputFormat; field in class:ToUpperCase
39 mOutputFormat = ObjectFormat.fromClass(String.class, FrameFormat.TARGET_SIMPLE);
40 addMaskedInputPort("mixedcase", mOutputFormat);
41 addOutputPort("uppercase", mOutputFormat);
49 Frame output = env.getFrameManager().newFrame(mOutputFormat);
H A DStringSource.java37 private FrameFormat mOutputFormat; field in class:StringSource
45 mOutputFormat = ObjectFormat.fromClass(String.class, FrameFormat.TARGET_SIMPLE);
46 addOutputPort("string", mOutputFormat);
51 Frame output = env.getFrameManager().newFrame(mOutputFormat);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java47 private MutableFrameFormat mOutputFormat = null; field in class:InputStreamSource
56 if (mOutputFormat == null) {
57 mOutputFormat = PrimitiveFormat.createByteFormat(target);
59 addOutputPort("data", mOutputFormat);
83 mOutputFormat.setDimensions(fileSize);
84 Frame output = context.getFrameManager().newFrame(mOutputFormat);
H A DObjectSource.java40 private FrameFormat mOutputFormat = FrameFormat.unspecified(); field in class:ObjectSource
53 addOutputPort("frame", mOutputFormat);
H A DRetargetFilter.java37 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/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureSource.java117 private MutableFrameFormat mOutputFormat; field in class:SurfaceTextureSource
159 mOutputFormat = ImageFormat.create(mWidth, mHeight,
171 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat,
227 Frame output = context.getFrameManager().newFrame(mOutputFormat);
254 mOutputFormat.setDimensions(mWidth, mHeight);
H A DMediaSource.java102 private MutableFrameFormat mOutputFormat; field in class:MediaSource
180 mOutputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
208 mOutputFormat,
333 Frame output = context.getFrameManager().newFrame(mOutputFormat);
414 mOutputFormat.setDimensions(mWidth, mHeight);
416 mOutputFormat.setDimensions(mHeight, mWidth);
514 mOutputFormat.setDimensions(width, height);
516 mOutputFormat.setDimensions(height, width);
521 if (mOutputFormat.getWidth() != width ||
522 mOutputFormat
[all...]
H A DCameraSource.java81 private MutableFrameFormat mOutputFormat; field in class:CameraSource
127 mOutputFormat = ImageFormat.create(mWidth, mHeight,
153 mCameraFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat,
203 Frame output = context.getFrameManager().newFrame(mOutputFormat);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp57 mOutputFormat = new MetaData;
58 mOutputFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW);
59 mOutputFormat->setInt32(kKeySampleRate, kDefaultSamplingFreqencyHz);
60 mOutputFormat->setInt32(kKeyChannelCount, 2); // always stereo
109 return mOutputFormat;
H A DVideoEditorSRC.h64 sp<MetaData> mOutputFormat; member in class:android::VideoEditorSRC
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DToGrayFilter.java48 private MutableFrameFormat mOutputFormat; field in class:ToGrayFilter
H A DResizeFilter.java53 private MutableFrameFormat mOutputFormat; field in class:ResizeFilter
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp140 mOutputFormat = OUTPUT_FORMAT_THREE_GPP;
142 mOutputFormat = of;
747 switch (mOutputFormat) {
773 ALOGE("Unsupported output file format: %d", mOutputFormat);
863 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_AAC_ADTS);
881 CHECK(mOutputFormat == OUTPUT_FORMAT_AMR_NB ||
882 mOutputFormat == OUTPUT_FORMAT_AMR_WB);
884 if (mOutputFormat == OUTPUT_FORMAT_AMR_NB) {
891 } else { // mOutputFormat must be OUTPUT_FORMAT_AMR_WB
940 CHECK_EQ(mOutputFormat, OUTPUT_FORMAT_RTP_AV
[all...]
H A DStagefrightRecorder.h81 output_format mOutputFormat; member in struct:android::StagefrightRecorder
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp1603 if (mOutputFormat->findInt32(kKeyChannelCount, &numchannels)) {
2381 sp<MetaData> oldOutputFormat = mOutputFormat;
2385 formatHasNotablyChanged(oldOutputFormat, mOutputFormat)) {
2399 CHECK(mOutputFormat->findRect(kKeyCropRect,
2410 mOutputFormat->setInt32(kKeyDisplayWidth,
2416 mOutputFormat->setInt32(kKeyDisplayHeight,
2468 sp<MetaData> oldOutputFormat = mOutputFormat;
2474 bool formatChanged = formatHasNotablyChanged(oldOutputFormat, mOutputFormat);
3769 return mOutputFormat;
4278 CHECK(mOutputFormat
[all...]
H A DMediaCodec.cpp633 mOutputFormat = msg;
1130 response->setMessage("format", mOutputFormat);
1196 mOutputFormat.clear();
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h176 sp<AMessage> mOutputFormat; member in struct:android::MediaCodec
H A DOMXCodec.h188 sp<MetaData> mOutputFormat; member in struct:android::OMXCodec
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java130 private int mOutputFormat = MediaRecorder.OutputFormat.MPEG_4; field in class:MediaEncoderFilter
254 mMediaRecorder.setOutputFormat(mOutputFormat);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java215 private FrameFormat mOutputFormat; field in class:BackDropperFilter

Completed in 167 milliseconds