summaryrefslogtreecommitdiff
path: root/src/vpx_quant.c
Commit message (Collapse)AuthorAgeFilesLines
* Unify the coding style in the driverXiang, Haihao2017-04-071-10/+5
| | | | | | | | | | | | | | | Linux coding style is used in the driver source code. Use the command below to format/indent .c/.h files $> astyle --style=linux -cnpUH -s4 -M120 <file> A script of style_unify is added in the top-level directory to handle all .c/.h files in the driver. There is no change to any functionality This fixes https://github.com/01org/intel-vaapi-driver/issues/99 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Set the pipeline to use the new VP8 encoding shaders on BSWXiang, Haihao2017-02-221-0/+100
Currently only one temporal layer is supported v2: Use OUT_RELOC64 instead of OUT_RELOC for 48 bits address Fix the calculation of min_bit_rate in i965_encoder_vp8_get_misc_parameters() Fix the calculation of average_bitrate and max_bitrate in i965_encoder_vp8_vme_brc_init_reset_set_curbe() Move the constant tables copied & pasted from libvpx to separate files Use the common MOCS state v3: Move all VP8 probability tables from a .h to a .c file Rename vp8_quant.h to vpx_quant.h which can be used for both VP8 and VP9 Remove the unused search path in vp8_search_path and update the comment Correct the license header in some files v4: Move all VP8 quantization tables from a .h to a .c file Add 'static' or 'static const' to variables in local file scope Free the private surface data if required This is a portion of patches for VP8 rework on BSW Fixes github.com/01org/intel-vaapi-driver/issues/39 now Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>