aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/smjpeg.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-02-26 14:02:35 +0200
committerMartin Storsjö <martin@martin.st>2017-03-11 22:07:12 +0200
commit98ee855ae0cc118bd1d20921d6bdb14731832462 (patch)
treeb96dfb273a45b4255d6be3030add13397b13173e /libavformat/smjpeg.h
parentb57a95d0147beae746db1c1223d100447f42dced (diff)
downloadffmpeg-98ee855ae0cc118bd1d20921d6bdb14731832462.tar.gz
arm: vp9itxfm: Template the quarter/half idct32 function
This reduces the number of lines and reduces the duplication. Also simplify the eob check for the half case. If we are in the half case, we know we at least will need to do the first three slices, we only need to check eob for the fourth one, so we can hardcode the value to check against instead of loading from the min_eob array. Since at most one slice can be skipped in the first pass, we can unroll the loop for filling zeros completely, as it was done for the quarter case before. This allows skipping loading the min_eob pointer when using the quarter/half cases. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/smjpeg.h')
0 files changed, 0 insertions, 0 deletions