Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[media] Refine DecoderBufferAllocator memory budget #4674

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

xiaomings
Copy link
Contributor

@xiaomings xiaomings commented Jan 9, 2025

Now SbMedia budget functions are properly respected when deciding MediaSource buffer memory limits.

DecoderBuffer::Allocator interface has been refined to remove SbMedia types, and all Starboard dependency is resolved inside the concrete DecoderBufferAllocator implementation in //media/starboard.

The logic to determine whether a video is 10 bits has been refined, as the video mime type is no longer available.

b/322027866

@xiaomings xiaomings requested review from a team as code owners January 9, 2025 01:00
@xiaomings xiaomings requested a review from johnxwork January 9, 2025 01:00
@xiaomings xiaomings force-pushed the decoder_buffer_allocator branch 2 times, most recently from b5863f1 to d3802ad Compare January 9, 2025 18:37
media/base/BUILD.gn Outdated Show resolved Hide resolved
@xiaomings xiaomings force-pushed the decoder_buffer_allocator branch 4 times, most recently from 7def28c to 9ddf1c6 Compare January 9, 2025 22:26
@xiaomings xiaomings force-pushed the decoder_buffer_allocator branch 4 times, most recently from 7fc63cd to ba5f861 Compare January 10, 2025 19:42
Now SbMedia budget functions are properly respected when deciding
MediaSource buffer memory limits.

DecoderBuffer::Allocator interface has been refined to remove SbMedia
types, and all Starboard dependency is resolved inside the concrete
DecoderBufferAllocator implementation in //media/starboard.

The logic to determine whether a video is 10 bits has been refined, as
the video mime type is no longer available.

b/322027866
@xiaomings xiaomings force-pushed the decoder_buffer_allocator branch from ba5f861 to 1914d23 Compare January 10, 2025 23:44
@xiaomings xiaomings disabled auto-merge January 10, 2025 23:54
@xiaomings xiaomings enabled auto-merge (squash) January 13, 2025 19:29
@xiaomings xiaomings merged commit 8b317b2 into youtube:main Jan 13, 2025
60 of 61 checks passed
@xiaomings xiaomings deleted the decoder_buffer_allocator branch January 13, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants