OLD | NEW |
1 ## | 1 ## |
2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 ## | 3 ## |
4 ## Use of this source code is governed by a BSD-style license | 4 ## Use of this source code is governed by a BSD-style license |
5 ## that can be found in the LICENSE file in the root of the source | 5 ## that can be found in the LICENSE file in the root of the source |
6 ## tree. An additional intellectual property rights grant can be found | 6 ## tree. An additional intellectual property rights grant can be found |
7 ## in the file PATENTS. All contributing project authors may | 7 ## in the file PATENTS. All contributing project authors may |
8 ## be found in the AUTHORS file in the root of the source tree. | 8 ## be found in the AUTHORS file in the root of the source tree. |
9 ## | 9 ## |
10 | 10 |
| 11 LIBYUV_SRCS += third_party/libyuv/include/libyuv/basic_types.h \ |
| 12 third_party/libyuv/include/libyuv/cpu_id.h \ |
| 13 third_party/libyuv/include/libyuv/scale.h \ |
| 14 third_party/libyuv/source/row.h \ |
| 15 third_party/libyuv/source/scale.c \ |
| 16 third_party/libyuv/source/cpu_id.c |
11 | 17 |
12 # List of examples to build. UTILS are files that are taken from the source | 18 # List of examples to build. UTILS are files that are taken from the source |
13 # tree directly, and GEN_EXAMPLES are files that are created from the | 19 # tree directly, and GEN_EXAMPLES are files that are created from the |
14 # examples folder. | 20 # examples folder. |
15 UTILS-$(CONFIG_DECODERS) += vpxdec.c | 21 UTILS-$(CONFIG_DECODERS) += vpxdec.c |
16 vpxdec.SRCS += md5_utils.c md5_utils.h | 22 vpxdec.SRCS += md5_utils.c md5_utils.h |
17 vpxdec.SRCS += vpx_ports/vpx_timer.h | 23 vpxdec.SRCS += vpx_ports/vpx_timer.h |
18 vpxdec.SRCS += vpx/vpx_integer.h | 24 vpxdec.SRCS += vpx/vpx_integer.h |
19 vpxdec.SRCS += args.c args.h | 25 vpxdec.SRCS += args.c args.h |
20 vpxdec.SRCS += tools_common.c tools_common.h | 26 vpxdec.SRCS += tools_common.c tools_common.h |
21 vpxdec.SRCS += nestegg/halloc/halloc.h | 27 vpxdec.SRCS += nestegg/halloc/halloc.h |
22 vpxdec.SRCS += nestegg/halloc/src/align.h | 28 vpxdec.SRCS += nestegg/halloc/src/align.h |
23 vpxdec.SRCS += nestegg/halloc/src/halloc.c | 29 vpxdec.SRCS += nestegg/halloc/src/halloc.c |
24 vpxdec.SRCS += nestegg/halloc/src/hlist.h | 30 vpxdec.SRCS += nestegg/halloc/src/hlist.h |
25 vpxdec.SRCS += nestegg/halloc/src/macros.h | 31 vpxdec.SRCS += nestegg/halloc/src/macros.h |
26 vpxdec.SRCS += nestegg/include/nestegg/nestegg.h | 32 vpxdec.SRCS += nestegg/include/nestegg/nestegg.h |
27 vpxdec.SRCS += nestegg/src/nestegg.c | 33 vpxdec.SRCS += nestegg/src/nestegg.c |
| 34 vpxdec.SRCS += $(LIBYUV_SRCS) |
28 vpxdec.GUID = BA5FE66F-38DD-E034-F542-B1578C5FB950 | 35 vpxdec.GUID = BA5FE66F-38DD-E034-F542-B1578C5FB950 |
29 vpxdec.DESCRIPTION = Full featured decoder | 36 vpxdec.DESCRIPTION = Full featured decoder |
30 UTILS-$(CONFIG_ENCODERS) += vpxenc.c | 37 UTILS-$(CONFIG_ENCODERS) += vpxenc.c |
31 vpxenc.SRCS += args.c args.h y4minput.c y4minput.h | 38 vpxenc.SRCS += args.c args.h y4minput.c y4minput.h |
32 vpxenc.SRCS += tools_common.c tools_common.h | 39 vpxenc.SRCS += tools_common.c tools_common.h |
33 vpxenc.SRCS += vpx_ports/mem_ops.h | 40 vpxenc.SRCS += vpx_ports/mem_ops.h |
34 vpxenc.SRCS += vpx_ports/mem_ops_aligned.h | 41 vpxenc.SRCS += vpx_ports/mem_ops_aligned.h |
35 vpxenc.SRCS += vpx_ports/vpx_timer.h | 42 vpxenc.SRCS += vpx_ports/vpx_timer.h |
36 vpxenc.SRCS += libmkv/EbmlIDs.h | 43 vpxenc.SRCS += libmkv/EbmlIDs.h |
37 vpxenc.SRCS += libmkv/EbmlWriter.c | 44 vpxenc.SRCS += libmkv/EbmlWriter.c |
38 vpxenc.SRCS += libmkv/EbmlWriter.h | 45 vpxenc.SRCS += libmkv/EbmlWriter.h |
| 46 vpxenc.SRCS += $(LIBYUV_SRCS) |
39 vpxenc.GUID = 548DEC74-7A15-4B2B-AFC3-AA102E7C25C1 | 47 vpxenc.GUID = 548DEC74-7A15-4B2B-AFC3-AA102E7C25C1 |
40 vpxenc.DESCRIPTION = Full featured encoder | 48 vpxenc.DESCRIPTION = Full featured encoder |
41 UTILS-$(CONFIG_VP8_ENCODER) += vp8_scalable_patterns.c | 49 UTILS-$(CONFIG_VP8_ENCODER) += vp8_scalable_patterns.c |
42 vp8_scalable_patterns.GUID = 0D6A210B-F482-4D6F-8570-4A9C01ACC88C | 50 vp8_scalable_patterns.GUID = 0D6A210B-F482-4D6F-8570-4A9C01ACC88C |
43 vp8_scalable_patterns.DESCRIPTION = Temporal Scalability Encoder | 51 vp8_scalable_patterns.DESCRIPTION = Temporal Scalability Encoder |
44 | 52 |
45 # Clean up old ivfenc, ivfdec binaries. | 53 # Clean up old ivfenc, ivfdec binaries. |
46 ifeq ($(CONFIG_MSVS),yes) | 54 ifeq ($(CONFIG_MSVS),yes) |
47 CLEAN-OBJS += $(foreach p,$(VS_PLATFORMS),$(p)/Release/ivfenc.exe) | 55 CLEAN-OBJS += $(foreach p,$(VS_PLATFORMS),$(p)/Release/ivfenc.exe) |
48 CLEAN-OBJS += $(foreach p,$(VS_PLATFORMS),$(p)/Release/ivfdec.exe) | 56 CLEAN-OBJS += $(foreach p,$(VS_PLATFORMS),$(p)/Release/ivfdec.exe) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 100 |
93 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8_set_maps.c | 101 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8_set_maps.c |
94 vp8_set_maps.GUID = ECB2D24D-98B8-4015-A465-A4AF3DCC145F | 102 vp8_set_maps.GUID = ECB2D24D-98B8-4015-A465-A4AF3DCC145F |
95 vp8_set_maps.DESCRIPTION = VP8 set active and ROI maps | 103 vp8_set_maps.DESCRIPTION = VP8 set active and ROI maps |
96 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8cx_set_ref.c | 104 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8cx_set_ref.c |
97 vp8cx_set_ref.GUID = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A | 105 vp8cx_set_ref.GUID = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A |
98 vp8cx_set_ref.DESCRIPTION = VP8 set encoder reference frame | 106 vp8cx_set_ref.DESCRIPTION = VP8 set encoder reference frame |
99 | 107 |
100 # C file is provided, not generated automatically. | 108 # C file is provided, not generated automatically. |
101 UTILS-$(CONFIG_MULTI_RES_ENCODING) += vp8_multi_resolution_encoder.c | 109 UTILS-$(CONFIG_MULTI_RES_ENCODING) += vp8_multi_resolution_encoder.c |
102 vp8_multi_resolution_encoder.SRCS \ | 110 vp8_multi_resolution_encoder.SRCS += $(LIBYUV_SRCS) |
103 += third_party/libyuv/include/libyuv/basic_types.h \ | |
104 third_party/libyuv/include/libyuv/cpu_id.h \ | |
105 third_party/libyuv/include/libyuv/scale.h \ | |
106 third_party/libyuv/source/row.h \ | |
107 third_party/libyuv/source/scale.c \ | |
108 third_party/libyuv/source/cpu_id.c | |
109 vp8_multi_resolution_encoder.GUID = 04f8738e-63c8-423b-90fa-7c2703a374de | 111 vp8_multi_resolution_encoder.GUID = 04f8738e-63c8-423b-90fa-7c2703a374de |
110 vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding | 112 vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding |
111 | 113 |
112 # Handle extra library flags depending on codec configuration | 114 # Handle extra library flags depending on codec configuration |
113 | 115 |
114 # We should not link to math library (libm) on RVCT | 116 # We should not link to math library (libm) on RVCT |
115 # when building for bare-metal targets | 117 # when building for bare-metal targets |
116 ifeq ($(CONFIG_OS_SUPPORT), yes) | 118 ifeq ($(CONFIG_OS_SUPPORT), yes) |
117 CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m | 119 CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m |
118 CODEC_EXTRA_LIBS-$(CONFIG_VP9) += m | 120 CODEC_EXTRA_LIBS-$(CONFIG_VP9) += m |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 "pieces like the samples are. Thir sourcre is included here"\ | 283 "pieces like the samples are. Thir sourcre is included here"\ |
282 "for reference. The following utilities are included:" >> $@ | 284 "for reference. The following utilities are included:" >> $@ |
283 @$(foreach ex,$(UTILS:.c=),\ | 285 @$(foreach ex,$(UTILS:.c=),\ |
284 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) | 286 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) |
285 @echo "*/" >> $@ | 287 @echo "*/" >> $@ |
286 | 288 |
287 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) | 289 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) |
288 DOCS-yes += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) | 290 DOCS-yes += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) |
289 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) | 291 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) |
290 @echo "INPUT += $^" > $@ | 292 @echo "INPUT += $^" > $@ |
OLD | NEW |