HomeSort by relevance Sort by last modified time
    Searched refs:inputFormat (Results 26 - 50 of 54) sorted by null

12 3

  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
StraightenFilter.java 94 FrameFormat inputFormat = input.getFormat();
97 if (mProgram == null || inputFormat.getTarget() != mTarget) {
98 initProgram(context, inputFormat.getTarget());
102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
103 mWidth = inputFormat.getWidth();
104 mHeight = inputFormat.getHeight();
108 Frame output = context.getFrameManager().newFrame(inputFormat);
ResizeFilter.java 67 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
68 return inputFormat;
97 FrameFormat inputFormat = input.getFormat();
98 mOHeight = mOWidth * inputFormat.getHeight() / inputFormat.getWidth();
RotateFilter.java 93 FrameFormat inputFormat = input.getFormat();
96 if (mProgram == null || inputFormat.getTarget() != mTarget) {
97 initProgram(context, inputFormat.getTarget());
100 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
101 mWidth = inputFormat.getWidth();
102 mHeight = inputFormat.getHeight();
AutoFixFilter.java 172 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
173 return inputFormat;
243 FrameFormat inputFormat = input.getFormat();
246 if (mShaderProgram == null || inputFormat.getTarget() != mTarget) {
247 initProgram(context, inputFormat.getTarget());
252 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
253 mWidth = inputFormat.getWidth();
254 mHeight = inputFormat.getHeight();
259 Frame output = context.getFrameManager().newFrame(inputFormat);
    [all...]
ImageSlicer.java 71 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
72 return inputFormat;
98 FrameFormat inputFormat = mOriginalFrame.getFormat();
99 MutableFrameFormat outputFormat = inputFormat.mutableCopy();
DrawOverlayFilter.java 57 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
58 return inputFormat;
ToRGBAFilter.java 57 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
58 return getConvertedFormat(inputFormat);
ToRGBFilter.java 57 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
58 return getConvertedFormat(inputFormat);
CropFilter.java 85 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
88 MutableFrameFormat outputFormat = inputFormat.mutableCopy();
DrawRectFilter.java 79 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
80 return inputFormat;
ImageCombineFilter.java 73 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
74 return inputFormat;
ImageStitcher.java 71 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
72 return inputFormat;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
RetargetFilter.java 55 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
56 MutableFrameFormat retargeted = inputFormat.mutableCopy();
  /frameworks/av/libvideoeditor/vss/common/inc/
M4AIR_API.h 110 * M4OSA_ERR M4AIR_create(M4OSA_Context* pContext,M4AIR_InputFormatType inputFormat);
113 * @param inputFormat: (IN) input format type.
119 M4OSA_ERR M4AIR_create(M4OSA_Context* pContext,M4AIR_InputFormatType inputFormat);
  /hardware/qcom/display/msm8960/libgralloc/
gpu.h 71 void getGrallocInformationFromFormat(int inputFormat,
gpu.cpp 161 void gpu_context_t::getGrallocInformationFromFormat(int inputFormat,
166 if (inputFormat <= HAL_PIXEL_FORMAT_sRGB_X_8888) {
169 } else if ((inputFormat == HAL_PIXEL_FORMAT_R_8) ||
170 (inputFormat == HAL_PIXEL_FORMAT_RG_88)) {
  /hardware/qcom/display/msm8974/libgralloc/
gpu.h 71 void getGrallocInformationFromFormat(int inputFormat,
gpu.cpp 167 void gpu_context_t::getGrallocInformationFromFormat(int inputFormat,
172 if (inputFormat <= HAL_PIXEL_FORMAT_sRGB_X_8888) {
175 } else if ((inputFormat == HAL_PIXEL_FORMAT_R_8) ||
176 (inputFormat == HAL_PIXEL_FORMAT_RG_88)) {
  /hardware/qcom/display/msm8x26/libgralloc/
gpu.h 71 void getGrallocInformationFromFormat(int inputFormat,
gpu.cpp 161 void gpu_context_t::getGrallocInformationFromFormat(int inputFormat,
166 if (inputFormat < 0x7) {
169 } else if ((inputFormat == HAL_PIXEL_FORMAT_R_8) ||
170 (inputFormat == HAL_PIXEL_FORMAT_RG_88)) {
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
BackDropperFilter.java 553 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
555 MutableFrameFormat format = inputFormat.mutableCopy();
563 private boolean createMemoryFormat(FrameFormat inputFormat) {
569 if (inputFormat.getWidth() == FrameFormat.SIZE_UNSPECIFIED ||
570 inputFormat.getHeight() == FrameFormat.SIZE_UNSPECIFIED) {
574 mMaskFormat = inputFormat.mutableCopy();
581 int widthExp = Math.max(mMaskWidthExp, pyramidLevel(inputFormat.getWidth()));
582 int heightExp = Math.max(mMaskHeightExp, pyramidLevel(inputFormat.getHeight()));
595 mAverageFormat = inputFormat.mutableCopy();
609 private void allocateFrames(FrameFormat inputFormat, FilterContext context)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
ExtractDecodeEditEncodeMuxTest.java 283 MediaFormat inputFormat = videoExtractor.getTrackFormat(videoInputTrack);
310 videoDecoder = createVideoDecoder(inputFormat, outputSurface.getSurface());
317 MediaFormat inputFormat = audioExtractor.getTrackFormat(audioInputTrack);
330 audioDecoder = createAudioDecoder(inputFormat);
469 * @param inputFormat the format of the stream to decode
472 private MediaCodec createVideoDecoder(MediaFormat inputFormat, Surface surface) {
473 MediaCodec decoder = MediaCodec.createDecoderByType(getMimeTypeFor(inputFormat));
474 decoder.configure(inputFormat, surface, null, 0);
504 * @param inputFormat the format of the stream to decode
506 private MediaCodec createAudioDecoder(MediaFormat inputFormat) {
    [all...]
DecodeEditEncodeTest.java 405 MediaFormat inputFormat = inputData.getMediaFormat();
413 inputFormat.getInteger(MediaFormat.KEY_BIT_RATE));
415 inputFormat.getInteger(MediaFormat.KEY_FRAME_RATE));
417 inputFormat.getInteger(MediaFormat.KEY_I_FRAME_INTERVAL));
431 decoder.configure(inputFormat, outputSurface.getSurface(), null, 0);
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
Filter.java 171 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
634 MutableFrameFormat inputFormat = ObjectFormat.fromObject(value, FrameFormat.TARGET_SIMPLE);
640 inputFormat.setObjectClass(portClass);
651 ? new SerializedFrame(inputFormat, null)
652 : new SimpleFrame(inputFormat, null);
FilterGraph.java 227 FrameFormat inputFormat = inputPort.getSourceFormat();
229 inputFormat);

Completed in 750 milliseconds

12 3