[x265] quant: returns numSig instead of absSum and lastPos

Satoshi Nakagawa nakagawa424 at oki.com
Tue Jul 8 03:53:25 CEST 2014


> LastPos output for IDCT bypass optimize, just didn't upload it now.

DC only detection can be replaced by (numSig == 1 && coeff[0] != 0).
exact lastPos not used elsewhere.

>          // DC only
> -        if (lastPos == 0 && !((trSize == 4) && (mode != REG_DCT)))
> +        if (numSig == 1 && coeff[0] != 0 && !useDST)



> -----Original Message-----
> From: x265-devel [mailto:x265-devel-bounces at videolan.org] On Behalf Of
> chen
> Sent: Tuesday, July 08, 2014 12:09 AM
> To: Development for x265
> Subject: Re: [x265] quant: returns numSig instead of absSum and lastPos
> 
> At 2014-07-07 16:04:03,"Satoshi Nakagawa" <nakagawa424 at oki.com> wrote:
> ># HG changeset patch># User Satoshi Nakagawa nakagawa424 at oki.com> >#
> Date 1404720026 -32400># Mon Jul 07 17:00:26 2014 +0900 ># Node ID
> dcf6f2ce907c59eedc3d488a7f047a5f094bf925 ># Parent
> 11c808e562b894d84961cf00080173321e272884 >quant: returns numSig
> instead of absSum and lastPos>- packuswb m7, m7 >- pxor m0, m0>- psadbw
> m0, m7>+ phaddd m7, m7 >+ phaddd m7, m7 old code have 2 uops, the new
> one have 6 uops LastPos output for IDCT bypass optimize, just didn't
upload
> it now.
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel



More information about the x265-devel mailing list