Commit 374a1736 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

force lossless coding at very high quality end

Change-Id: I75fc4eee10bee9efd419d248827290cce8e6d637
parent f4d2ad69
......@@ -1292,7 +1292,9 @@ static void encode_frame_internal(VP9_COMP *cpi) {
vp9_zero(cpi->mb_mv_ref_count);
#endif
// force lossless mode when Q0 is selected
// force lossless mode
if (cm->base_qindex <= 4)
cm->base_qindex = 0;
cpi->mb.e_mbd.lossless = (cm->base_qindex == 0 &&
cm->y1dc_delta_q == 0 &&
cm->uvdc_delta_q == 0 &&
......
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 to comment