Commit Graph

6 Commits

Author SHA1 Message Date
Chen, Bohan 505e7b343e [Encode] Fix some coverity issues exposed in encode
Fix some encode coverity issues: 11 Unchecked return value; 5 Dead code; 4 Resource leak; 3 Modulo by zero; 1 Argument cannot be negative; 1 Out-of-bounds write

Signed-off-by: Chen, Bohan <bohan.chen@intel.com>
2023-11-30 09:57:43 +08:00
Carl Zhang 42dd2b216e unify the code styles using the style_unify script
use astyle to unify the code style
copy the style_unify script from
https://github.com/intel/libva/blob/master/style_unify

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2021-09-29 20:59:40 -04:00
Miguel Casas e078ccf09f Add support for a --repeat command line option to vp8enc. This
addresses https://github.com/intel/libva-utils/issues/209.
2020-12-04 21:46:34 +08:00
Tianhao Liu 1bc9c8311e Fix KW issues
Signed-off-by: Tianhao Liu <tianhao.liu@intel.com>
2020-08-25 15:19:20 +08:00
Kev 6307b68156 KJSL fix up C99 issue 2018-10-26 16:29:57 +08:00
ottingerg 9a10ad6633 Add VP8 sample encoder application (SVCT supported)
vp8enc is a simple VP8 encoder application.
It expects yuv420p raw video input and support
CQP, CBR and VBR modes. Encoded video is stored
in the IVF container fileformat.
It supports 2 or 3 temporal layers, which can
be activated by using the '--temp_svc X' command
line.
Note that the alternate reference frame is
not used - this design decission was carried
on from libyami - in order to allow single
Layer 2 frames to be dropped independently.

vp8enc and VP8 SVCT are part part of GSOC 2018.

Fixes https://github.com/intel/libva-utils/issues/108

The following fixes were done during the merge
processs:

fix typo in vp8enc_show_help

fix numbering of long_opts and minor typos

changed comment concerning QMatrix

added dedicated input surface

remove unecessary parameter settings for KEY Frames

changed assert to return VP8ENC_FAIL in command line checks

moved is_golden_refreshed to vaapi_context

added thread support for processing the input yuv
2018-07-06 16:30:43 +08:00