CodecCapLevels
编解码能力等级。
Java
public class CodecCapLevels {
public Constants.VideoCodecCapLevel hwDecodingLevel;
public Constants.VideoCodecCapLevel swDecodingLevel;
public CodecCapLevels() {
this.hwDecodingLevel = Constants.VideoCodecCapLevel.CODEC_CAPABILITY_LEVEL_UNSPECIFIED;
this.swDecodingLevel = Constants.VideoCodecCapLevel.CODEC_CAPABILITY_LEVEL_UNSPECIFIED;
};
@CalledByNative
public CodecCapLevels(int hwDecLevel, int swDecLevel) {
this.hwDecodingLevel = Constants.VideoCodecCapLevel.fromInt(hwDecLevel);
this.swDecodingLevel = Constants.VideoCodecCapLevel.fromInt(swDecLevel);
};
};
自从
v4.2.2
hwDecodingLevel
硬件解码能力等级,表示设备能够对不同品质视频进行硬件解码的能力。详见 VideoCodecCapLevel。
swDecodingLevel
软件解码能力等级,表示设备能够对不同品质视频进行软件解码的能力。详见 VideoCodecCapLevel。