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

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: Rebase to ToT Created 5 years, 7 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 "filters/ffmpeg_video_decoder.h", 291 "filters/ffmpeg_video_decoder.h",
292 "filters/in_memory_url_protocol.cc", 292 "filters/in_memory_url_protocol.cc",
293 "filters/in_memory_url_protocol.h", 293 "filters/in_memory_url_protocol.h",
294 ] 294 ]
295 if (proprietary_codecs) { 295 if (proprietary_codecs) {
296 sources += [ 296 sources += [
297 "filters/ffmpeg_aac_bitstream_converter.cc", 297 "filters/ffmpeg_aac_bitstream_converter.cc",
298 "filters/ffmpeg_aac_bitstream_converter.h", 298 "filters/ffmpeg_aac_bitstream_converter.h",
299 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc", 299 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc",
300 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h", 300 "filters/ffmpeg_h264_to_annex_b_bitstream_converter.h",
301 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc",
302 "filters/ffmpeg_h265_to_annex_b_bitstream_converter.h",
301 ] 303 ]
302 } 304 }
303 } 305 }
304 306
307 if (proprietary_codecs) {
308 sources += [
309 "filters/h265_parser.cc",
310 "filters/h265_parser.h",
311 "formats/mp4/hevc.cc",
312 "formats/mp4/hevc.h",
313 ]
314 }
315
305 if (current_cpu == "arm" && arm_use_neon) { 316 if (current_cpu == "arm" && arm_use_neon) {
306 defines += [ "USE_NEON" ] 317 defines += [ "USE_NEON" ]
307 } 318 }
308 319
309 if (media_use_libvpx) { 320 if (media_use_libvpx) {
310 sources += [ 321 sources += [
311 "filters/vpx_video_decoder.cc", 322 "filters/vpx_video_decoder.cc",
312 "filters/vpx_video_decoder.h", 323 "filters/vpx_video_decoder.h",
313 ] 324 ]
314 deps += [ "//third_party/libvpx" ] 325 deps += [ "//third_party/libvpx" ]
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 599
589 if (current_cpu != "arm" && is_chromeos) { 600 if (current_cpu != "arm" && is_chromeos) {
590 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] 601 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ]
591 } 602 }
592 603
593 if (proprietary_codecs) { 604 if (proprietary_codecs) {
594 sources += [ 605 sources += [
595 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", 606 "filters/ffmpeg_aac_bitstream_converter_unittest.cc",
596 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", 607 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc",
597 "filters/h264_to_annex_b_bitstream_converter_unittest.cc", 608 "filters/h264_to_annex_b_bitstream_converter_unittest.cc",
609 "filters/h265_parser_unittest.cc",
598 "formats/common/stream_parser_test_base.cc", 610 "formats/common/stream_parser_test_base.cc",
599 "formats/common/stream_parser_test_base.h", 611 "formats/common/stream_parser_test_base.h",
600 "formats/mp2t/es_adapter_video_unittest.cc", 612 "formats/mp2t/es_adapter_video_unittest.cc",
601 "formats/mp2t/es_parser_adts_unittest.cc", 613 "formats/mp2t/es_parser_adts_unittest.cc",
602 "formats/mp2t/es_parser_h264_unittest.cc", 614 "formats/mp2t/es_parser_h264_unittest.cc",
603 "formats/mp2t/es_parser_mpeg1audio_unittest.cc", 615 "formats/mp2t/es_parser_mpeg1audio_unittest.cc",
604 "formats/mp2t/es_parser_test_base.cc", 616 "formats/mp2t/es_parser_test_base.cc",
605 "formats/mp2t/es_parser_test_base.h", 617 "formats/mp2t/es_parser_test_base.h",
606 "formats/mp2t/mp2t_stream_parser_unittest.cc", 618 "formats/mp2t/mp2t_stream_parser_unittest.cc",
607 "formats/mp2t/timestamp_unroller_unittest.cc", 619 "formats/mp2t/timestamp_unroller_unittest.cc",
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 "//media/base:test_support", 747 "//media/base:test_support",
736 "//media/test:pipeline_integration_tests", 748 "//media/test:pipeline_integration_tests",
737 "//testing/gmock", 749 "//testing/gmock",
738 "//testing/gtest", 750 "//testing/gtest",
739 "//third_party/ffmpeg", 751 "//third_party/ffmpeg",
740 "//ui/gfx/geometry", 752 "//ui/gfx/geometry",
741 "//ui/gfx:test_support", 753 "//ui/gfx:test_support",
742 ] 754 ]
743 } 755 }
744 } 756 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698