Changeset 153fcd6d in ffmpeg

Timestamp:
Jul 21, 2018, 11:36:24 AM (6 years ago)
Author:
Carl Eugen Hoyos <ceffmpeg@gmail.com>
Branches:
master
Children:
9617178
Parents:
3870ed7
git-author:
A. Wilcox <AWilcox@Wilcox-Tech.com> (07/21/18 05:42:00)
git-committer:
Carl Eugen Hoyos <ceffmpeg@gmail.com> (07/21/18 11:36:24)
Message:

libavcodec/ppc: Fix HEVC AltiVec routines with --enable-small

GCC requires the argument to vec_splat_u32 to be a literal. The easiest
way to accomplish this is to change 'shift' to be const in scale (as it
is in the transform routine above), and convert both routines to be
inline. This way, GCC can coerce the values to literals.

Tested on a 970 (Apple G5) and POWER9 (Talos II); passed fate and played
a clip of Big Buck Bunny correctly.

Fixes ticket #7048

Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>

(No files)

Note: See TracChangeset for help on using the changeset viewer.