Skip to content

Commit

Permalink
ffmpeg: Add some upstream HEVC optimisations
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Feb 28, 2016
1 parent 3827101 commit a5d9855
Show file tree
Hide file tree
Showing 4 changed files with 3,744 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/depends/target/ffmpeg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ include ../../Makefile.include
include FFMPEG-VERSION
DEPS= ../../Makefile.include FFMPEG-VERSION Makefile ffmpeg_Speed_up_wtv_index_creation.patch \
0001-mpeg4video-Signal-unsupported-GMC-with-more-than-one.patch \
0001-Discard-data-before-VO-VOL-in-mpeg-4-over-mpegts.patch
0001-Discard-data-before-VO-VOL-in-mpeg-4-over-mpegts.patch \
hevcdsp_ARM_NEON_optimized_epel_functions.patch added_ARM_NEON_optimized_SAO_patches.patch

# set to "yes" to enable patching
# we don't apply patches until we move to a vanilla ffmpeg tarball
Expand Down Expand Up @@ -83,6 +84,9 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
cd $(PLATFORM); patch -p1 < ../ffmpeg_Speed_up_wtv_index_creation.patch
cd $(PLATFORM); patch -p1 < ../0001-mpeg4video-Signal-unsupported-GMC-with-more-than-one.patch
cd $(PLATFORM); patch -p1 < ../0001-Discard-data-before-VO-VOL-in-mpeg-4-over-mpegts.patch
cd $(PLATFORM); patch -p1 < ../hevcdsp_ARM_NEON_optimized_epel_functions.patch
cd $(PLATFORM); patch -p1 < ../added_ARM_NEON_optimized_SAO_patches.patch

cd $(PLATFORM);\
CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
./configure $(ffmpg_config)
Expand Down

0 comments on commit a5d9855

Please sign in to comment.