summaryrefslogtreecommitdiff
path: root/src/gen7_mfc.c
Commit message (Collapse)AuthorAgeFilesLines
* Unify the coding style in the driverXiang, Haihao2017-04-071-55/+54
| | | | | | | | | | | | | | | 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>
* scaling matrix of h264 encoder on gen7/gen7.5/gen8/gen9Jia Meng2016-08-151-2/+6
| | | | | | | | | | | v1: change the title according to yakui's comments. qm is in raster scan order per va api, and fqm is in column wise raster scan order per hardware requirement. Signed-off-by: Jia Meng <jia.meng@intel.com> Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
* Check pointer returned from calloc()Xiang, Haihao2015-09-151-0/+3
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Use the VA_FOURCC_ABCD constant to replace the VA_FOURCC(A,B,C,D)Zhao Yakui2014-04-231-1/+1
| | | | | | | This is helpful to avoid the typo error when using VA_FOURCC(A, B, C, D). Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit acea969011bceee36a57fe2c0e4ee96c0c5e79c7)
* Update the MFX_AVC_IMAGE_STATE to follow the specZhao Yakui2014-02-271-1/+1
| | | | Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
* Avoid the duplicated macro-definition of surface sizeZhao Yakui2014-02-271-0/+4
| | | | Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
* H.264: Support Constrained Baseline profile instead of Baseline profileXiang, Haihao2013-12-031-1/+1
| | | | | | | | GENx doesn't support FMO/ASO, so remove the support of Baseline profile for conformance testing. In addition, add the support for Constrained Baseline profile. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Remove the unused variable to avoid the warningZhao Yakui2013-11-131-1/+0
| | | | | Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 0d37a309bd99f6bded4df922d0ece22bf3bb1757)
* Encoding reuses aux_batchbuffer instead of allocating another new bufferZhao Yakui2013-11-131-6/+3
| | | | | Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 052ce2930cd4661b7ce62902e6553eec0e2db9f1)
* Indent the code of encodingXiang, Haihao2013-11-131-107/+107
| | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 6ad68f55e9ba49af541a5e4d86a305bbd0f22d63)
* Optimize quantization rounding precision for MPEG2 encoding on IvyZhao Yakui2013-09-061-1/+8
| | | | | Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 05ea96da3e0b09648bfdeb35967f6ab9bb3b23e4)
* Cleanup profile tracking in encoderXiang, Haihao2013-09-061-1/+1
| | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit edd25a94e92b9cec23594dc978691506a1c8cfab)
* Rename the macrosXiang, Haihao2013-09-061-1/+1
| | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 3ab97be8db1b8e55d0d5b95f577863416a87c6ff)
* Encoder: directly use the objects for the reference picturesXiang, Haihao2013-03-151-4/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Encoder: directly use the objects for the reconstructed picture and coded bufferXiang, Haihao2013-03-151-4/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Encoder: directly use the surface object of the input surfaceXiang, Haihao2013-03-151-2/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Silence a bunch of warningsXiang, Haihao2013-03-151-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Refine mpeg2 mfc pipeline codeLi Xiaowei2013-01-171-1/+787
| | | | | | | move mpeg2 mfc code from gen6_mfc.c to gen7_mfc.c, because mpeg2 paking is not supported on gen6. Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
* Add the bidirectional MVP to optimize the VME parameter on IvbZhao Yakui2013-01-171-2/+8
| | | | Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
* Add the common BRC API to avoid the duplicated codeZhao Yakui2012-10-231-1/+1
| | | | Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
* New BRC algorithm to match HRDRogozhkin, Dmitry V2012-06-111-0/+1
| | | | | | It reduces the number of recoding as well. Signed-off-by: Rogozhkin, Dmitry V <dmitry.v.rogozhkin@intel.com>
* Enable Stream-Out on IVBZhou Chang2012-05-141-0/+1
| | | | Signed-off-by: Zhou Chang <chang.zhou@intel.com>
* Remove hard-coded code.Xiang, Haihao2012-04-191-4/+5
| | | | | | Istead, the MFX setting depends on the user setting parameters Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Setup pipeline to create MFC batchbuffer on SandybridgeXiang, Haihao2012-03-091-1499/+17
| | | | | | Also clean up the source Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Setup pipeline to create MFC batchbuffer on IVBXiang, Haihao2012-03-081-95/+644
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Synced gen7 with gen6 for HRD.teaonly2012-03-021-18/+32
|
* Synced IVB with SNB, added HRD and multipul slices support.Zhou,Chang2012-02-291-111/+226
|
* Add support for I420, YV12 etc. formatted YUV surface for encodingXiang, Haihao2012-02-011-1/+1
| | | | | | | MFX only supports NV12 formatted YUV surface, so the driver converts I420/YV12 formatted surface to NV12 surface internally. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Fix graphics memory allocation for VA surfaceXiang, Haihao2012-01-181-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Split Gen6 MFC and Gen7 MFCXiang, Haihao2011-12-191-0/+1173
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>