Support a constant quality mode in VP9
Adds a new end-usage option for constant quality encoding in vpx. This first version implemented for VP9, encodes all regular inter frames using the quality specified in the --cq-level= option, while encoding all key frames and golden/altref frames at a quality better than that. The current performance on derfraw300 is +0.910% up from bitrate control, but achieved without multiple recode loops per frame. The decision for qp for each altref/golden/key frame will be improved in subsequent patches based on better use of stats from the first pass. Further, the qp for regular inter frames may also be varied around the provided cq-level. Change-Id: I6c4a2a68563679d60e0616ebcb11698578615fb3
Showing
- vp8/common/onyx.h 2 additions, 1 deletionvp8/common/onyx.h
- vp8/vp8_cx_iface.c 10 additions, 13 deletionsvp8/vp8_cx_iface.c
- vp9/common/vp9_onyx.h 2 additions, 1 deletionvp9/common/vp9_onyx.h
- vp9/encoder/vp9_firstpass.c 56 additions, 49 deletionsvp9/encoder/vp9_firstpass.c
- vp9/encoder/vp9_onyx_if.c 191 additions, 140 deletionsvp9/encoder/vp9_onyx_if.c
- vp9/vp9_cx_iface.c 9 additions, 7 deletionsvp9/vp9_cx_iface.c
- vpx/vpx_encoder.h 3 additions, 2 deletionsvpx/vpx_encoder.h
- vpxenc.c 2 additions, 1 deletionvpxenc.c
Loading
Please register or sign in to comment