summaryrefslogtreecommitdiff
path: root/src/gen8_vme.c
AgeCommit message (Collapse)AuthorFilesLines
2014-09-09Enabling BDW avc encoding configurationZhong Li1-8/+13
Signed-off-by: Zhong Li <zhong.li@intel.com> (cherry picked from commit 739eb9c0c954eecaf17a24be336ca5054241a338)
2014-06-16encoder: MVC: Add support for MVC profilesLi Xiaowei1-1/+3
This is a part of bd630edd844b88ea543a027654db296ff7da16cd on staging Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2014-02-27Follow spec to update the URB entry/size setting for encoding on Haswell/BDWZhao Yakui1-2/+2
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Follow the spec to make BDW encoding media pipeline command support 48-bit ↵Zhao Yakui1-19/+18
addressing mode Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Fix the command error for MPEG2 encoding on BDWZhao Yakui1-2/+4
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Add the missing media pipeline command for encoding on BDWZhao Yakui1-5/+288
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Clean up for setting up reference surface state on BDWXiang, Haihao1-33/+4
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2014-02-27Fix refrence frame for list1 on BDWXiang, Haihao1-2/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2014-02-27Check the reference surface id against VA_INVALID_SURFACE on BDWXiang, Haihao1-2/+2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2014-02-27Indent the code of encoding on BDWXiang, Haihao1-116/+116
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2014-02-27Code cleanup about the media encoding on Gen8Zhao Yakui1-110/+0
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Add the MVP in GPU shader to optimize mpeg2 encoding on Gen8Zhao Yakui1-1/+32
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Rewrite the GPU VME shader for MPEG2 encoding on Gen8Zhao Yakui1-18/+11
This is from that on Haswell/Ivybridge. Now the MPEG2/H264 uses the same mode/motion vector prediction shader. But the MV search region of mpeg2 is different with that on H264, which causes that the wrong mode/motion vector prediction is used for MPEG2. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27VME uses reference frame parsed from slice_param instead of hacked DPB for Gen8Zhao Yakui1-10/+39
This is backported from Ivy/Haswell/Sandybridge. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Rewrite the VME shader for encoding on BDWZhao Yakui1-29/+6
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Update the MI_BATCH_BUFFER_START for BDWZhao Yakui1-2/+3
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Update the BDW surface/sampler state and media command for encoding/decodingZhao Yakui1-16/+17
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Avoid the duplicated macro-definition of surface sizeZhao Yakui1-7/+3
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2014-02-27Add the separated media encoding/decoding files for BDWZhao Yakui1-0/+1035
As a lot of changes about the media are added between Haswell and BDW, the separated media encoding/decoding files are added for BDW. This is to avoid complex backward logic for Haswell. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> [Haihao: directly use object instead of id] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>