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

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

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: fix rebase Created 5 years 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_receiver.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 21 matching lines...) Expand all
32 const RTPFragmentationHeader* fragmentation, 32 const RTPFragmentationHeader* fragmentation,
33 const CodecSpecificInfo* codec_specific_info, 33 const CodecSpecificInfo* codec_specific_info,
34 int64_t render_time_ms) override; 34 int64_t render_time_ms) override;
35 35
36 int32_t RegisterDecodeCompleteCallback( 36 int32_t RegisterDecodeCompleteCallback(
37 DecodedImageCallback* callback) override; 37 DecodedImageCallback* callback) override;
38 38
39 int32_t Release() override; 39 int32_t Release() override;
40 int32_t Reset() override; 40 int32_t Reset() override;
41 41
42 const char* ImplementationName() const override;
43
44 static const char* kImplementationName;
45
42 private: 46 private:
43 VideoCodec config_; 47 VideoCodec config_;
44 VideoFrame frame_; 48 VideoFrame frame_;
45 DecodedImageCallback* callback_; 49 DecodedImageCallback* callback_;
46 }; 50 };
47 51
48 class FakeH264Decoder : public FakeDecoder { 52 class FakeH264Decoder : public FakeDecoder {
49 public: 53 public:
50 virtual ~FakeH264Decoder() {} 54 virtual ~FakeH264Decoder() {}
51 55
(...skipping 13 matching lines...) Expand all
65 const RTPFragmentationHeader* fragmentation, 69 const RTPFragmentationHeader* fragmentation,
66 const CodecSpecificInfo* codec_specific_info, 70 const CodecSpecificInfo* codec_specific_info,
67 int64_t render_time_ms) override { 71 int64_t render_time_ms) override {
68 return 0; 72 return 0;
69 } 73 }
70 }; 74 };
71 } // namespace test 75 } // namespace test
72 } // namespace webrtc 76 } // namespace webrtc
73 77
74 #endif // WEBRTC_TEST_FAKE_DECODER_H_ 78 #endif // WEBRTC_TEST_FAKE_DECODER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_receiver.cc ('k') | webrtc/test/fake_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698