Re: [x265] [PATCH] count_nonzero primitive, downscaling quantCoeff from int32_t* to int16_t*

2014-08-14 Thread Deepthi Nandakumar
Praveen, Can you build a mercurial queue for these quant patches - so they can be reviewed and pushed in once quant is 16-bit everywhere? Thanks, Deepthi On Thu, Aug 14, 2014 at 2:01 AM, Steve Borho st...@borho.org wrote: On 08/12, prav...@multicorewareinc.com wrote: # HG changeset patch

[x265] [PATCH] count_nonzero primitive, downscaling quantCoeff from int32_t* to int16_t*

2014-08-12 Thread praveen
# HG changeset patch # User Praveen Tiwari # Date 1407834530 -19800 # Node ID bb4d44663964237e4b66af6d92b2f13dbcf4f9b9 # Parent 8a7f4bb1d1be32fe668d410450c2e320ccae6098 count_nonzero primitive, downscaling quantCoeff from int32_t* to int16_t* diff -r 8a7f4bb1d1be -r bb4d44663964

Re: [x265] [PATCH] count_nonzero primitive, downscaling quantCoeff from int32_t* to int16_t*

2014-08-12 Thread chen
-X265_CHECK((int)numSig == primitives.count_nonzero(coeff, 1 log2TrSize * 2), numSig differ\n); +/* This section of code is to safely convert int32_t coefficients to int16_t, once the caller function is + * optimize to take coefficients as int16_t*, it will be cleanse.*/

Re: [x265] [PATCH] count_nonzero primitive, downscaling quantCoeff from int32_t* to int16_t*

2014-08-12 Thread Praveen Tiwari
Thanks, just sent a fix for it. Regards, Praveen On Tue, Aug 12, 2014 at 7:18 PM, chen chenm...@163.com wrote: -X265_CHECK((int)numSig == primitives.count_nonzero(coeff, 1 log2TrSize * 2), numSig differ\n); +/* This section of code is to safely convert int32_t