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 \ | 11 LIBYUV_SRCS += third_party/libyuv/include/libyuv/basic_types.h \ |
12 third_party/libyuv/include/libyuv/cpu_id.h \ | 12 third_party/libyuv/include/libyuv/cpu_id.h \ |
13 third_party/libyuv/include/libyuv/scale.h \ | 13 third_party/libyuv/include/libyuv/scale.h \ |
14 third_party/libyuv/source/row.h \ | 14 third_party/libyuv/source/row.h \ |
15 third_party/libyuv/source/scale.c \ | 15 third_party/libyuv/source/scale.c \ |
16 third_party/libyuv/source/cpu_id.c | 16 third_party/libyuv/source/cpu_id.c |
17 | 17 |
18 # List of examples to build. UTILS are tools meant for distribution | 18 # List of examples to build. UTILS are tools meant for distribution |
19 # while EXAMPLES demonstrate specific portions of the API. | 19 # while EXAMPLES demonstrate specific portions of the API. |
20 UTILS-$(CONFIG_DECODERS) += vpxdec.c | 20 UTILS-$(CONFIG_DECODERS) += vpxdec.c |
21 vpxdec.SRCS += md5_utils.c md5_utils.h | 21 vpxdec.SRCS += md5_utils.c md5_utils.h |
22 vpxdec.SRCS += vpx_ports/mem_ops.h | 22 vpxdec.SRCS += vpx_ports/mem_ops.h |
23 vpxdec.SRCS += vpx_ports/mem_ops_aligned.h | 23 vpxdec.SRCS += vpx_ports/mem_ops_aligned.h |
24 vpxdec.SRCS += vpx_ports/vpx_timer.h | 24 vpxdec.SRCS += vpx_ports/vpx_timer.h |
25 vpxdec.SRCS += vpx/vpx_integer.h | 25 vpxdec.SRCS += vpx/vpx_integer.h |
26 vpxdec.SRCS += args.c args.h | 26 vpxdec.SRCS += args.c args.h |
27 vpxdec.SRCS += ivfdec.c ivfdec.h | 27 vpxdec.SRCS += ivfdec.c ivfdec.h |
28 vpxdec.SRCS += tools_common.c tools_common.h | 28 vpxdec.SRCS += tools_common.c tools_common.h |
29 vpxdec.SRCS += webmdec.c webmdec.h | |
30 vpxdec.SRCS += y4menc.c y4menc.h | 29 vpxdec.SRCS += y4menc.c y4menc.h |
31 vpxdec.SRCS += third_party/nestegg/halloc/halloc.h | |
32 vpxdec.SRCS += third_party/nestegg/halloc/src/align.h | |
33 vpxdec.SRCS += third_party/nestegg/halloc/src/halloc.c | |
34 vpxdec.SRCS += third_party/nestegg/halloc/src/hlist.h | |
35 vpxdec.SRCS += third_party/nestegg/halloc/src/macros.h | |
36 vpxdec.SRCS += third_party/nestegg/include/nestegg/nestegg.h | |
37 vpxdec.SRCS += third_party/nestegg/src/nestegg.c | |
38 vpxdec.SRCS += $(LIBYUV_SRCS) | 30 vpxdec.SRCS += $(LIBYUV_SRCS) |
| 31 ifeq ($(CONFIG_WEBM_IO),yes) |
| 32 vpxdec.SRCS += third_party/nestegg/halloc/halloc.h |
| 33 vpxdec.SRCS += third_party/nestegg/halloc/src/align.h |
| 34 vpxdec.SRCS += third_party/nestegg/halloc/src/halloc.c |
| 35 vpxdec.SRCS += third_party/nestegg/halloc/src/hlist.h |
| 36 vpxdec.SRCS += third_party/nestegg/halloc/src/macros.h |
| 37 vpxdec.SRCS += third_party/nestegg/include/nestegg/nestegg.h |
| 38 vpxdec.SRCS += third_party/nestegg/src/nestegg.c |
| 39 vpxdec.SRCS += webmdec.c webmdec.h |
| 40 endif |
39 vpxdec.GUID = BA5FE66F-38DD-E034-F542-B1578C5FB950 | 41 vpxdec.GUID = BA5FE66F-38DD-E034-F542-B1578C5FB950 |
40 vpxdec.DESCRIPTION = Full featured decoder | 42 vpxdec.DESCRIPTION = Full featured decoder |
41 UTILS-$(CONFIG_ENCODERS) += vpxenc.c | 43 UTILS-$(CONFIG_ENCODERS) += vpxenc.c |
42 vpxenc.SRCS += args.c args.h y4minput.c y4minput.h vpxenc.h | 44 vpxenc.SRCS += args.c args.h y4minput.c y4minput.h vpxenc.h |
43 vpxenc.SRCS += ivfdec.c ivfdec.h | 45 vpxenc.SRCS += ivfdec.c ivfdec.h |
44 vpxenc.SRCS += ivfenc.c ivfenc.h | 46 vpxenc.SRCS += ivfenc.c ivfenc.h |
45 vpxenc.SRCS += rate_hist.c rate_hist.h | 47 vpxenc.SRCS += rate_hist.c rate_hist.h |
46 vpxenc.SRCS += tools_common.c tools_common.h | 48 vpxenc.SRCS += tools_common.c tools_common.h |
47 vpxenc.SRCS += warnings.c warnings.h | 49 vpxenc.SRCS += warnings.c warnings.h |
48 vpxenc.SRCS += webmenc.c webmenc.h | |
49 vpxenc.SRCS += vpx_ports/mem_ops.h | 50 vpxenc.SRCS += vpx_ports/mem_ops.h |
50 vpxenc.SRCS += vpx_ports/mem_ops_aligned.h | 51 vpxenc.SRCS += vpx_ports/mem_ops_aligned.h |
51 vpxenc.SRCS += vpx_ports/vpx_timer.h | 52 vpxenc.SRCS += vpx_ports/vpx_timer.h |
52 vpxenc.SRCS += vpxstats.c vpxstats.h | 53 vpxenc.SRCS += vpxstats.c vpxstats.h |
53 vpxenc.SRCS += third_party/libmkv/EbmlIDs.h | |
54 vpxenc.SRCS += third_party/libmkv/EbmlWriter.c | |
55 vpxenc.SRCS += third_party/libmkv/EbmlWriter.h | |
56 vpxenc.SRCS += $(LIBYUV_SRCS) | 54 vpxenc.SRCS += $(LIBYUV_SRCS) |
| 55 ifeq ($(CONFIG_WEBM_IO),yes) |
| 56 vpxenc.SRCS += third_party/libmkv/EbmlIDs.h |
| 57 vpxenc.SRCS += third_party/libmkv/EbmlWriter.c |
| 58 vpxenc.SRCS += third_party/libmkv/EbmlWriter.h |
| 59 vpxenc.SRCS += webmenc.c webmenc.h |
| 60 endif |
57 vpxenc.GUID = 548DEC74-7A15-4B2B-AFC3-AA102E7C25C1 | 61 vpxenc.GUID = 548DEC74-7A15-4B2B-AFC3-AA102E7C25C1 |
58 vpxenc.DESCRIPTION = Full featured encoder | 62 vpxenc.DESCRIPTION = Full featured encoder |
59 EXAMPLES-$(CONFIG_VP9_ENCODER) += vp9_spatial_scalable_encoder.c | 63 EXAMPLES-$(CONFIG_VP9_ENCODER) += vp9_spatial_scalable_encoder.c |
60 vp9_spatial_scalable_encoder.SRCS += args.c args.h | 64 vp9_spatial_scalable_encoder.SRCS += args.c args.h |
61 vp9_spatial_scalable_encoder.SRCS += ivfenc.c ivfenc.h | 65 vp9_spatial_scalable_encoder.SRCS += ivfenc.c ivfenc.h |
62 vp9_spatial_scalable_encoder.SRCS += tools_common.c tools_common.h | 66 vp9_spatial_scalable_encoder.SRCS += tools_common.c tools_common.h |
63 vp9_spatial_scalable_encoder.SRCS += video_common.h | 67 vp9_spatial_scalable_encoder.SRCS += video_common.h |
64 vp9_spatial_scalable_encoder.SRCS += video_writer.h video_writer.c | 68 vp9_spatial_scalable_encoder.SRCS += video_writer.h video_writer.c |
| 69 vp9_spatial_scalable_encoder.SRCS += vpxstats.c vpxstats.h |
65 vp9_spatial_scalable_encoder.GUID = 4A38598D-627D-4505-9C7B-D4020C84100D | 70 vp9_spatial_scalable_encoder.GUID = 4A38598D-627D-4505-9C7B-D4020C84100D |
66 vp9_spatial_scalable_encoder.DESCRIPTION = Spatial Scalable Encoder | 71 vp9_spatial_scalable_encoder.DESCRIPTION = Spatial Scalable Encoder |
67 | 72 |
68 ifeq ($(CONFIG_SHARED),no) | 73 ifneq ($(CONFIG_SHARED),yes) |
69 UTILS-$(CONFIG_VP9_ENCODER) += resize_util.c | 74 EXAMPLES-$(CONFIG_VP9_ENCODER) += resize_util.c |
70 endif | 75 endif |
71 | 76 |
72 # XMA example disabled for now, not used in VP8 | 77 # XMA example disabled for now, not used in VP8 |
73 #UTILS-$(CONFIG_DECODERS) += example_xma.c | 78 #UTILS-$(CONFIG_DECODERS) += example_xma.c |
74 #example_xma.GUID = A955FC4A-73F1-44F7-135E-30D84D32F022 | 79 #example_xma.GUID = A955FC4A-73F1-44F7-135E-30D84D32F022 |
75 #example_xma.DESCRIPTION = External Memory Allocation mode usage | 80 #example_xma.DESCRIPTION = External Memory Allocation mode usage |
76 | 81 |
77 EXAMPLES-$(CONFIG_ENCODERS) += vpx_temporal_scalable_patterns.c | 82 EXAMPLES-$(CONFIG_ENCODERS) += vpx_temporal_scalable_patterns.c |
78 vpx_temporal_scalable_patterns.SRCS += ivfenc.c ivfenc.h | 83 vpx_temporal_scalable_patterns.SRCS += ivfenc.c ivfenc.h |
79 vpx_temporal_scalable_patterns.SRCS += tools_common.c tools_common.h | 84 vpx_temporal_scalable_patterns.SRCS += tools_common.c tools_common.h |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 simple_encoder.SRCS += video_writer.h video_writer.c | 121 simple_encoder.SRCS += video_writer.h video_writer.c |
117 simple_encoder.GUID = 4607D299-8A71-4D2C-9B1D-071899B6FBFD | 122 simple_encoder.GUID = 4607D299-8A71-4D2C-9B1D-071899B6FBFD |
118 simple_encoder.DESCRIPTION = Simplified encoder loop | 123 simple_encoder.DESCRIPTION = Simplified encoder loop |
119 EXAMPLES-$(CONFIG_VP8_ENCODER) += twopass_encoder.c | 124 EXAMPLES-$(CONFIG_VP8_ENCODER) += twopass_encoder.c |
120 twopass_encoder.SRCS += ivfenc.h ivfenc.c | 125 twopass_encoder.SRCS += ivfenc.h ivfenc.c |
121 twopass_encoder.SRCS += tools_common.h tools_common.c | 126 twopass_encoder.SRCS += tools_common.h tools_common.c |
122 twopass_encoder.SRCS += video_common.h | 127 twopass_encoder.SRCS += video_common.h |
123 twopass_encoder.SRCS += video_writer.h video_writer.c | 128 twopass_encoder.SRCS += video_writer.h video_writer.c |
124 twopass_encoder.GUID = 73494FA6-4AF9-4763-8FBB-265C92402FD8 | 129 twopass_encoder.GUID = 73494FA6-4AF9-4763-8FBB-265C92402FD8 |
125 twopass_encoder.DESCRIPTION = Two-pass encoder loop | 130 twopass_encoder.DESCRIPTION = Two-pass encoder loop |
126 EXAMPLES-$(CONFIG_VP8_ENCODER) += force_keyframe.c | |
127 force_keyframe.GUID = 3C67CADF-029F-4C86-81F5-D6D4F51177F0 | |
128 force_keyframe.DESCRIPTION = Force generation of keyframes | |
129 ifeq ($(CONFIG_DECODERS),yes) | 131 ifeq ($(CONFIG_DECODERS),yes) |
130 EXAMPLES-$(CONFIG_VP8_ENCODER) += decode_with_drops.c | 132 EXAMPLES-$(CONFIG_VP8_ENCODER) += decode_with_drops.c |
131 decode_with_drops.SRCS += ivfdec.h ivfdec.c | 133 decode_with_drops.SRCS += ivfdec.h ivfdec.c |
132 decode_with_drops.SRCS += tools_common.h tools_common.c | 134 decode_with_drops.SRCS += tools_common.h tools_common.c |
133 decode_with_drops.SRCS += video_common.h | 135 decode_with_drops.SRCS += video_common.h |
134 decode_with_drops.SRCS += video_reader.h video_reader.c | 136 decode_with_drops.SRCS += video_reader.h video_reader.c |
135 decode_with_drops.SRCS += vpx_ports/mem_ops.h | 137 decode_with_drops.SRCS += vpx_ports/mem_ops.h |
136 decode_with_drops.SRCS += vpx_ports/mem_ops_aligned.h | 138 decode_with_drops.SRCS += vpx_ports/mem_ops_aligned.h |
137 endif | 139 endif |
138 decode_with_drops.GUID = CE5C53C4-8DDA-438A-86ED-0DDD3CDB8D26 | 140 decode_with_drops.GUID = CE5C53C4-8DDA-438A-86ED-0DDD3CDB8D26 |
139 decode_with_drops.DESCRIPTION = Drops frames while decoding | 141 decode_with_drops.DESCRIPTION = Drops frames while decoding |
140 ifeq ($(CONFIG_VP8_DECODER),yes) | 142 ifeq ($(CONFIG_VP8_DECODER),yes) |
141 EXAMPLES-$(CONFIG_ERROR_CONCEALMENT) += decode_with_partial_drops.c | 143 EXAMPLES-$(CONFIG_ERROR_CONCEALMENT) += decode_with_partial_drops.c |
142 endif | 144 endif |
143 decode_with_partial_drops.GUID = 61C2D026-5754-46AC-916F-1343ECC5537E | 145 decode_with_partial_drops.GUID = 61C2D026-5754-46AC-916F-1343ECC5537E |
144 decode_with_partial_drops.DESCRIPTION = Drops parts of frames while decoding | 146 decode_with_partial_drops.DESCRIPTION = Drops parts of frames while decoding |
145 EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8_set_maps.c | 147 EXAMPLES-$(CONFIG_ENCODERS) += set_maps.c |
146 vp8_set_maps.SRCS += ivfenc.h ivfenc.c | 148 set_maps.SRCS += ivfenc.h ivfenc.c |
147 vp8_set_maps.SRCS += tools_common.h tools_common.c | 149 set_maps.SRCS += tools_common.h tools_common.c |
148 vp8_set_maps.SRCS += video_common.h | 150 set_maps.SRCS += video_common.h |
149 vp8_set_maps.SRCS += video_writer.h video_writer.c | 151 set_maps.SRCS += video_writer.h video_writer.c |
150 vp8_set_maps.GUID = ECB2D24D-98B8-4015-A465-A4AF3DCC145F | 152 set_maps.GUID = ECB2D24D-98B8-4015-A465-A4AF3DCC145F |
151 vp8_set_maps.DESCRIPTION = VP8 set active and ROI maps | 153 set_maps.DESCRIPTION = Set active and ROI maps |
152 EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8cx_set_ref.c | 154 EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8cx_set_ref.c |
| 155 vp8cx_set_ref.SRCS += ivfenc.h ivfenc.c |
| 156 vp8cx_set_ref.SRCS += tools_common.h tools_common.c |
| 157 vp8cx_set_ref.SRCS += video_common.h |
| 158 vp8cx_set_ref.SRCS += video_writer.h video_writer.c |
153 vp8cx_set_ref.GUID = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A | 159 vp8cx_set_ref.GUID = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A |
154 vp8cx_set_ref.DESCRIPTION = VP8 set encoder reference frame | 160 vp8cx_set_ref.DESCRIPTION = VP8 set encoder reference frame |
155 | 161 |
156 | 162 |
157 ifeq ($(CONFIG_MULTI_RES_ENCODING),yes) | 163 ifeq ($(CONFIG_MULTI_RES_ENCODING),yes) |
158 EXAMPLES-$(CONFIG_VP8_DECODER) += vp8_multi_resolution_encoder.c | 164 EXAMPLES-$(CONFIG_VP8_DECODER) += vp8_multi_resolution_encoder.c |
159 vp8_multi_resolution_encoder.SRCS += $(LIBYUV_SRCS) | 165 vp8_multi_resolution_encoder.SRCS += $(LIBYUV_SRCS) |
160 vp8_multi_resolution_encoder.GUID = 04f8738e-63c8-423b-90fa-7c2703a374de | 166 vp8_multi_resolution_encoder.GUID = 04f8738e-63c8-423b-90fa-7c2703a374de |
161 vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding | 167 vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding |
162 endif | 168 endif |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 "pieces like the samples are. Their source is included here"\ | 323 "pieces like the samples are. Their source is included here"\ |
318 "for reference. The following utilities are included:" >> $@ | 324 "for reference. The following utilities are included:" >> $@ |
319 @$(foreach ex,$(sort $(UTILS:.c=)),\ | 325 @$(foreach ex,$(sort $(UTILS:.c=)),\ |
320 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) | 326 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) |
321 @echo "*/" >> $@ | 327 @echo "*/" >> $@ |
322 | 328 |
323 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) | 329 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) |
324 DOCS-yes += examples.doxy samples.dox | 330 DOCS-yes += examples.doxy samples.dox |
325 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) | 331 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) |
326 @echo "INPUT += $^" > $@ | 332 @echo "INPUT += $^" > $@ |
OLD | NEW |