Searched refs:mediaFormat (Results 1 – 7 of 7) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | DvrStorageManager.java | 88 private void readFormatInt(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatInt() argument 92 mediaFormat.setInteger(key, val); in readFormatInt() 96 private void readFormatLong(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatLong() argument 100 mediaFormat.setLong(key, val); in readFormatLong() 104 private void readFormatFloat(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatFloat() argument 108 mediaFormat.setFloat(key, val); in readFormatFloat() 122 private void readFormatString(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatString() argument 126 mediaFormat.setString(key, str); in readFormatString() 130 private void readFormatStringOptional(DataInputStream in, MediaFormat mediaFormat, String key) { in readFormatStringOptional() argument 134 mediaFormat.setString(key, str); in readFormatStringOptional() [all …]
|
D | SampleChunkIoHelper.java | 211 MediaFormat mediaFormat = getAudioMediaFormat(mFormats.get(i)); in init() local 212 mediaFormat.setLong(MediaFormat.KEY_DURATION, mBufferDurationUs); in init() 213 audios.add(new BufferManager.TrackFormat(mIds.get(i), mediaFormat)); in init() 215 MediaFormat mediaFormat = getVideoMediaFormat(mFormats.get(i)); in init() local 216 mediaFormat.setLong(MediaFormat.KEY_DURATION, mBufferDurationUs); in init() 220 mediaFormat.setInteger( in init() 226 videos.add(new BufferManager.TrackFormat(mIds.get(i), mediaFormat)); in init() 237 MediaFormat mediaFormat = new MediaFormat(); in getVideoMediaFormat() local 239 mediaFormat.setString(MediaFormat.KEY_MIME, format.sampleMimeType); in getVideoMediaFormat() 240 mediaFormat.setInteger(MediaFormat.KEY_WIDTH, format.width); in getVideoMediaFormat() [all …]
|
D | BufferManager.java | 179 public final MediaFormat mediaFormat; field in BufferManager.TrackFormat 187 public TrackFormat(String trackId, MediaFormat mediaFormat) { in TrackFormat() argument 189 this.mediaFormat = mediaFormat; in TrackFormat()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | FileSampleExtractor.java | 115 Lists.transform(trackFormatList, tf -> createFormat(tf.mediaFormat))); in handlePrepare() 140 private Format createFormat(MediaFormat mediaFormat) { in createFormat() argument 141 String mimeType = mediaFormat.getString(android.media.MediaFormat.KEY_MIME); in createFormat() 142 String language = getOptionalStringV16(mediaFormat, android.media.MediaFormat.KEY_LANGUAGE); in createFormat() 144 getOptionalIntegerV16(mediaFormat, android.media.MediaFormat.KEY_MAX_INPUT_SIZE); in createFormat() 145 int width = getOptionalIntegerV16(mediaFormat, android.media.MediaFormat.KEY_WIDTH); in createFormat() 146 int height = getOptionalIntegerV16(mediaFormat, android.media.MediaFormat.KEY_HEIGHT); in createFormat() 147 int rotationDegrees = getOptionalIntegerV16(mediaFormat, "rotation-degrees"); in createFormat() 149 getOptionalIntegerV16(mediaFormat, android.media.MediaFormat.KEY_CHANNEL_COUNT); in createFormat() 151 getOptionalIntegerV16(mediaFormat, android.media.MediaFormat.KEY_SAMPLE_RATE); in createFormat() [all …]
|
/packages/apps/TV/tuner/src/com/google/android/exoplayer/ |
D | MediaFormatUtil.java | 58 MediaFormat mediaFormat = in createMediaFormat() local 84 mediaFormat.setFrameworkFormatV16(format); in createMediaFormat() 85 return mediaFormat; in createMediaFormat()
|
/packages/services/Car/cpp/computepipe/runner/input_manager/ |
D | VideoDecoder.cpp | 42 PixelFormat toPixelFormat(int mediaFormat) { in toPixelFormat() argument 43 switch (mediaFormat) { in toPixelFormat() 47 LOG(ERROR) << "Unsupported output format - " << mediaFormat; in toPixelFormat()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 427 Long durationUs = trackFormat.mediaFormat.getLong(MediaFormat.KEY_DURATION); in getDurationForRecording()
|