[FFmpeg-devel] [PATCH] Adds support for constant quality mode in VP9.

Debargha Mukherjee debargha at google.com
Fri Aug 22 22:28:54 CEST 2014


Unless the codec is VP9, VPX_Q will not be set. So the behavior does not
change for VP8.


On Fri, Aug 22, 2014 at 1:14 PM, James Zern <jzern at google.com> wrote:

> On Fri, Aug 22, 2014 at 10:53 AM, Deb Mukherjee <debargha at google.com>
> wrote:
> > [...]
> > @@ -311,7 +316,7 @@ static av_cold int vpx_init(AVCodecContext *avctx,
> >      } else {
> >          if (enccfg.rc_end_usage == VPX_CQ) {
> >              enccfg.rc_target_bitrate = 1000000;
> > -        } else {
> > +        } else if (enccfg.rc_end_usage != VPX_Q) {
>
> These still need to be protected as they're vp9-only and newer than
> what configure tests for to enable vp8.
>



-- 
Debargha Mukherjee, Ph.D.
Staff Software Engineer,
Google, Inc.
Email: debargha at google.com
Phone: 650-253-0775 (desk), 408-234-5956 (cell)


More information about the ffmpeg-devel mailing list