LeviLamina
Loading...
Searching...
No Matches
RtpPayloadParams.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RTPVideoHeader.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class EncodedImage; }
11namespace webrtc { class FieldTrialsView; }
12namespace webrtc { struct CodecSpecificInfo; }
13namespace webrtc { struct CodecSpecificInfoH264; }
14namespace webrtc { struct CodecSpecificInfoVP8; }
15namespace webrtc { struct CodecSpecificInfoVP9; }
16namespace webrtc { struct FrameDependencyStructure; }
17namespace webrtc { struct GenericFrameInfo; }
18namespace webrtc { struct RTPVideoHeader; }
19namespace webrtc { struct RtpPayloadState; }
20// clang-format on
21
22namespace webrtc {
23
25public:
26 // member variables
27 // NOLINTBEGIN
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 RtpPayloadParams& operator=(RtpPayloadParams const&);
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCNAPI ::webrtc::RTPVideoHeader::GenericDescriptorInfo
51
52 MCNAPI ::std::optional<::webrtc::FrameDependencyStructure>
53 GenericStructure(::webrtc::CodecSpecificInfo const* codec_specific_info);
54
55 MCNAPI void GenericToGeneric(int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader* rtp_video_header);
56
57 MCNAPI ::webrtc::RTPVideoHeader GetRtpVideoHeader(
58 ::webrtc::EncodedImage const& image,
59 ::webrtc::CodecSpecificInfo const* codec_specific_info,
60 ::std::optional<int64> shared_frame_id
61 );
62
63 MCNAPI void H264ToGeneric(
64 ::webrtc::CodecSpecificInfoH264 const& h264_info,
65 int64 frame_id,
66 bool is_keyframe,
67 ::webrtc::RTPVideoHeader* rtp_video_header
68 );
69
71
73
74 MCNAPI void SetCodecSpecific(::webrtc::RTPVideoHeader* rtp_video_header, bool first_frame_in_picture);
75
77 ::webrtc::CodecSpecificInfoVP8 const& vp8_info,
78 int64 frame_id,
79 bool is_keyframe,
80 int spatial_index,
81 int temporal_index,
82 bool layer_sync,
84 );
85
87 ::webrtc::CodecSpecificInfoVP8 const& vp8_info,
88 int64 frame_id,
89 bool is_keyframe,
90 bool layer_sync,
92 );
93
94 MCNAPI void SetGeneric(
95 ::webrtc::CodecSpecificInfo const* codec_specific_info,
96 int64 frame_id,
97 bool is_keyframe,
98 ::webrtc::RTPVideoHeader* rtp_video_header
99 );
100
101 MCNAPI void Vp8ToGeneric(
102 ::webrtc::CodecSpecificInfoVP8 const& vp8_info,
103 int64 frame_id,
104 bool is_keyframe,
105 ::webrtc::RTPVideoHeader* rtp_video_header
106 );
107
108 MCNAPI void Vp9ToGeneric(
109 ::webrtc::CodecSpecificInfoVP9 const& vp9_info,
110 int64 frame_id,
111 ::webrtc::RTPVideoHeader& rtp_video_header
112 );
113
114 MCNAPI uint ssrc() const;
115
116 MCNAPI ::webrtc::RtpPayloadState state() const;
117
119 // NOLINTEND
120
121public:
122 // constructor thunks
123 // NOLINTBEGIN
124 MCNAPI void* $ctor(::webrtc::RtpPayloadParams const&);
125
126 MCNAPI void* $ctor(uint ssrc, ::webrtc::RtpPayloadState const* state, ::webrtc::FieldTrialsView const& trials);
127 // NOLINTEND
128
129public:
130 // destructor thunk
131 // NOLINTBEGIN
132 MCNAPI void $dtor();
133 // NOLINTEND
134};
135
136} // namespace webrtc
Definition EncodedImage.h:12
Definition FieldTrialsView.h:7
Definition RtpPayloadParams.h:24
MCAPI::webrtc::RtpPayloadState state() const
MCAPI void SetCodecSpecific(::webrtc::RTPVideoHeader *rtp_video_header, bool first_frame_in_picture)
MCAPI void SetDependenciesVp8Deprecated(::webrtc::CodecSpecificInfoVP8 const &vp8_info, int64 frame_id, bool is_keyframe, int spatial_index, int temporal_index, bool layer_sync, ::webrtc::RTPVideoHeader::GenericDescriptorInfo *generic)
MCAPI RtpPayloadParams(::webrtc::RtpPayloadParams const &)
MCAPI void GenericToGeneric(int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader *rtp_video_header)
MCAPI void Vp9ToGeneric(::webrtc::CodecSpecificInfoVP9 const &vp9_info, int64 frame_id, ::webrtc::RTPVideoHeader &rtp_video_header)
MCAPI::webrtc::RTPVideoHeader GetRtpVideoHeader(::webrtc::EncodedImage const &image, ::webrtc::CodecSpecificInfo const *codec_specific_info, ::std::optional< int64 > shared_frame_id)
MCAPI uint ssrc() const
MCAPI ::std::optional<::webrtc::FrameDependencyStructure > GenericStructure(::webrtc::CodecSpecificInfo const *codec_specific_info)
MCAPI void H264ToGeneric(::webrtc::CodecSpecificInfoH264 const &h264_info, int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader *rtp_video_header)
MCAPI void SetDependenciesVp8New(::webrtc::CodecSpecificInfoVP8 const &vp8_info, int64 frame_id, bool is_keyframe, bool layer_sync, ::webrtc::RTPVideoHeader::GenericDescriptorInfo *generic)
MCAPI::webrtc::RTPVideoHeader::GenericDescriptorInfo GenericDescriptorFromFrameInfo(::webrtc::GenericFrameInfo const &frame_info, int64 frame_id)
MCAPI void * $ctor(uint ssrc, ::webrtc::RtpPayloadState const *state, ::webrtc::FieldTrialsView const &trials)
MCAPI RtpPayloadParams(uint ssrc, ::webrtc::RtpPayloadState const *state, ::webrtc::FieldTrialsView const &trials)
MCAPI void SetGeneric(::webrtc::CodecSpecificInfo const *codec_specific_info, int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader *rtp_video_header)
MCAPI void * $ctor(::webrtc::RtpPayloadParams const &)
MCAPI void Vp8ToGeneric(::webrtc::CodecSpecificInfoVP8 const &vp8_info, int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader *rtp_video_header)
Definition Alias.h:14
Definition CodecSpecificInfoH264.h:7
Definition CodecSpecificInfoVP8.h:7
Definition CodecSpecificInfoVP9.h:7
Definition CodecSpecificInfo.h:7
Definition GenericFrameInfo.h:10
Definition RTPVideoHeader.h:20
Definition RTPVideoHeader.h:12
Definition RtpPayloadState.h:7