📄 h263adapter.java
字号:
package com.sun.media.controls;import java.awt.Component;import javax.media.Codec;import javax.media.control.H263Control;/** * TODO: Stub * @author Ken Larson * */public class H263Adapter implements H263Control{ private boolean settable; private Codec owner; private boolean advancedPrediction; private boolean arithmeticCoding; private boolean errorCompensation; private boolean pbFrames; private boolean unrestrictedVector; private int hrd_B; private int bppMaxKb; public H263Adapter(Codec owner, boolean prediction, boolean coding, boolean compensation, boolean frames, boolean vector, int hrd_b, int kb, boolean settable) { super(); this.owner = owner; advancedPrediction = prediction; arithmeticCoding = coding; errorCompensation = compensation; pbFrames = frames; unrestrictedVector = vector; hrd_B = hrd_b; bppMaxKb = kb; this.settable = settable; } public boolean getAdvancedPrediction() { return advancedPrediction; } public boolean getArithmeticCoding() { return arithmeticCoding; } public int getBppMaxKb() { return bppMaxKb; } public boolean getErrorCompensation() { return errorCompensation; } public int getHRD_B() { return hrd_B; } public boolean getPBFrames() { return pbFrames; } public boolean getUnrestrictedVector() { return unrestrictedVector; } public boolean isAdvancedPredictionSupported() { throw new UnsupportedOperationException(); // TODO } public boolean isArithmeticCodingSupported() { throw new UnsupportedOperationException(); // TODO } public boolean isErrorCompensationSupported() { throw new UnsupportedOperationException(); // TODO } public boolean isPBFramesSupported() { throw new UnsupportedOperationException(); // TODO } public boolean isUnrestrictedVectorSupported() { throw new UnsupportedOperationException(); // TODO } public boolean setAdvancedPrediction(boolean newAdvancedPredictionMode) { throw new UnsupportedOperationException(); // TODO } public boolean setArithmeticCoding(boolean newArithmeticCodingMode) { throw new UnsupportedOperationException(); // TODO } public boolean setErrorCompensation(boolean newtErrorCompensationMode) { throw new UnsupportedOperationException(); // TODO } public boolean setPBFrames(boolean newPBFramesMode) { throw new UnsupportedOperationException(); // TODO } public boolean setUnrestrictedVector(boolean newUnrestrictedVectorMode) { throw new UnsupportedOperationException(); // TODO } public Component getControlComponent() { throw new UnsupportedOperationException(); // TODO }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -