return new VP8Encoder(new NopRateControl(qp));
}
public VP8Encoder(RateControl rc) {
this.rc = rc;
this.tmp = new int[16];
<BUG>}
public ByteBuffer encodeFrame(Picture pic, ByteBuffer _buf) {
</BUG>
ByteBuffer out = _buf.duplicate();
int mbWidth = ((pic.getWidth() + 15) >> 4);

return new VP8Encoder(new NopRateControl(qp));
}
public VP8Encoder(RateControl rc) {
this.rc = rc;
this.tmp = new int[16];
}
@Override
public ByteBuffer encodeFrame8Bit(Picture8Bit pic, ByteBuffer _buf) {
ByteBuffer out = _buf.duplicate();
int mbWidth = ((pic.getWidth() + 15) >> 4);
