Merge "Remove leftover reference to 2nd order dc/ac quant" into experimental
This commit is contained in:
@@ -52,21 +52,6 @@ int vp9_dc_quant(int QIndex, int Delta) {
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
int vp9_dc2quant(int QIndex, int Delta) {
|
|
||||||
int retval;
|
|
||||||
|
|
||||||
QIndex = QIndex + Delta;
|
|
||||||
|
|
||||||
if (QIndex > MAXQ)
|
|
||||||
QIndex = MAXQ;
|
|
||||||
else if (QIndex < 0)
|
|
||||||
QIndex = 0;
|
|
||||||
|
|
||||||
retval = dc_qlookup[ QIndex ];
|
|
||||||
|
|
||||||
return retval;
|
|
||||||
|
|
||||||
}
|
|
||||||
int vp9_dc_uv_quant(int QIndex, int Delta) {
|
int vp9_dc_uv_quant(int QIndex, int Delta) {
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
@@ -94,22 +79,6 @@ int vp9_ac_yquant(int QIndex) {
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
int vp9_ac2quant(int QIndex, int Delta) {
|
|
||||||
int retval;
|
|
||||||
|
|
||||||
QIndex = QIndex + Delta;
|
|
||||||
|
|
||||||
if (QIndex > MAXQ)
|
|
||||||
QIndex = MAXQ;
|
|
||||||
else if (QIndex < 0)
|
|
||||||
QIndex = 0;
|
|
||||||
|
|
||||||
retval = (ac_qlookup[ QIndex ] * 775) / 1000;
|
|
||||||
if (retval < 4)
|
|
||||||
retval = 4;
|
|
||||||
|
|
||||||
return retval;
|
|
||||||
}
|
|
||||||
int vp9_ac_uv_quant(int QIndex, int Delta) {
|
int vp9_ac_uv_quant(int QIndex, int Delta) {
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
|
@@ -1292,7 +1292,6 @@ static void encode_frame_internal(VP9_COMP *cpi) {
|
|||||||
vp9_zero(cpi->mb_mv_ref_count);
|
vp9_zero(cpi->mb_mv_ref_count);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// force lossless mode when Q0 is selected
|
// force lossless mode when Q0 is selected
|
||||||
cpi->mb.e_mbd.lossless = (cm->base_qindex == 0 &&
|
cpi->mb.e_mbd.lossless = (cm->base_qindex == 0 &&
|
||||||
cm->y1dc_delta_q == 0 &&
|
cm->y1dc_delta_q == 0 &&
|
||||||
|
Reference in New Issue
Block a user