static inline void cvtyuvtoRGB (SwsContext *c,

			   vector signed short Y, vector signed short U, vector signed short V,

			   vector signed short *R, vector signed short *G, vector signed short *B)

{

  vector signed   short vx,ux,uvx;



  Y = vec_mradds (Y, c->CY, c->OY);

  U  = vec_sub (U,(vector signed short)

  			vec_splat((vector signed short)AVV(128),0));

  V  = vec_sub (V,(vector signed short)

  			vec_splat((vector signed short)AVV(128),0));



  //   ux  = (CBU*(u<<c->CSHIFT)+0x4000)>>15;

  ux = vec_sl (U, c->CSHIFT);

  *B = vec_mradds (ux, c->CBU, Y);



  // vx  = (CRV*(v<<c->CSHIFT)+0x4000)>>15;

  vx = vec_sl (V, c->CSHIFT);

  *R = vec_mradds (vx, c->CRV, Y);



  // uvx = ((CGU*u) + (CGV*v))>>15;

  uvx = vec_mradds (U, c->CGU, Y);

  *G = vec_mradds (V, c->CGV, uvx);

}

static inline void cvtyuvtoRGB (SwsContext *c,

			   vector signed short Y, vector signed short U, vector signed short V,

			   vector signed short *R, vector signed short *G, vector signed short *B)

{

  vector signed   short vx,ux,uvx;



  Y = vec_mradds (Y, c->CY, c->OY);

  U  = vec_sub (U,(vector signed short)

  			vec_splat((vector signed short)AVV(128),0));

  V  = vec_sub (V,(vector signed short)

  			vec_splat((vector signed short)AVV(128),0));



  

  ux = vec_sl (U, c->CSHIFT);

  *B = vec_mradds (ux, c->CBU, Y);



  

  vx = vec_sl (V, c->CSHIFT);

  *R = vec_mradds (vx, c->CRV, Y);



  

  uvx = vec_mradds (U, c->CGU, Y);

  *G = vec_mradds (V, c->CGV, uvx);

}

			   vector signed short Y, vector signed short U, vector signed short V, 			   vector signed short *R, vector signed short *G, vector signed short *B)   vector signed   short vx,ux,uvx;   Y = vec_mradds (Y, c->CY, c->OY);   U  = vec_sub (U,(vector signed short)   			vec_splat((vector signed short)AVV(128),0));   V  = vec_sub (V,(vector signed short)   			vec_splat((vector signed short)AVV(128),0));   ux = vec_sl (U, c->CSHIFT);   *B = vec_mradds (ux, c->CBU, Y);   vx = vec_sl (V, c->CSHIFT);   *R = vec_mradds (vx, c->CRV, Y);   uvx = vec_mradds (U, c->CGU, Y);   *G = vec_mradds (V, c->CGV, uvx);
static inline void FUNC_0 (SwsContext *VAR_0,

			   vector signed short VAR_1, vector signed short VAR_2, vector signed short VAR_3,

			   vector signed short *VAR_4, vector signed short *VAR_5, vector signed short *VAR_6)

{

  vector signed   short vx,ux,uvx;



  VAR_1 = vec_mradds (VAR_1, VAR_0->CY, VAR_0->OY);

  VAR_2  = vec_sub (VAR_2,(vector signed short)

  			vec_splat((vector signed short)AVV(128),0));

  VAR_3  = vec_sub (VAR_3,(vector signed short)

  			vec_splat((vector signed short)AVV(128),0));



  

  ux = vec_sl (VAR_2, VAR_0->CSHIFT);

  *VAR_6 = vec_mradds (ux, VAR_0->CBU, VAR_1);



  

  vx = vec_sl (VAR_3, VAR_0->CSHIFT);

  *VAR_4 = vec_mradds (vx, VAR_0->CRV, VAR_1);



  

  uvx = vec_mradds (VAR_2, VAR_0->CGU, VAR_1);

  *VAR_5 = vec_mradds (VAR_3, VAR_0->CGV, uvx);

}

static inline void FUNC_0 (SwsContext *VAR_0,
vector signed short VAR_1, vector signed short VAR_2, vector signed short VAR_3,
vector signed short *VAR_4, vector signed short *VAR_5, vector signed short *VAR_6)
{ vector signed   short vx,ux,uvx; VAR_1 = vec_mradds (VAR_1, VAR_0->CY, VAR_0->OY); VAR_2  = vec_sub (VAR_2,(vector signed short)
vec_splat((vector signed short)AVV(128),0)); VAR_3  = vec_sub (VAR_3,(vector signed short)
vec_splat((vector signed short)AVV(128),0)); ux = vec_sl (VAR_2, VAR_0->CSHIFT); *VAR_6 = vec_mradds (ux, VAR_0->CBU, VAR_1); vx = vec_sl (VAR_3, VAR_0->CSHIFT); *VAR_4 = vec_mradds (vx, VAR_0->CRV, VAR_1); uvx = vec_mradds (VAR_2, VAR_0->CGU, VAR_1); *VAR_5 = vec_mradds (VAR_3, VAR_0->CGV, uvx); }