Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: libvpx/README.chromium

Issue 7624054: Revert r97185 "Update libvpx snapshot to v0.9.7-p1 (Cayuga)." (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | libvpx/include/vpx/vp8.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name: libvpx 1 Name: libvpx
2 URL: http://www.webmproject.org 2 URL: http://www.webmproject.org
3 Version: v0.9.7p1 3 Version: v0.9.6-92-gba11e24
4 License File: source/libvpx/LICENSE 4 License File: source/libvpx/LICENSE
5 5
6 Date: Tuesday August 16 2011 6 Date: Monday April 4 2011
7 Branch: cayuga 7 Commit: ba11e24d47009ac787fdb95ccbd846052e18f26a
8 Commit: 20307c70ae96c45b9b00338989b952fb334e4fc9
9 8
10 Description: 9 Description:
11 Contains the sources used to compile libvpx binaries used by Google Chrome and 10 Contains the sources used to compile libvpx binaries used by Google Chrome and
12 Chromium. 11 Chromium.
13 12
14 The libvpx source is from webmproject.org: 13 The libvpx source is from webmproject.org:
15 git://review.webmproject.org/libvpx 14 git://review.webmproject.org/libvpx
16 15
17 Notes on icc (Intel Compiler) builds for linux and mac 16 Patches
17
18 One patch is included in the patches directory. It is needed for
19 obj_int_extract.c on x64 linux when using icc, and must be applied
20 before running make to avoid link errors.
21
22 The patch can be applied by runnning the following command from within
23 source/libvpx:
24
25 patch -p0 < ../../patches/01_obj_int_extract.patch
26
27 Notes
18 28
19 The mac libvpx build was built with icc v11.1. In 29 The mac libvpx build was built with icc v11.1. In
20 addition to the configuration args listed in vpx_config.c for each target, the 30 addition to the configuration args listed in vpx_config.c for each target, the
21 following additions were made to CFLAGS: 31 following additions were made to CFLAGS:
22 32
23 - linux/x64 CFLAGS: -fPIC -ffreestanding 33 - linux/x64 CFLAGS: -fPIC -ffreestanding
24 - linux ia32 CFLAGS: -ffreestanding 34 - linux ia32 CFLAGS: -ffreestanding
25 - mac ia32 CFLAGS: -fPIC -ffreestanding -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 35 - mac ia32 CFLAGS: -fPIC -ffreestanding
36 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
26 37
27 The -ffreestanding argument removes dependencies on Intel memcpy and memset 38 The -ffreestanding argument removes dependencies on Intel memcpy and memset
28 functions. 39 functions.
29 40
30 For example, the following could be used at libvpx configure time to reproduce 41 For example, the following could be used at libvpx configure time to reproduce
31 the linux x64 build: 42 the linux x64 build:
32 43
33 CFLAGS="-fPIC -ffreestanding" /path/to/libvpx/configure \ 44 CFLAGS="-fPIC -ffreestanding" /path/to/libvpx/configure \
34 --target=x86_64-linux-icc --enable-pic --disable-install-docs \ 45 --target=x86_64-linux-icc --enable-pic --disable-install-docs \
35 --disable-install-srcs --disable-examples --disable-postproc 46 --disable-install-srcs --disable-examples --disable-postproc --disable-psnr
36 47
37 The vpx_config.{asm,h,cc}, and vpx_version.h files generated by the above 48 The vpx_config.{asm,h,cc}, and vpx_version.h files generated by the above
38 configure command should then be checked in to 49 configure command should then be checked in to
39 source/config/linux/<(target_arch)/. 50 source/config/linux/<(target_arch)/.
40 51
41 Notes about libvpx.gyp
42
43 To generate the sources list for libvpx.gyp we ran: 52 To generate the sources list for libvpx.gyp we ran:
44 53
45 mkdir ++build && cd ++build 54 mkdir ++build && cd ++build
46 CFLAGS="-fPIC -ffreestanding" bash ../source/libvpx/configure --enable-pic \ 55 CFLAGS="-fPIC -ffreestanding" bash ../source/libvpx/configure --enable-pic \
47 --disable-install-docs --disable-install-srcs --disable-examples \ 56 --disable-install-docs --disable-install-srcs --disable-examples \
48 --disable-postproc --disable-psnr 57 --disable-postproc --disable-psnr
49 make verbose=true |tee make.out 58 make verbose=true |tee make.out
50 59
51 then trawl through make.out to find the file-names: 60 then trawl through make.out to find the file-names:
52 61
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 source/config/linux/arm-neon/decoder/neon 113 source/config/linux/arm-neon/decoder/neon
105 cp source/libvpx/vp8/encoder/arm/armv5te/*.s \ 114 cp source/libvpx/vp8/encoder/arm/armv5te/*.s \
106 source/config/linux/arm/encoder/arm5te 115 source/config/linux/arm/encoder/arm5te
107 cp source/libvpx/vp8/encoder/arm/armv6/*.s \ 116 cp source/libvpx/vp8/encoder/arm/armv6/*.s \
108 source/config/linux/arm/encoder/armv6 117 source/config/linux/arm/encoder/armv6
109 cp source/libvpx/vp8/encoder/arm/neon/*.s \ 118 cp source/libvpx/vp8/encoder/arm/neon/*.s \
110 source/config/linux/arm-neon/encoder/neon 119 source/config/linux/arm-neon/encoder/neon
111 cp source/libvpx/vpx_scale/arm/neon/*.s \ 120 cp source/libvpx/vpx_scale/arm/neon/*.s \
112 source/config/linux/arm-neon/vpx_scale/neon 121 source/config/linux/arm-neon/vpx_scale/neon
113 122
OLDNEW
« no previous file with comments | « no previous file | libvpx/include/vpx/vp8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698