dnxhddec: avoid a branch in 10-bit decode_dct_block()
authorMans Rullgard <mans@mansr.com>
Thu, 21 Jul 2011 23:13:27 +0000 (00:13 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 22 Jul 2011 22:39:31 +0000 (23:39 +0100)
commitb4cfb8254eeeb2fc0aa2c0c36a5ede208af47a79
tree4999eea6118df069146f8f4adfdbd2387b5b9d7c
parent406fbd24dc62db4853cb24b24f40caf3e70ee2e8
dnxhddec: avoid a branch in 10-bit decode_dct_block()

The minimum weight value is 32 so this test can be skipped for the
10-bit case.  Overall speedup 3-4%.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/dnxhddec.c