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

Side by Side Diff: media/BUILD.gn

Issue 816353010: Implemented HEVC video demuxing and parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 5 years, 6 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 "filters/ffmpeg_video_decoder.h", 305 "filters/ffmpeg_video_decoder.h",
306 "filters/in_memory_url_protocol.cc", 306 "filters/in_memory_url_protocol.cc",
307 "filters/in_memory_url_protocol.h", 307 "filters/in_memory_url_protocol.h",
308 ] 308 ]
309 if (proprietary_codecs) { 309 if (proprietary_codecs) {
310 sources += [ 310 sources += [
311 "filters/ffmpeg_aac_bitstream_converter.cc", 311 "filters/ffmpeg_aac_bitstream_converter.cc",
312 "filters/ffmpeg_aac_bitstream_converter.h", 312 "filters/ffmpeg_aac_bitstream_converter.h",
313 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc", 313 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc",
314 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h", 314 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h",
315 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc",
316 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.h",
315 ] 317 ]
316 } 318 }
317 } 319 }
318 320
321 if (proprietary_codecs) {
322 sources += [
323 "filters/h265_parser.cc",
324 "filters/h265_parser.h",
325 "formats/mp4/hevc.cc",
326 "formats/mp4/hevc.h",
327 ]
328 }
329
319 if (current_cpu == "arm" && arm_use_neon) { 330 if (current_cpu == "arm" && arm_use_neon) {
320 defines += [ "USE_NEON" ] 331 defines += [ "USE_NEON" ]
321 } 332 }
322 333
323 if (media_use_libvpx) { 334 if (media_use_libvpx) {
324 sources += [ 335 sources += [
325 "filters/vpx_video_decoder.cc", 336 "filters/vpx_video_decoder.cc",
326 "filters/vpx_video_decoder.h", 337 "filters/vpx_video_decoder.h",
327 ] 338 ]
328 deps += [ "//third_party/libvpx" ] 339 deps += [ "//third_party/libvpx" ]
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 if (current_cpu != "arm" && is_chromeos) { 623 if (current_cpu != "arm" && is_chromeos) {
613 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] 624 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ]
614 } 625 }
615 626
616 if (proprietary_codecs) { 627 if (proprietary_codecs) {
617 sources += [ 628 sources += [
618 "cdm/cenc_utils_unittest.cc", 629 "cdm/cenc_utils_unittest.cc",
619 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", 630 "filters/ffmpeg_aac_bitstream_converter_unittest.cc",
620 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", 631 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc",
621 "filters/h264_to_annex_b_bitstream_converter_unittest.cc", 632 "filters/h264_to_annex_b_bitstream_converter_unittest.cc",
633 "filters/h265_parser_unittest.cc",
622 "formats/common/stream_parser_test_base.cc", 634 "formats/common/stream_parser_test_base.cc",
623 "formats/common/stream_parser_test_base.h", 635 "formats/common/stream_parser_test_base.h",
624 "formats/mp2t/es_adapter_video_unittest.cc", 636 "formats/mp2t/es_adapter_video_unittest.cc",
625 "formats/mp2t/es_parser_adts_unittest.cc", 637 "formats/mp2t/es_parser_adts_unittest.cc",
626 "formats/mp2t/es_parser_h264_unittest.cc", 638 "formats/mp2t/es_parser_h264_unittest.cc",
627 "formats/mp2t/es_parser_mpeg1audio_unittest.cc", 639 "formats/mp2t/es_parser_mpeg1audio_unittest.cc",
628 "formats/mp2t/es_parser_test_base.cc", 640 "formats/mp2t/es_parser_test_base.cc",
629 "formats/mp2t/es_parser_test_base.h", 641 "formats/mp2t/es_parser_test_base.h",
630 "formats/mp2t/mp2t_stream_parser_unittest.cc", 642 "formats/mp2t/mp2t_stream_parser_unittest.cc",
631 "formats/mp2t/timestamp_unroller_unittest.cc", 643 "formats/mp2t/timestamp_unroller_unittest.cc",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 "//media/base:test_support", 772 "//media/base:test_support",
761 "//media/test:pipeline_integration_tests", 773 "//media/test:pipeline_integration_tests",
762 "//testing/gmock", 774 "//testing/gmock",
763 "//testing/gtest", 775 "//testing/gtest",
764 "//third_party/ffmpeg", 776 "//third_party/ffmpeg",
765 "//ui/gfx/geometry", 777 "//ui/gfx/geometry",
766 "//ui/gfx:test_support", 778 "//ui/gfx:test_support",
767 ] 779 ]
768 } 780 }
769 } 781 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698