#include <cstdint>
#include <vector>
◆ CCBitstreamFormat
H.264/MPEG2 bitstream format for NAL unit framing.
| Enumerator |
|---|
| ANNEXB | Annex B format with start codes (0x000001 or 0x00000001)
|
| AVCC | AVCC format with length-prefixed NAL units (MP4/MKV)
|
◆ CCPictureType
Picture type for determining when to decode closed caption data.
CC data is decoded on reference frames (I/P) to ensure correct temporal ordering, as B-frames may be reordered during video decoding.
| Enumerator |
|---|
| INVALID | Corrupted/malformed frame - parsing error detected.
|
| OTHER | B-frame or frame type that doesn't require CC processing.
|
| I_FRAME | I-frame (Intra-coded picture) - keyframe.
|
| P_FRAME | P-frame (Predicted picture) - forward prediction.
|