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

Side by Side Diff: webrtc/test/fake_decoder.h

Issue 2378003002: Delete webrtc::VideoFrame::CreateEmptyFrame. (Closed)
Patch Set: Added size_t/int cast, needed for windows 64-bit builds. Created 4 years, 2 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
« no previous file with comments | « webrtc/modules/video_coding/video_sender_unittest.cc ('k') | webrtc/test/fake_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC 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
(...skipping 26 matching lines...) Expand all
37 DecodedImageCallback* callback) override; 37 DecodedImageCallback* callback) override;
38 38
39 int32_t Release() override; 39 int32_t Release() override;
40 40
41 const char* ImplementationName() const override; 41 const char* ImplementationName() const override;
42 42
43 static const char* kImplementationName; 43 static const char* kImplementationName;
44 44
45 private: 45 private:
46 VideoCodec config_; 46 VideoCodec config_;
47 VideoFrame frame_;
48 DecodedImageCallback* callback_; 47 DecodedImageCallback* callback_;
49 }; 48 };
50 49
51 class FakeH264Decoder : public FakeDecoder { 50 class FakeH264Decoder : public FakeDecoder {
52 public: 51 public:
53 virtual ~FakeH264Decoder() {} 52 virtual ~FakeH264Decoder() {}
54 53
55 int32_t Decode(const EncodedImage& input, 54 int32_t Decode(const EncodedImage& input,
56 bool missing_frames, 55 bool missing_frames,
57 const RTPFragmentationHeader* fragmentation, 56 const RTPFragmentationHeader* fragmentation,
(...skipping 10 matching lines...) Expand all
68 const RTPFragmentationHeader* fragmentation, 67 const RTPFragmentationHeader* fragmentation,
69 const CodecSpecificInfo* codec_specific_info, 68 const CodecSpecificInfo* codec_specific_info,
70 int64_t render_time_ms) override { 69 int64_t render_time_ms) override {
71 return 0; 70 return 0;
72 } 71 }
73 }; 72 };
74 } // namespace test 73 } // namespace test
75 } // namespace webrtc 74 } // namespace webrtc
76 75
77 #endif // WEBRTC_TEST_FAKE_DECODER_H_ 76 #endif // WEBRTC_TEST_FAKE_DECODER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_sender_unittest.cc ('k') | webrtc/test/fake_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698