Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ICCBitstreamParser.h File Reference
#include <cstdint>
#include <vector>

Classes

class  ICCBitstreamParser
 Base interface for codec-specific closed caption bitstream parsers. More...
 

Enumerations

enum class  CCBitstreamFormat { ANNEXB , AVCC }
 H.264/MPEG2 bitstream format for NAL unit framing. More...
 
enum class  CCPictureType { INVALID = -1 , OTHER = 0 , I_FRAME = 1 , P_FRAME = 2 }
 Picture type for determining when to decode closed caption data. More...
 

Enumeration Type Documentation

◆ CCBitstreamFormat

enum class CCBitstreamFormat
strong

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

enum class CCPictureType
strong

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.