summaryrefslogtreecommitdiff
path: root/src/gen9_vdenc.h
Commit message (Collapse)AuthorAgeFilesLines
* Correct the data typeXiang, Haihao2017-07-311-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Unify the coding style in the driverXiang, Haihao2017-04-071-319/+301
| | | | | | | | | | | | | | | 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>
* Support AVC VDEnc on KBLXiang, Haihao2016-12-281-2/+5
| | | | | | | | | I verified AVC VDEnc on KBL with the HuC loading patch from https://patchwork.freedesktop.org/api/1.0/series/16584/revisions/1/mbox/ Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Kelley, Sean V <sean.v.kelley@intel.com> Tested-by: Tang, FuweiX <fuweix.tang@intel.com>
* i965_encoder: consistently represent framerate as a fractionMark Thompson2016-12-231-1/+1
| | | | | | | Update references in both H.264 encoders (gen6_mfc and gen9_vdenc). Signed-off-by: Mark Thompson <sw@jkqxz.net> Reviewed-by: Xiang, Haihao<haihao.xiang@intel.com>
* Add some new internal variables for a new sequenceXiang, Haihao2016-09-161-3/+0
| | | | | | | | | | | | | | Currently these variables are used only for H.264 encoding v2: rename frame_width_in_mbs and frame_height_in_mbs to frame_width_in_pixel and frame_height_in_pixel. It moves WIDTH_IN_MACROBLOCKS() and HEIGHT_IN_MACROBLOCKS() from gen9_vdenc.h to i965_encoder.h so that the two macros can be used in other codecs. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Tested-by: Luo, Focus <focus.luo@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
* Implement low power mode on SKLXiang, Haihao2016-05-091-0/+908
VDEnc is one of the fixed function pipelines in VDBox which is a dedicated engine for low power mode Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>