HomeSort by relevance Sort by last modified time
    Searched defs:mediaFormat (Results 1 - 9 of 9) sorted by null

  /packages/apps/TV/usbtuner/src/com/google/android/exoplayer/
MediaFormatUtil.java 23 /** {@link MediaFormat} creation helper util */
27 * Creates {@link MediaFormat} from {@link android.media.MediaFormat}.
28 * Since {@link com.google.android.exoplayer.TrackRenderer} uses {@link MediaFormat},
29 * {@link android.media.MediaFormat} should be converted to be used with ExoPlayer.
31 public static MediaFormat createMediaFormat(android.media.MediaFormat format) {
33 String mimeType = format.getString(android.media.MediaFormat.KEY_MIME);
34 String language = getOptionalStringV16(format, android.media.MediaFormat.KEY_LANGUAGE);
36 getOptionalIntegerV16(format, android.media.MediaFormat.KEY_MAX_INPUT_SIZE)
    [all...]
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
RecordingSampleBuffer.java 20 import android.media.MediaFormat;
79 private List<MediaFormat> mMediaFormats;
178 public synchronized void init(List<String> ids, List<MediaFormat> mediaFormats)
186 throw new IOException("MediaFormat is not provided.");
391 Pair<String, android.media.MediaFormat> audio = null, video = null;
393 MediaFormat mediaFormat = mMediaFormats.get(i);
394 String mime = mediaFormat.getString(MediaFormat.KEY_MIME);
395 mediaFormat.setLong(android.media.MediaFormat.KEY_DURATION, mCacheDurationUs)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
DecodeAccuracyTestBase.java 35 import android.media.MediaFormat;
176 MediaFormat mediaFormat = extractor.getTrackFormat(trackNum);
177 configureFormat(mediaFormat, videoFormat);
178 return configureDecoder(surface, mediaFormat);
245 private boolean configureDecoder(Surface surface, MediaFormat mediaFormat) {
248 mediaFormat.getString(MediaFormat.KEY_MIME));
249 decoder.configure(mediaFormat, surface, null, 0)
    [all...]
ImageReaderDecoderTest.java 38 import android.media.MediaFormat;
156 MediaFormat.MIMETYPE_VIDEO_H263,
162 MediaFormat.MIMETYPE_VIDEO_MPEG4,
170 MediaFormat.MIMETYPE_VIDEO_AVC,
178 MediaFormat.MIMETYPE_VIDEO_HEVC,
186 MediaFormat.MIMETYPE_VIDEO_VP8,
194 MediaFormat.MIMETYPE_VIDEO_VP9,
259 MediaFormat mediaFormat = null;
284 mediaFormat = extractor.getTrackFormat(0)
    [all...]
MediaSyncTest.java 32 import android.media.MediaFormat;
644 MediaFormat mediaFormat =
646 String mimeType = mediaFormat.getString(MediaFormat.KEY_MIME);
652 mDecoder.configure(mediaFormat, mSurface, null, 0);
699 MediaFormat mediaFormat =
701 int sampleRateInHz = mediaFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)
    [all...]
MediaCodecTest.java 31 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(
97 MediaFormat.MIMETYPE_AUDIO_MPEG, 44100 /* sampleRate */, 2 /* channelCount */);
101 format = MediaFormat.createAudioFormat(
102 MediaFormat.MIMETYPE_AUDIO_AMR_WB, 16000 /* sampleRate */, 1 /* channelCount */);
103 format.setInteger(MediaFormat.KEY_BIT_RATE, 19850);
138 private static boolean verifyException(MediaFormat format, boolean isEncoder
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
MediaDecoder.java 22 import android.media.MediaFormat;
235 MediaFormat format = mMediaExtractor.getTrackFormat(i);
252 MediaFormat videoFormat = mMediaExtractor.getTrackFormat(mVideoTrackIndex);
264 MediaFormat audioFormat = mMediaExtractor.getTrackFormat(mAudioTrackIndex);
391 MediaFormat mediaFormat = mMediaExtractor.getTrackFormat(
393 return mediaFormat.getLong(MediaFormat.KEY_DURATION) * 1000;
  /packages/apps/TV/usbtuner/libs/
exoplayer_1.5.6.jar 
  /developers/build/prebuilts/androidtv/sample-inputs/app/libs/
exoplayer_dev-hls_20150123.jar 

Completed in 257 milliseconds