Add psnr/ssim tuning option
Add a new encoder control, VP8E_SET_TUNING, to allow the application to inform the encoder that the material will benefit from certain tuning. Expose this control as the --tune option to vpxenc. The args helper is expanded to support enumerated arguments by name or value. Two tunings are provided by this patch, PSNR (default) and SSIM. Activity masking is made dependent on setting --tune=ssim, as the current implementation hurts speed (10%) and PSNR (2.7% avg, 10% peak) too much for it to be a default yet. Change-Id: I110d969381c4805347ff5a0ffaf1a14ca1965257
Showing
- args.c 45 additions, 0 deletionsargs.c
- args.h 11 additions, 1 deletionargs.h
- vp8/common/onyx.h 3 additions, 0 deletionsvp8/common/onyx.h
- vp8/encoder/encodeframe.c 2 additions, 1 deletionvp8/encoder/encodeframe.c
- vp8/encoder/ethreading.c 2 additions, 1 deletionvp8/encoder/ethreading.c
- vp8/vp8_cx_iface.c 5 additions, 0 deletionsvp8/vp8_cx_iface.c
- vpx/vp8cx.h 15 additions, 2 deletionsvpx/vp8cx.h
- vpxenc.c 12 additions, 3 deletionsvpxenc.c
Loading
Please register or sign in to comment