mirror of
https://github.com/androidx/media.git
synced 2025-05-11 09:39:52 +08:00
Make EncoderBitrateProvider and implementations package private.
There is no API to allow applications to use these currently. Until that exists, these classes do not need to be public. PiperOrigin-RevId: 500792401
This commit is contained in:
parent
5a86644547
commit
316174b6fb
@ -22,7 +22,7 @@ import androidx.media3.common.util.Util;
|
||||
|
||||
/** Provides encoder bitrates that should target 0.95 SSIM or higher, accounting for device used. */
|
||||
@UnstableApi
|
||||
public class DeviceMappedEncoderBitrateProvider implements EncoderBitrateProvider {
|
||||
/* package */ class DeviceMappedEncoderBitrateProvider implements EncoderBitrateProvider {
|
||||
|
||||
@Override
|
||||
public int getBitrate(String encoderName, int width, int height, float frameRate) {
|
||||
|
@ -21,7 +21,7 @@ import androidx.media3.common.util.UnstableApi;
|
||||
|
||||
/** Provides bitrates for encoders to use as a target. */
|
||||
@UnstableApi
|
||||
public interface EncoderBitrateProvider {
|
||||
/* package */ interface EncoderBitrateProvider {
|
||||
|
||||
/**
|
||||
* Returns a recommended bitrate that the encoder should target.
|
||||
|
Loading…
x
Reference in New Issue
Block a user