Home
last modified time | relevance | path

Searched refs:MediaFormat (Results 1 – 25 of 38) sorted by relevance

12

/cts/tests/tests/media/src/android/media/cts/
DEncoderTest.java26 import android.media.MediaFormat;
70 LinkedList<MediaFormat> formats = new LinkedList<MediaFormat>(); in testAMRNBEncoders()
76 MediaFormat format = new MediaFormat(); in testAMRNBEncoders()
77 format.setString(MediaFormat.KEY_MIME, MediaFormat.MIMETYPE_AUDIO_AMR_NB); in testAMRNBEncoders()
78 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 8000); in testAMRNBEncoders()
79 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); in testAMRNBEncoders()
80 format.setInteger(MediaFormat.KEY_BIT_RATE, kBitRates[j]); in testAMRNBEncoders()
84 testEncoderWithFormats(MediaFormat.MIMETYPE_AUDIO_AMR_NB, formats); in testAMRNBEncoders()
88 LinkedList<MediaFormat> formats = new LinkedList<MediaFormat>(); in testAMRWBEncoders()
94 MediaFormat format = new MediaFormat(); in testAMRWBEncoders()
[all …]
DMediaCodecCapabilitiesTest.java28 import android.media.MediaFormat;
29 import static android.media.MediaFormat.MIMETYPE_VIDEO_AVC;
30 import static android.media.MediaFormat.MIMETYPE_VIDEO_H263;
31 import static android.media.MediaFormat.MIMETYPE_VIDEO_HEVC;
32 import static android.media.MediaFormat.MIMETYPE_VIDEO_MPEG4;
33 import static android.media.MediaFormat.MIMETYPE_VIDEO_VP8;
34 import static android.media.MediaFormat.MIMETYPE_VIDEO_VP9;
365 adaptiveFormats.add(MediaFormat.MIMETYPE_VIDEO_AVC); in requiredAdaptiveFormats()
366 adaptiveFormats.add(MediaFormat.MIMETYPE_VIDEO_HEVC); in requiredAdaptiveFormats()
367 adaptiveFormats.add(MediaFormat.MIMETYPE_VIDEO_VP8); in requiredAdaptiveFormats()
[all …]
DMediaCodecListTest.java28 import android.media.MediaFormat;
53 CodecType(String type, boolean isEncoder, MediaFormat sampleFormat) { in CodecType()
75 private MediaFormat mSampleFormat;
80 super(mime, isEncoder, MediaFormat.createAudioFormat( in AudioCodec()
88 super(mime, isEncoder, MediaFormat.createVideoFormat( in VideoCodec()
301 private boolean codecCanBeFound(boolean isEncoder, MediaFormat format) { in codecCanBeFound()
358 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_MPEG, false, 8000)); // mp3 in getRequiredCodecTypes()
359 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_MPEG, false, 48000)); // mp3 in getRequiredCodecTypes()
360 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_VORBIS, false, 8000)); in getRequiredCodecTypes()
361 list.add(new AudioCodec(MediaFormat.MIMETYPE_AUDIO_VORBIS, false, 48000)); in getRequiredCodecTypes()
[all …]
DMediaMuxerTest.java24 import android.media.MediaFormat;
100 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
113 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
116 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
126 muxer.addTrack(MediaFormat.createAudioFormat(MediaFormat.MIMETYPE_AUDIO_AAC, 48000, 1)); in testIllegalStateExceptions()
128 muxer.addTrack(MediaFormat.createAudioFormat(MediaFormat.MIMETYPE_AUDIO_AAC, 48000, 1)); in testIllegalStateExceptions()
138 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
139 muxer.addTrack(MediaFormat.createAudioFormat(MediaFormat.MIMETYPE_AUDIO_AAC, 48000, 1)); in testIllegalStateExceptions()
142 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
164 muxer.addTrack(MediaFormat.createVideoFormat("vidoe/mp4", 480, 320)); in testIllegalStateExceptions()
[all …]
DMediaCodecTest.java31 import android.media.MediaFormat;
65 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC;
72 private static final String MIME_TYPE_AUDIO = MediaFormat.MIMETYPE_AUDIO_AAC;
96 MediaFormat format = MediaFormat.createAudioFormat( in testException()
97 MediaFormat.MIMETYPE_AUDIO_MPEG, 44100 /* sampleRate */, 2 /* channelCount */); in testException()
101 format = MediaFormat.createAudioFormat( in testException()
102 MediaFormat.MIMETYPE_AUDIO_AMR_WB, 16000 /* sampleRate */, 1 /* channelCount */); in testException()
103 format.setInteger(MediaFormat.KEY_BIT_RATE, 19850); in testException()
138 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException()
140 String mimeType = format.getString(MediaFormat.KEY_MIME); in verifyException()
[all …]
DMediaCodecTunneledPlayer.java22 import android.media.MediaFormat;
123 MediaFormat format = mAudioExtractor.getTrackFormat(i); in prepareAudio()
124 String mime = format.getString(MediaFormat.KEY_MIME); in prepareAudio()
131 " Is ADTS:" + getMediaFormatInteger(format, MediaFormat.KEY_IS_ADTS) + in prepareAudio()
132 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + in prepareAudio()
134 getMediaFormatInteger(format, MediaFormat.KEY_CHANNEL_COUNT)); in prepareAudio()
142 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareAudio()
143 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio()
157 MediaFormat format = mVideoExtractor.getTrackFormat(i); in prepareVideo()
158 String mime = format.getString(MediaFormat.KEY_MIME); in prepareVideo()
[all …]
DDecoderConformanceTest.java30 import android.media.MediaFormat;
73 put(MediaFormat.MIMETYPE_VIDEO_VP9, "vp9");
144 MediaFormat format = mExtractor.getTrackFormat(trackIndex); in decodeTestVector()
193 MediaFormat bufferFormat = mDecoder.getOutputFormat(outputBufIndex); in decodeTestVector()
194 int width = bufferFormat.getInteger(MediaFormat.KEY_WIDTH); in decodeTestVector()
195 int height = bufferFormat.getInteger(MediaFormat.KEY_HEIGHT); in decodeTestVector()
196 int colorFmt = bufferFormat.getInteger(MediaFormat.KEY_COLOR_FORMAT); in decodeTestVector()
219 MediaFormat decOutputFormat = mDecoder.getOutputFormat(); in decodeTestVector()
220 int width = decOutputFormat.getInteger(MediaFormat.KEY_WIDTH); in decodeTestVector()
221 int height = decOutputFormat.getInteger(MediaFormat.KEY_HEIGHT); in decodeTestVector()
[all …]
DStreamingMediaPlayerTest.java19 import android.media.MediaFormat;
72 …if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_H263, MediaFormat.MIMETYPE_AUDIO_AMR_NB)) { in testHTTP_H263_AMR_Video1()
85 …if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_H263, MediaFormat.MIMETYPE_AUDIO_AMR_NB)) { in testHTTP_H263_AMR_Video2()
98 if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_MPEG4)) { in testHTTP_MPEG4SP_AAC_Video1()
111 if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_MPEG4)) { in testHTTP_MPEG4SP_AAC_Video2()
124 if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_AVC)) { in testHTTP_H264Base_AAC_Video1()
137 if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_AVC)) { in testHTTP_H264Base_AAC_Video2()
151 if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_AVC)) { in testHLS()
297 if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_AVC)) { in testPlayHlsStream()
304 if (!MediaUtils.checkDecoder(MediaFormat.MIMETYPE_VIDEO_AVC)) { in testPlayHlsStreamWithQueryString()
[all …]
DDecodeEditEncodeTest.java22 import android.media.MediaFormat;
57 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC;
196 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); in generateVideoFile()
208 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in generateVideoFile()
210 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in generateVideoFile()
211 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in generateVideoFile()
212 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in generateVideoFile()
244 private static String selectCodec(MediaFormat format) { in selectCodec()
308 MediaFormat newFormat = encoder.getOutputFormat(); in generateVideoData()
395 MediaFormat inputFormat = inputData.getMediaFormat(); in editVideoFile()
[all …]
DMediaCodecClearKeyPlayer.java28 import android.media.MediaFormat;
172 MediaFormat format = mAudioExtractor.getTrackFormat(i); in prepareAudio()
173 String mime = format.getString(MediaFormat.KEY_MIME); in prepareAudio()
179 " Is ADTS:" + getMediaFormatInteger(format, MediaFormat.KEY_IS_ADTS) + in prepareAudio()
180 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + in prepareAudio()
182 getMediaFormatInteger(format, MediaFormat.KEY_CHANNEL_COUNT)); in prepareAudio()
189 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareAudio()
190 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio()
210 MediaFormat format = mVideoExtractor.getTrackFormat(i); in prepareVideo()
211 String mime = format.getString(MediaFormat.KEY_MIME); in prepareVideo()
[all …]
DResourceManagerTestActivityBase.java25 import android.media.MediaFormat;
39 private static final String MIME = MediaFormat.MIMETYPE_VIDEO_AVC;
61 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
68 private MediaFormat getTestFormat(CodecCapabilities caps, boolean securePlayback) { in getTestFormat()
74 MediaFormat format = MediaFormat.createVideoFormat(MIME, width, height); in getTestFormat()
75 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, caps.colorFormats[0]); in getTestFormat()
76 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in getTestFormat()
77 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in getTestFormat()
78 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in getTestFormat()
160 MediaFormat format = getTestFormat(caps, securePlayback); in allocateCodecs()
DExtractDecodeEditEncodeMuxTest.java28 import android.media.MediaFormat;
83 private static final String OUTPUT_AUDIO_MIME_TYPE = MediaFormat.MIMETYPE_AUDIO_AAC;
131 setVideoMimeType(MediaFormat.MIMETYPE_VIDEO_AVC); in testExtractDecodeEditEncodeMuxQCIF()
139 setVideoMimeType(MediaFormat.MIMETYPE_VIDEO_AVC); in testExtractDecodeEditEncodeMuxQVGA()
147 setVideoMimeType(MediaFormat.MIMETYPE_VIDEO_AVC); in testExtractDecodeEditEncodeMux720p()
155 setVideoMimeType(MediaFormat.MIMETYPE_VIDEO_HEVC); in testExtractDecodeEditEncodeMux2160pHevc()
304 MediaFormat outputVideoFormat = in extractDecodeEditEncodeMux()
305 MediaFormat.createVideoFormat(mOutputVideoMimeType, mWidth, mHeight); in extractDecodeEditEncodeMux()
310 MediaFormat.KEY_COLOR_FORMAT, OUTPUT_VIDEO_COLOR_FORMAT); in extractDecodeEditEncodeMux()
311 outputVideoFormat.setInteger(MediaFormat.KEY_BIT_RATE, OUTPUT_VIDEO_BIT_RATE); in extractDecodeEditEncodeMux()
[all …]
DVideoDecoderPerfTest.java29 import android.media.MediaFormat;
51 private static final String AVC = MediaFormat.MIMETYPE_VIDEO_AVC;
52 private static final String H263 = MediaFormat.MIMETYPE_VIDEO_H263;
53 private static final String HEVC = MediaFormat.MIMETYPE_VIDEO_HEVC;
54 private static final String MPEG2 = MediaFormat.MIMETYPE_VIDEO_MPEG2;
55 private static final String MPEG4 = MediaFormat.MIMETYPE_VIDEO_MPEG4;
56 private static final String VP8 = MediaFormat.MIMETYPE_VIDEO_VP8;
57 private static final String VP9 = MediaFormat.MIMETYPE_VIDEO_VP9;
64 private MediaFormat mDecInputFormat;
65 private MediaFormat mDecOutputFormat;
[all …]
DCodecState.java21 import android.media.MediaFormat;
50 private MediaFormat mFormat;
51 private MediaFormat mOutputFormat;
61 MediaFormat format, in CodecState()
84 String mime = mFormat.getString(MediaFormat.KEY_MIME); in CodecState()
275 String mime = mOutputFormat.getString(MediaFormat.KEY_MIME); in onOutputFormatChanged()
283 mOutputFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in onOutputFormatChanged()
286 mOutputFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in onOutputFormatChanged()
304 int width = mOutputFormat.getInteger(MediaFormat.KEY_WIDTH); in onOutputFormatChanged()
305 int height = mOutputFormat.getInteger(MediaFormat.KEY_HEIGHT); in onOutputFormatChanged()
DEncodeVirtualDisplayTest.java23 import android.media.MediaFormat;
87 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC;
170 MediaFormat format = MediaFormat.createVideoFormat( in verifySupportForEncoderLevel()
172 format.setInteger(MediaFormat.KEY_BIT_RATE, ENCODER_PARAM_TABLE[i][2]); in verifySupportForEncoderLevel()
173 format.setInteger(MediaFormat.KEY_FRAME_RATE, ENCODER_PARAM_TABLE[i][3]); in verifySupportForEncoderLevel()
211 MediaFormat encoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, sWidth, sHeight); in encodeVirtualDisplayTest()
212 encoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in encodeVirtualDisplayTest()
214 encoderFormat.setInteger(MediaFormat.KEY_BIT_RATE, sBitRate); in encodeVirtualDisplayTest()
215 encoderFormat.setInteger(MediaFormat.KEY_FRAME_RATE, sFrameRate); in encodeVirtualDisplayTest()
216 encoderFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in encodeVirtualDisplayTest()
[all …]
DNativeDecoderTest.java28 import android.media.MediaFormat;
146 MediaFormat format = ex.getTrackFormat(i); in getSampleSizes()
147 String mime = format.getString(MediaFormat.KEY_MIME); in getSampleSizes()
150 foo.add(format.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in getSampleSizes()
151 foo.add(format.getInteger(MediaFormat.KEY_CHANNEL_COUNT)); in getSampleSizes()
152 foo.add((int)format.getLong(MediaFormat.KEY_DURATION)); in getSampleSizes()
155 foo.add(format.getInteger(MediaFormat.KEY_WIDTH)); in getSampleSizes()
156 foo.add(format.getInteger(MediaFormat.KEY_HEIGHT)); in getSampleSizes()
157 foo.add((int)format.getLong(MediaFormat.KEY_DURATION)); in getSampleSizes()
236 MediaFormat[] format = new MediaFormat[numtracks]; in getDecodedData()
[all …]
DDecoderTest.java35 import android.media.MediaFormat;
125 MediaCodec mMediaCodec = MediaCodec.createDecoderByType(MediaFormat.MIMETYPE_AUDIO_AAC); in testBug11696552()
126 MediaFormat mFormat = MediaFormat.createAudioFormat( in testBug11696552()
127 MediaFormat.MIMETYPE_AUDIO_AAC, 48000 /* frequency */, 2 /* channels */); in testBug11696552()
129 mFormat.setInteger(MediaFormat.KEY_IS_ADTS, 1); in testBug11696552()
239 MediaFormat format = ex.getTrackFormat(0); in testBFrames()
240 String mime = format.getString(MediaFormat.KEY_MIME); in testBFrames()
310 MediaFormat.COLOR_RANGE_LIMITED, MediaFormat.COLOR_STANDARD_BT709, in testH264ColorAspects()
311 MediaFormat.COLOR_TRANSFER_SDR_VIDEO); in testH264ColorAspects()
314 MediaFormat.COLOR_RANGE_FULL, MediaFormat.COLOR_STANDARD_BT601_PAL, in testH264ColorAspects()
[all …]
DEncodeDecodeTest.java25 import android.media.MediaFormat;
58 private static final String MIME_TYPE_AVC = MediaFormat.MIMETYPE_VIDEO_AVC;
59 private static final String MIME_TYPE_VP8 = MediaFormat.MIMETYPE_VIDEO_VP8;
352 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in shouldSkip()
353 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in shouldSkip()
354 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in shouldSkip()
355 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in shouldSkip()
384 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in encodeDecodeVideoFromBuffer()
409 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in encodeDecodeVideoFromBuffer()
410 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in encodeDecodeVideoFromBuffer()
[all …]
DVideoEncoderTest.java34 import android.media.MediaFormat;
70 private MediaFormat mFormat;
77 public void setFormat(MediaFormat format) { in setFormat()
128 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in play()
132 mFormat.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, mInputBufferSize); in play()
150 String mime = mFormat.getString(MediaFormat.KEY_MIME); in playAll()
196 protected MediaFormat mDecFormat;
203 protected Function<MediaFormat, Boolean> mUpdateConfigFormatHook;
204 protected Function<MediaFormat, Boolean> mCheckOutputFormatHook;
210 public void setUpdateConfigHook(Function<MediaFormat, Boolean> hook) { in setUpdateConfigHook() argument
[all …]
DAdaptivePlaybackTest.java30 import android.media.MediaFormat;
56 MediaFormat.MIMETYPE_VIDEO_AVC, in H264()
66 MediaFormat.MIMETYPE_VIDEO_HEVC, in HEVC()
76 MediaFormat.MIMETYPE_VIDEO_H263, in H263()
85 MediaFormat.MIMETYPE_VIDEO_MPEG4, in Mpeg4()
96 MediaFormat.MIMETYPE_VIDEO_VP8, in VP8()
106 MediaFormat.MIMETYPE_VIDEO_VP9, in VP9()
358 MediaFormat fmt = stepFormat(); in addTests()
359 MediaFormat configFmt = fmt; in addTests()
910 public void configureAndStart(MediaFormat format, TestSurface surface) {
[all …]
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java26 import android.media.MediaFormat;
189 boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in getCodecNames()
201 for (MediaFormat format : formats) { in getCodecNames()
202 String mime = format.getString(MediaFormat.KEY_MIME); in getCodecNames()
220 public static String[] getDecoderNames(/* Nullable */ Boolean isGoog, MediaFormat... formats) { in getDecoderNames()
224 public static String[] getDecoderNames(MediaFormat... formats) { in getDecoderNames()
229 public static String[] getEncoderNames(/* Nullable */ Boolean isGoog, MediaFormat... formats) { in getEncoderNames()
233 public static String[] getEncoderNames(MediaFormat... formats) { in getEncoderNames()
238 int count, boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in verifyNumCodecs()
250 public static MediaCodec getDecoder(MediaFormat format) { in getDecoder()
[all …]
DMediaPerfUtils.java18 import android.media.MediaFormat;
44 private static String formatForReport(MediaFormat format) { in formatForReport()
56 MediaFormat configFormat, MediaFormat inputFormat, MediaFormat outputFormat) { in addPerformanceHeadersToLog()
59 log.addValue("mime_type", configFormat.getString(MediaFormat.KEY_MIME), in addPerformanceHeadersToLog()
61 log.addValue("width", configFormat.getInteger(MediaFormat.KEY_WIDTH), in addPerformanceHeadersToLog()
63 log.addValue("height", configFormat.getInteger(MediaFormat.KEY_HEIGHT), in addPerformanceHeadersToLog()
/cts/tests/video/src/android/video/cts/
DCodecInfo.java27 import android.media.MediaFormat;
48 private static final String VIDEO_AVC = MediaFormat.MIMETYPE_VIDEO_AVC;
84 MediaFormat format = MediaFormat.createVideoFormat(mimeType, w, h); in getSupportedFormatInfo()
86 info.mFps = format.getInteger(MediaFormat.KEY_FRAME_RATE); in getSupportedFormatInfo()
87 info.mBitRate = format.getInteger(MediaFormat.KEY_BIT_RATE); in getSupportedFormatInfo()
DVideoEncoderDecoderTest.java29 import android.media.MediaFormat;
70 private static final String AVC = MediaFormat.MIMETYPE_VIDEO_AVC;
71 private static final String H263 = MediaFormat.MIMETYPE_VIDEO_H263;
72 private static final String HEVC = MediaFormat.MIMETYPE_VIDEO_HEVC;
73 private static final String MPEG2 = MediaFormat.MIMETYPE_VIDEO_MPEG2;
74 private static final String MPEG4 = MediaFormat.MIMETYPE_VIDEO_MPEG4;
75 private static final String VP8 = MediaFormat.MIMETYPE_VIDEO_VP8;
76 private static final String VP9 = MediaFormat.MIMETYPE_VIDEO_VP9;
111 private MediaFormat mEncConfigFormat;
112 private MediaFormat mEncInputFormat;
[all …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaTest.java21 import android.media.MediaFormat;
32 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC;
58 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, width, height); in runPlayTest()

12