Commit 2693b602 by samrobinson Committed by christosts

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
parent 8cac27a7
...@@ -20,7 +20,7 @@ import android.os.Build; ...@@ -20,7 +20,7 @@ import android.os.Build;
import com.google.android.exoplayer2.util.Util; import com.google.android.exoplayer2.util.Util;
/** Provides encoder bitrates that should target 0.95 SSIM or higher, accounting for device used. */ /** Provides encoder bitrates that should target 0.95 SSIM or higher, accounting for device used. */
public class DeviceMappedEncoderBitrateProvider implements EncoderBitrateProvider { /* package */ class DeviceMappedEncoderBitrateProvider implements EncoderBitrateProvider {
@Override @Override
public int getBitrate(String encoderName, int width, int height, float frameRate) { public int getBitrate(String encoderName, int width, int height, float frameRate) {
......
...@@ -19,7 +19,7 @@ package com.google.android.exoplayer2.transformer; ...@@ -19,7 +19,7 @@ package com.google.android.exoplayer2.transformer;
import android.media.MediaCodecInfo; import android.media.MediaCodecInfo;
/** Provides bitrates for encoders to use as a target. */ /** Provides bitrates for encoders to use as a target. */
public interface EncoderBitrateProvider { /* package */ interface EncoderBitrateProvider {
/** /**
* Returns a recommended bitrate that the encoder should target. * Returns a recommended bitrate that the encoder should target.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment