Navigation
Unreal Engine C++ API Reference > Plugins > ElectraDecoders
Syntax
const TCHAR *const StartcodeToLength
Remarks
FVariant(int32) Value to add to the length of the decoding unit. Usually 4 to include the 32 bit length value replacing the start code in the length. If the start code is NOT to be replaced with the length then this element must NOT be returned as feature. A value of 0 still indicates replacement!
Indicates that the decoder wants format specific start codes in the input to be replaced with the length of the decoding unit. This is primarily for video decoders of the H.264 and H.265 family that use a 32 bit value of 0x00000001 to separate individual decoding units in a single input access unit. Some decoders want this value to be the length of the following decoding unit. The byte order is the same as the startcode, which is almost always big endian.