Rename WEBRTC_VIDEOPROCESSOR_H264_TESTS define to WEBRTC_USE_H264.
This is the name used in other parts of the code. BUG=none Review-Url: https://codereview.webrtc.org/2996463003 Cr-Commit-Position: refs/heads/master@{#19253}
This commit is contained in:
@ -436,7 +436,7 @@ if (rtc_include_tests) {
|
|||||||
]
|
]
|
||||||
|
|
||||||
if (rtc_use_h264) {
|
if (rtc_use_h264) {
|
||||||
defines = [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ]
|
defines = [ "WEBRTC_USE_H264" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!build_with_chromium && is_clang) {
|
if (!build_with_chromium && is_clang) {
|
||||||
|
|||||||
@ -32,7 +32,7 @@ class TestH264Impl : public VideoCodecTest {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef WEBRTC_VIDEOPROCESSOR_H264_TESTS
|
#ifdef WEBRTC_USE_H264
|
||||||
#define MAYBE_EncodeDecode EncodeDecode
|
#define MAYBE_EncodeDecode EncodeDecode
|
||||||
#define MAYBE_DecodedQpEqualsEncodedQp DecodedQpEqualsEncodedQp
|
#define MAYBE_DecodedQpEqualsEncodedQp DecodedQpEqualsEncodedQp
|
||||||
#else
|
#else
|
||||||
|
|||||||
@ -33,7 +33,7 @@ const char kForemanCif[] = "foreman_cif";
|
|||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
#if defined(WEBRTC_VIDEOPROCESSOR_H264_TESTS)
|
#if defined(WEBRTC_USE_H264)
|
||||||
|
|
||||||
// H264: Run with no packet loss and fixed bitrate. Quality should be very high.
|
// H264: Run with no packet loss and fixed bitrate. Quality should be very high.
|
||||||
// Note(hbos): The PacketManipulatorImpl code used to simulate packet loss in
|
// Note(hbos): The PacketManipulatorImpl code used to simulate packet loss in
|
||||||
@ -60,7 +60,7 @@ TEST_F(VideoProcessorIntegrationTest, Process0PercentPacketLossH264) {
|
|||||||
nullptr /* visualization_params */);
|
nullptr /* visualization_params */);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // defined(WEBRTC_VIDEOPROCESSOR_H264_TESTS)
|
#endif // defined(WEBRTC_USE_H264)
|
||||||
|
|
||||||
// Fails on iOS. See webrtc:4755.
|
// Fails on iOS. See webrtc:4755.
|
||||||
#if !defined(WEBRTC_IOS)
|
#if !defined(WEBRTC_IOS)
|
||||||
|
|||||||
Reference in New Issue
Block a user