Searched refs:inputFormat (Results 26 - 50 of 50) sorted by relevance

12

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java89 FrameFormat inputFormat = input.getFormat();
92 if (mProgram == null || inputFormat.getTarget() != mTarget) {
93 initProgram(context, inputFormat.getTarget());
97 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
98 mWidth = inputFormat.getWidth();
99 mHeight = inputFormat.getHeight();
103 Frame output = context.getFrameManager().newFrame(inputFormat);
H A DResizeFilter.java64 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
65 return inputFormat;
94 FrameFormat inputFormat = input.getFormat();
95 mOHeight = mOWidth * inputFormat.getHeight() / inputFormat.getWidth();
H A DRotateFilter.java88 FrameFormat inputFormat = input.getFormat();
91 if (mProgram == null || inputFormat.getTarget() != mTarget) {
92 initProgram(context, inputFormat.getTarget());
95 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
96 mWidth = inputFormat.getWidth();
97 mHeight = inputFormat.getHeight();
H A DAutoFixFilter.java169 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
170 return inputFormat;
240 FrameFormat inputFormat = input.getFormat();
243 if (mShaderProgram == null || inputFormat.getTarget() != mTarget) {
244 initProgram(context, inputFormat.getTarget());
249 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
250 mWidth = inputFormat.getWidth();
251 mHeight = inputFormat.getHeight();
256 Frame output = context.getFrameManager().newFrame(inputFormat);
[all...]
H A DImageSlicer.java69 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
70 return inputFormat;
96 FrameFormat inputFormat = mOriginalFrame.getFormat();
97 MutableFrameFormat outputFormat = inputFormat.mutableCopy();
H A DDrawOverlayFilter.java51 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
52 return inputFormat;
H A DToRGBAFilter.java52 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
53 return getConvertedFormat(inputFormat);
H A DToRGBFilter.java52 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
53 return getConvertedFormat(inputFormat);
H A DCropFilter.java79 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
82 MutableFrameFormat outputFormat = inputFormat.mutableCopy();
H A DDrawRectFilter.java76 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
77 return inputFormat;
H A DImageCombineFilter.java67 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
68 return inputFormat;
H A DImageStitcher.java67 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
68 return inputFormat;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DReprocessFormatsMap.java79 int inputFormat = StreamConfigurationMap.checkArgumentFormatInternal(entry[i]);
86 String.format("Input %x had no output format length listed", inputFormat));
103 "expected: %d)", inputFormat, left, length));
182 final int inputFormat = mEntry[i];
205 if (inputFormat == format) {
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DRetargetFilter.java53 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
54 MutableFrameFormat retargeted = inputFormat.mutableCopy();
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java551 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
553 MutableFrameFormat format = inputFormat.mutableCopy();
561 private boolean createMemoryFormat(FrameFormat inputFormat) { argument
567 if (inputFormat.getWidth() == FrameFormat.SIZE_UNSPECIFIED ||
568 inputFormat.getHeight() == FrameFormat.SIZE_UNSPECIFIED) {
572 mMaskFormat = inputFormat.mutableCopy();
579 int widthExp = Math.max(mMaskWidthExp, pyramidLevel(inputFormat.getWidth()));
580 int heightExp = Math.max(mMaskHeightExp, pyramidLevel(inputFormat.getHeight()));
593 mAverageFormat = inputFormat.mutableCopy();
607 private void allocateFrames(FrameFormat inputFormat, FilterContex argument
[all...]
/frameworks/av/services/audioflinger/tests/
H A Dtest-mixer.cpp216 audio_format_t inputFormat = useInputFloat local
228 inputFormat, AUDIO_SESSION_OUTPUT_MIX);
243 (void *)(uintptr_t)inputFormat);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilter.java170 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument
633 MutableFrameFormat inputFormat = ObjectFormat.fromObject(value, FrameFormat.TARGET_SIMPLE);
639 inputFormat.setObjectClass(portClass);
650 ? new SerializedFrame(inputFormat, null)
651 : new SimpleFrame(inputFormat, null);
H A DFilterGraph.java227 FrameFormat inputFormat = inputPort.getSourceFormat();
229 inputFormat);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.h205 const sp<AMessage> &inputFormat,
H A DNuPlayer.cpp749 sp<AMessage> inputFormat = local
752 updateVideoSize(inputFormat, format);
1275 const sp<AMessage> &inputFormat,
1277 if (inputFormat == NULL) {
1306 CHECK(inputFormat->findInt32("width", &displayWidth));
1307 CHECK(inputFormat->findInt32("height", &displayHeight));
1314 if (inputFormat->findInt32("sar-width", &sarWidth)
1315 && inputFormat->findInt32("sar-height", &sarHeight)) {
1324 if (!inputFormat->findInt32("rotation-degrees", &rotationDegrees)) {
1274 updateVideoSize( const sp<AMessage> &inputFormat, const sp<AMessage> &outputFormat) argument
/frameworks/av/include/media/stagefright/
H A DOMXCodec.h341 void initOutputFormat(const sp<MetaData> &inputFormat);
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp4226 void OMXCodec::initOutputFormat(const sp<MetaData> &inputFormat) { argument
4231 if (inputFormat->findInt32(kKeyTimeScale, &timeScale)) {
4276 inputFormat->findInt32(kKeyChannelCount, &numChannels);
4277 inputFormat->findInt32(kKeySampleRate, &sampleRate);
4335 inputFormat->findInt32(kKeyChannelCount, &numChannels);
4336 inputFormat->findInt32(kKeySampleRate, &sampleRate);
4337 inputFormat->findInt32(kKeyBitRate, &bitRate);
4346 inputFormat->findInt32(kKeyChannelCount, &numChannels);
4347 inputFormat->findInt32(kKeySampleRate, &sampleRate);
4348 inputFormat
[all...]
H A DACodec.cpp1175 sp<AMessage> inputFormat = new AMessage(); local
1280 inputFormat->setInt32("adaptive-playback", false);
1344 inputFormat->setInt32("max-width", maxWidth);
1345 inputFormat->setInt32("max-height", maxHeight);
1346 inputFormat->setInt32("adaptive-playback", true);
1406 inputFormat->setInt32("max-width", maxWidth);
1407 inputFormat->setInt32("max-height", maxHeight);
1408 inputFormat->setInt32("adaptive-playback", true);
1417 inputFormat->setInt32("adaptive-playback", true);
1492 inputFormat
[all...]
/frameworks/av/services/audioflinger/
H A DAudioMixer.h353 audio_format_t inputFormat, audio_format_t outputFormat,
H A DAudioMixer.cpp358 audio_format_t inputFormat, audio_format_t outputFormat,
361 channels * audio_bytes_per_sample(inputFormat),
365 mInputFormat(inputFormat),
368 ALOGV("ReformatBufferProvider(%p)(%d, %#x, %#x)", this, channels, inputFormat, outputFormat);
357 ReformatBufferProvider(int32_t channels, audio_format_t inputFormat, audio_format_t outputFormat, size_t bufferFrameCount) argument

Completed in 652 milliseconds

12