MCPcopy Create free account
hub / github.com/Monibuca/engine / Assign

Method Assign

common/frame.go:153–170  ·  view source on GitHub ↗
(source *AVFrame)

Source from the content-addressed store, hash-verified

151}
152
153func (av *AVFrame) Assign(source *AVFrame) {
154 av.IFrame = source.IFrame
155 av.PTS = source.PTS
156 av.DTS = source.DTS
157 av.Timestamp = source.Timestamp
158 av.BytesIn = source.BytesIn
159 av.DeltaTime = source.DeltaTime
160 source.AUList.Range(func(au *util.BLL) bool {
161 var nau util.BLL
162 au.Range(func(b util.Buffer) bool {
163 nau.PushValue(b)
164 return true
165 })
166 nau.ByteLength = au.ByteLength
167 av.AUList.PushValue(&nau)
168 return true
169 })
170}
171
172type ParamaterSets [][]byte
173

Callers

nothing calls this directly

Calls 2

RangeMethod · 0.45
PushValueMethod · 0.45

Tested by

no test coverage detected