- 26 Apr, 2022 38 commits
-
-
PiperOrigin-RevId: 442844189
samrobinson committed -
PiperOrigin-RevId: 442835160
huangdarwin committed -
PiperOrigin-RevId: 442826391
hschlueter committed -
This is safer because it will prevent any future problems with creating a new FrameProcessorChain before the previous one has completed its async release. From [eglDestroyContext documentation](https://www.khronos.org/registry/EGL/sdk/docs/man/html/eglDestroyContext.xhtml): "If the EGL rendering context is not current to any thread, eglDestroyContext destroys it immediately." The context isn't current to any thread here because GlUtil calls eglMakeCurrent with EGL_NO_CONTEXT before calling eglDestroyContext. So everthing should be released once the FrameProcessorChain's release task terminates. PiperOrigin-RevId: 442807484
hschlueter committed -
PiperOrigin-RevId: 442751310
claincly committed -
`Player.getCurrentTracksInfo` was renamed to `Player.getCurrentTracks` in https://github.com/androidx/media/commit/83daa052cbffe0fc671151cb8f2b0145f0b0b984. PiperOrigin-RevId: 441825078
ibaker committed -
Negative and zero values should be disallowed. PiperOrigin-RevId: 441757246
huangdarwin committed -
Add a very short (1 second) video, so that some manual tests / prototyping, including tests for the start and end of a video, encoder selection, or changes applied to frames, can finish quickly. PiperOrigin-RevId: 441756901
huangdarwin committed -
PiperOrigin-RevId: 441712166
olly committed -
* Group what's now many related test PNGs by moving them to their own directory. * Move bitmap references to files where they're used, as each bitmap is only used once each, except the original bitmap. PiperOrigin-RevId: 441485489
huangdarwin committed -
Scaling and rotation using ScaleToFitFrameProcessor may change the the resolution and aspect ratio, so defaulting to the same as the input is no longer accurate. PiperOrigin-RevId: 441463349
hschlueter committed -
What a minimal implementation should include is now explained in the interface javadoc while the method name reflects what the method does. PiperOrigin-RevId: 441432059
hschlueter committed -
PiperOrigin-RevId: 441424063
christosts committed -
PiperOrigin-RevId: 441253378
Ian Baker committed -
PiperOrigin-RevId: 441250773
huangdarwin committed -
1. TracksInfo is renamed to Tracks 2. TracksInfo.TrackGroupInfo is renamed to Tracks.Group PiperOrigin-RevId: 441232373
olly committed -
PiperOrigin-RevId: 441230941
hschlueter committed -
Transformer resolves to null when wrapped, this is a debug line that was not removed. PiperOrigin-RevId: 441200790
samrobinson committed -
PiperOrigin-RevId: 441142050
huangdarwin committed -
signalEndOfInputStream makes more sense before isEnded and getPendingInputFrameCount is related to registerInputFrame. PiperOrigin-RevId: 441134418
hschlueter committed -
PiperOrigin-RevId: 440952335
samrobinson committed -
PiperOrigin-RevId: 440906834
samrobinson committed -
The stream with the mp3 track is added because - We only encode to AAC - We only encode when the source track is not AAC Now that we have a way to force encoding, we no longer need the mp3 track. The test asset is kept for later parameterized testing. PiperOrigin-RevId: 440876080
claincly committed -
PiperOrigin-RevId: 440378974
olly committed -
PiperOrigin-RevId: 440347550
hschlueter committed -
PiperOrigin-RevId: 440325693
huangdarwin committed -
The MIME type was set to H265 to force transcoding. Now that we have an encoder factory that forces encoding, switching back to H264 ensures the quality test is conducted on more devices (those don't support H265 can be tested now). However, H265 should be part of the quality test after we have proper mechanism to skip test based on device capability. PiperOrigin-RevId: 440132471
claincly committed -
The DefaultMediaNotificationProvider checks if a command is available before putting the respective action in the notification. PiperOrigin-RevId: 440114422
christosts committed -
roboletric -> robolectric PiperOrigin-RevId: 440101421
huangdarwin committed -
The new demo GlFrameProcessor is based on BitmapOverlayVideoProcessor from the gl-demo. The demo-only GlFrameProcessor can be deleted once Transformer supports this functionality. PiperOrigin-RevId: 440059735
hschlueter committed -
1/4 is probably unnecessary, as 1/3 of 4k is 720, which should be supported on all practical encoders. PiperOrigin-RevId: 440055144
claincly committed -
We don't currently have enough understanding of the correlation between a specific SSIM score and video quality. Dropping to .90 to make most tests pass. Especially when there's no discernible difference from the videos with .9 and .95 SSIM. PiperOrigin-RevId: 440047551
claincly committed -
PiperOrigin-RevId: 439866306
olly committed -
PiperOrigin-RevId: 439861685
claincly committed -
PiperOrigin-RevId: 439855702
claincly committed -
PeriodicDimmingFrameProcessor is an example of how a custom fragment shader can be used to apply color changes that change over time. PiperOrigin-RevId: 439840609
hschlueter committed -
PiperOrigin-RevId: 439802597
claincly committed -
The matrix provider allows the transformation matrix to be updated for each frame based on the timestamp. The following example effects using this were added to the demo: * a zoom-in transition for the start of the video, * cropping a rotating rectangular frame portion, * rotating the frame around the y-axis in 3D. PiperOrigin-RevId: 439791592
hschlueter committed
-
- 06 Apr, 2022 2 commits
-
-
PiperOrigin-RevId: 439599201
hschlueter committed -
We add an entire class like we do for parsing other codec initialization formats; it's currently not doing any parsing though (... initialization data is really simple for AV1 though: just the entire contents of the box). For testing, we add the sample file, having been re-encoded with ffmpeg (and we also happen to have another av1 file, too). PiperOrigin-RevId: 439453823
olly committed
-