webrtc/modules/video_coding/codecs/h264
Mirko Bonadei 815b1a6f53 Use preprocessor to strip H264 implementation.
This CL makes it more flexible and easier to include/exclude H264 code
when using other build systems because it delegates the decision to
remove the code to the preprocessor instead of GN.

This CL should be a noop, and for WebRTC/Chromium the GN param
`rtc_use_h264` will still be the only thing to change in order to
include/exclude H264.

Moving code that requires ffmpeg or h264 out of the #ifdef/#endif
part should break the build since dependencies are only added if
`rtc_use_h264=true`.

Bug: webrtc:9213
Change-Id: Ibc04edc2f6b9e51489ffe638d5be4b32959cdca0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/137430
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28055}
2019-05-24 11:33:07 +00:00
..
include H.264 temporal layers w/frame marking (PART 2/3) 2019-02-09 16:47:09 +00:00
test Reland "Copy video frames metadata between encoded and plain frames in one place" 2019-05-13 14:51:11 +00:00
DEPS Support more H264 profiles for internal software codec 2017-10-06 14:28:44 +00:00
h264_color_space.cc Use preprocessor to strip H264 implementation. 2019-05-24 11:33:07 +00:00
h264_color_space.h Use preprocessor to strip H264 implementation. 2019-05-24 11:33:07 +00:00
h264_decoder_impl.cc Use preprocessor to strip H264 implementation. 2019-05-24 11:33:07 +00:00
h264_decoder_impl.h Use preprocessor to strip H264 implementation. 2019-05-24 11:33:07 +00:00
h264_encoder_impl_unittest.cc Stop using VideoCodec.targetBitrate for vp8 screenshare config 2018-07-06 15:13:18 +00:00
h264_encoder_impl.cc Use preprocessor to strip H264 implementation. 2019-05-24 11:33:07 +00:00
h264_encoder_impl.h Use preprocessor to strip H264 implementation. 2019-05-24 11:33:07 +00:00
h264_simulcast_unittest.cc Use function_video_(en|de)coder_factory from api 2018-10-26 14:54:19 +00:00
h264.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
OWNERS Update codecs/h264 owners. 2019-04-04 10:21:32 +00:00