Home
last modified time | relevance | path

Searched refs:pixelWidthHeightRatio (Results 1 – 20 of 20) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DFormat.java149 private float pixelWidthHeightRatio; field in Format.Builder
181 pixelWidthHeightRatio = 1.0f; in Builder()
219 this.pixelWidthHeightRatio = format.pixelWidthHeightRatio; in Builder()
468 public Builder setPixelWidthHeightRatio(float pixelWidthHeightRatio) { in setPixelWidthHeightRatio() argument
469 this.pixelWidthHeightRatio = pixelWidthHeightRatio; in setPixelWidthHeightRatio()
613 pixelWidthHeightRatio, in build()
746 public final float pixelWidthHeightRatio; field in Format
874 float pixelWidthHeightRatio, in createVideoSampleFormat() argument
889 .setPixelWidthHeightRatio(pixelWidthHeightRatio) in createVideoSampleFormat()
906 float pixelWidthHeightRatio, in createVideoSampleFormat() argument
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DVideoRendererEventListener.java114 int width, int height, int unappliedRotationDegrees, float pixelWidthHeightRatio) {} in onVideoSizeChanged() argument
200 final float pixelWidthHeightRatio) { in videoSizeChanged() argument
206 width, height, unappliedRotationDegrees, pixelWidthHeightRatio)); in videoSizeChanged()
DVideoListener.java38 int width, int height, int unappliedRotationDegrees, float pixelWidthHeightRatio) {} in onVideoSizeChanged() argument
DMediaCodecVideoRenderer.java670 currentPixelWidthHeightRatio = outputFormat.pixelWidthHeightRatio; in configureOutput()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DH262Reader.java231 float pixelWidthHeightRatio = 1f; in parseCsdBuffer() local
235 pixelWidthHeightRatio = (4 * height) / (float) (3 * width); in parseCsdBuffer()
238 pixelWidthHeightRatio = (16 * height) / (float) (9 * width); in parseCsdBuffer()
241 pixelWidthHeightRatio = (121 * height) / (float) (100 * width); in parseCsdBuffer()
254 .setPixelWidthHeightRatio(pixelWidthHeightRatio) in parseCsdBuffer()
DH265Reader.java319 float pixelWidthHeightRatio = 1; in parseMediaFormat() local
327 pixelWidthHeightRatio = (float) sarWidth / sarHeight; in parseMediaFormat()
330 pixelWidthHeightRatio = NalUnitUtil.ASPECT_RATIO_IDC_VALUES[aspectRatioIdc]; in parseMediaFormat()
342 .setPixelWidthHeightRatio(pixelWidthHeightRatio) in parseMediaFormat()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DNalUnitUtil.java349 float pixelWidthHeightRatio = 1; in parseSpsNalUnit() local
359 pixelWidthHeightRatio = (float) sarWidth / sarHeight; in parseSpsNalUnit()
362 pixelWidthHeightRatio = NalUnitUtil.ASPECT_RATIO_IDC_VALUES[aspectRatioIdc]; in parseSpsNalUnit()
376 pixelWidthHeightRatio, in parseSpsNalUnit()
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java310 int width, int height, int unappliedRotationDegrees, float pixelWidthHeightRatio) { in onVideoSizeChanged() argument
314 int scaledWidth = Math.round(width * pixelWidthHeightRatio); in onVideoSizeChanged()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeVideoRenderer.java108 format.width, format.height, format.rotationDegrees, format.pixelWidthHeightRatio); in shouldProcessBuffer()
DFakeTrackOutput.java290 addIfNonDefault(dumper, "pixelWidthHeightRatio", format -> format.pixelWidthHeightRatio); in dump()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDebugTextViewHelper.java158 + getPixelAspectRatioString(format.pixelWidthHeightRatio) in getVideoString()
DPlayerView.java1527 int width, int height, int unappliedRotationDegrees, float pixelWidthHeightRatio) { in onVideoSizeChanged() argument
1529 (height == 0 || width == 0) ? 1 : (width * pixelWidthHeightRatio) / height; in onVideoSizeChanged()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DAnalyticsListener.java523 float pixelWidthHeightRatio) {} in onVideoSizeChanged() argument
DAnalyticsCollector.java308 int width, int height, int unappliedRotationDegrees, float pixelWidthHeightRatio) { in onVideoSizeChanged() argument
312 eventTime, width, height, unappliedRotationDegrees, pixelWidthHeightRatio); in onVideoSizeChanged()
DPlaybackStatsListener.java375 float pixelWidthHeightRatio) { in onVideoSizeChanged() argument
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DAtomParsers.java897 float pixelWidthHeightRatio = 1; in parseVideoSampleEntry() local
942 pixelWidthHeightRatio = avcConfig.pixelWidthAspectRatio; in parseVideoSampleEntry()
976 pixelWidthHeightRatio = parsePaspFromParent(parent, childStartPosition); in parseVideoSampleEntry()
1018 .setPixelWidthHeightRatio(pixelWidthHeightRatio) in parseVideoSampleEntry()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DSimpleExoPlayer.java2041 int width, int height, int unappliedRotationDegrees, float pixelWidthHeightRatio) { in onVideoSizeChanged() argument
2047 width, height, unappliedRotationDegrees, pixelWidthHeightRatio); in onVideoSizeChanged()
2052 width, height, unappliedRotationDegrees, pixelWidthHeightRatio); in onVideoSizeChanged()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DMatroskaExtractor.java2102 float pixelWidthHeightRatio = Format.NO_VALUE; in initializeOutput() local
2104 pixelWidthHeightRatio = ((float) (height * displayWidth)) / (width * displayHeight); in initializeOutput()
2134 .setPixelWidthHeightRatio(pixelWidthHeightRatio) in initializeOutput()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java373 float pixelWidthHeightRatio) { in onVideoSizeChanged() argument
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollectorTest.java1479 float pixelWidthHeightRatio) { in onVideoSizeChanged() argument