[Libva] [PATCH libva-intel-driver] Encoding: Fix one type error in intra-prediction shader on BDW

Zhao, Yakui yakui.zhao at intel.com
Mon Jun 9 00:58:49 PDT 2014


On Sun, 2014-06-08 at 22:11 -0600, Zhao, Yakui wrote:
> From: "Zhao, Yakui" <yakui.zhao at intel.com>
> 
> Otherwise it will cause the incorrect intra-prediction for encoding on
> Broadwell.

This is pushed to the staging branch.

Thanks.
    Yakui
> 
> Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
> ---
>  src/shaders/vme/intra_frame_gen8.asm | 2 +-
>  src/shaders/vme/intra_frame_gen8.g8b | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/shaders/vme/intra_frame_gen8.asm b/src/shaders/vme/intra_frame_gen8.asm
> index 41cdb3a..682d146 100644
> --- a/src/shaders/vme/intra_frame_gen8.asm
> +++ b/src/shaders/vme/intra_frame_gen8.asm
> @@ -127,7 +127,7 @@ mov  (8) vme_msg_1<1>:UD        vme_m1.0<8,8,1>:UD {align1};
>  /* m0 */        
>  /* 16x16 Source, Intra_harr */
>  add  (1) vme_m0.12<1>:UD        vme_m0.12<0,1,0>:ud	INTRA_SAD_HAAR:UD {align1};
> -mov  (8) vme_msg_1<1>:UD        vme_m1.0<8,8,1>:UD {align1};
> +mov  (8) vme_msg_0<1>:UD        vme_m0.0<8,8,1>:UD {align1};
>  
>  /* after verification it will be passed by using payload */
>  send (8)
> diff --git a/src/shaders/vme/intra_frame_gen8.g8b b/src/shaders/vme/intra_frame_gen8.g8b
> index 43c904a..56c7283 100644
> --- a/src/shaders/vme/intra_frame_gen8.g8b
> +++ b/src/shaders/vme/intra_frame_gen8.g8b
> @@ -56,7 +56,7 @@
>     { 0x00000001, 0x247e2288, 0x00000400, 0x00000000 },
>     { 0x00600001, 0x28200208, 0x008d0460, 0x00000000 },
>     { 0x00000040, 0x244c0208, 0x0600044c, 0x00800000 },
> -   { 0x00600001, 0x28200208, 0x008d0460, 0x00000000 },
> +   { 0x00600001, 0x28000208, 0x008d0440, 0x00000000 },
>     { 0x0d600031, 0x21800a08, 0x0e000800, 0x10782000 },
>     { 0x00600001, 0x28000208, 0x008d0480, 0x00000000 },
>     { 0x00000001, 0x28200208, 0x00000180, 0x00000000 },




More information about the Libva mailing list