diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-01-31 16:02:35 +0100 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-01-31 16:05:06 +0100 |
commit | 05018c2cdaf3cbf5769bdf90951f707cf99edd52 (patch) | |
tree | 8a6509baa7b9667e2e4eee6c3015729d24eb9f23 /libavcodec/hevc_cabac.c | |
parent | a604115f72ad0d77b69193989bbe16174135129d (diff) | |
parent | cc16da75c2f99d92f7a6461100f041352deb6d88 (diff) | |
download | ffmpeg-05018c2cdaf3cbf5769bdf90951f707cf99edd52.tar.gz |
Merge commit 'cc16da75c2f99d92f7a6461100f041352deb6d88'
* commit 'cc16da75c2f99d92f7a6461100f041352deb6d88':
hevc: Add coefficient limiting to speed up IDCT
Noop again as we have these changes already, only random spacing
changes.
Merged-by: Clément Bœsch <cboesch@gopro.com>
Diffstat (limited to 'libavcodec/hevc_cabac.c')
-rw-r--r-- | libavcodec/hevc_cabac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hevc_cabac.c b/libavcodec/hevc_cabac.c index 457e0871a9..4f90dab1ac 100644 --- a/libavcodec/hevc_cabac.c +++ b/libavcodec/hevc_cabac.c @@ -1490,7 +1490,7 @@ void ff_hevc_hls_residual_coding(HEVCContext *s, int x0, int y0, } else { int max_xy = FFMAX(last_significant_coeff_x, last_significant_coeff_y); if (max_xy == 0) - s->hevcdsp.idct_dc[log2_trafo_size-2](coeffs); + s->hevcdsp.idct_dc[log2_trafo_size - 2](coeffs); else { int col_limit = last_significant_coeff_x + last_significant_coeff_y + 4; if (max_xy < 4) @@ -1499,7 +1499,7 @@ void ff_hevc_hls_residual_coding(HEVCContext *s, int x0, int y0, col_limit = FFMIN(8, col_limit); else if (max_xy < 12) col_limit = FFMIN(24, col_limit); - s->hevcdsp.idct[log2_trafo_size-2](coeffs, col_limit); + s->hevcdsp.idct[log2_trafo_size - 2](coeffs, col_limit); } } } |