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

Side by Side Diff: webrtc/video/video_stream_decoder.h

Issue 2772033002: Add content type information to encoded images and corresponding rtp extension header (Closed)
Patch Set: Fix typo, leading to failed video catpure test Created 3 years, 8 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/video/video_send_stream_tests.cc ('k') | webrtc/video/video_stream_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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 VCMFrameTypeCallback* vcm_frame_type_callback, 52 VCMFrameTypeCallback* vcm_frame_type_callback,
53 VCMPacketRequestCallback* vcm_packet_request_callback, 53 VCMPacketRequestCallback* vcm_packet_request_callback,
54 bool enable_nack, 54 bool enable_nack,
55 bool enable_fec, 55 bool enable_fec,
56 ReceiveStatisticsProxy* receive_statistics_proxy, 56 ReceiveStatisticsProxy* receive_statistics_proxy,
57 rtc::VideoSinkInterface<VideoFrame>* incoming_video_stream); 57 rtc::VideoSinkInterface<VideoFrame>* incoming_video_stream);
58 ~VideoStreamDecoder(); 58 ~VideoStreamDecoder();
59 59
60 // Implements VCMReceiveCallback. 60 // Implements VCMReceiveCallback.
61 int32_t FrameToRender(VideoFrame& video_frame, 61 int32_t FrameToRender(VideoFrame& video_frame,
62 rtc::Optional<uint8_t> qp) override; 62 rtc::Optional<uint8_t> qp,
63 VideoContentType content_type) override;
63 int32_t ReceivedDecodedReferenceFrame(const uint64_t picture_id) override; 64 int32_t ReceivedDecodedReferenceFrame(const uint64_t picture_id) override;
64 void OnIncomingPayloadType(int payload_type) override; 65 void OnIncomingPayloadType(int payload_type) override;
65 void OnDecoderImplementationName(const char* implementation_name) override; 66 void OnDecoderImplementationName(const char* implementation_name) override;
66 67
67 // Implements VCMReceiveStatisticsCallback. 68 // Implements VCMReceiveStatisticsCallback.
68 void OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) override; 69 void OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) override;
69 void OnDiscardedPacketsUpdated(int discarded_packets) override; 70 void OnDiscardedPacketsUpdated(int discarded_packets) override;
70 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; 71 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override;
71 void OnCompleteFrame(bool is_keyframe, size_t size_bytes) override; 72 void OnCompleteFrame(bool is_keyframe, size_t size_bytes) override;
72 void OnFrameBufferTimingsUpdated(int decode_ms, 73 void OnFrameBufferTimingsUpdated(int decode_ms,
(...skipping 18 matching lines...) Expand all
91 92
92 ReceiveStatisticsProxy* const receive_stats_callback_; 93 ReceiveStatisticsProxy* const receive_stats_callback_;
93 rtc::VideoSinkInterface<VideoFrame>* const incoming_video_stream_; 94 rtc::VideoSinkInterface<VideoFrame>* const incoming_video_stream_;
94 95
95 int64_t last_rtt_ms_ GUARDED_BY(crit_); 96 int64_t last_rtt_ms_ GUARDED_BY(crit_);
96 }; 97 };
97 98
98 } // namespace webrtc 99 } // namespace webrtc
99 100
100 #endif // WEBRTC_VIDEO_VIDEO_STREAM_DECODER_H_ 101 #endif // WEBRTC_VIDEO_VIDEO_STREAM_DECODER_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | webrtc/video/video_stream_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698