summaryrefslogtreecommitdiff
path: root/src/i965_avc_encoder.c
Commit message (Collapse)AuthorAgeFilesLines
* avc/enc: Fix bitrate resetHaihao Xiang2018-09-141-4/+4
| | | | | | Use the right target bitrate once user changes the bitrate on the fly Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* Remove dead codeHaihao Xiang2018-03-141-29/+1
| | | | | | GEN95_AVC_MAX_LAMBDA is always less than 0xfffa and 0xffef Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* Remove self-assignmentXiang, Haihao2018-03-141-1/+0
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Don't compare an array against NULLXiang, Haihao2018-03-141-1/+2
| | | | | | Instead we should use the corresponding pointers Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Remove implicit truncations from int to bit-fieldVíctor Manuel Jáquez Leal2018-03-141-24/+24
| | | | | | | | | | | | | All the members in the structures scoreboard1 and scoreboard2 are signed int of 4 bit long (this means they only admit values from -8 to 7). Along the code, these structures are assigned with values bigger than 7 which are implicitly truncated to negative numbers. For example, 0xF -> -1 or 0xE -> -2 It is better to explictly show the assigned values than rely on implicit convertions. This patch aims to that direction.
* i965_avc_encoder: Fix possible NULL pointer dereferencingSreerenj Balachandran2018-01-311-2/+4
|
* Fix AVC encoding regression on KBL/GLK/CFLXiang, Haihao2018-01-181-1/+3
| | | | | | | | adaptive transform decision is disabled by default for KBL/GLK/CFL This fixes https://github.com/01org/intel-vaapi-driver/issues/323 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* ENC: fix AVC multi slicePengfei Qu2018-01-171-0/+3
| | | | | | Fixes #324 Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
* Enc: fix AVC mbenc curbe paraterer on CNLPengfei Qu2018-01-171-2/+2
| | | | Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
* ENC: enable avc encoder on cnlQu Pengfei2018-01-111-18/+45
| | | | | Signed-off-by: Pengfei Qu <pengfei.qu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com>
* Stats/PreEnc: Add GEN9 AVC PreEnc supportSreerenj Balachandran2018-01-101-35/+1320
| | | | | | | | | | | | | | | | | | The AVC PreEnc includes three stage processing: 1: It does the dowscaling of source and reference pictures. Also generate the variance and pixel average of current frame, past and future ref based on user request. 2: Second stage involves the Hierarchical Motion Estimation Only the 4x hme is supported in PreEnc. 3:Third stage is a PreProc which can generate the Motion Vectors and Distortion values libva PR: https://github.com/01org/libva/pull/110 Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
* Fix coding style error from astyleMark Thompson2018-01-101-2/+1
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Initialize kernel_param for the scaling kernel of avc encoderPeng.Chen2017-09-281-0/+3
| | | | Signed-off-by: Peng.Chen <peng.c.chen@intel.com>
* change file name prefix from gen9 to i965 for avc encoderWang Tiatian2017-09-221-0/+9992
Signed-off-by: Wang Tiatian <tiantian.wang@intel.com>