MythTV  master
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
H264Parser Class Reference

#include <H264Parser.h>

Public Types

enum  { MAX_SLICE_HEADER_SIZE = 256 }
 
enum  NAL_unit_type {
  UNKNOWN = 0, SLICE = 1, SLICE_DPA = 2, SLICE_DPB = 3,
  SLICE_DPC = 4, SLICE_IDR = 5, SEI = 6, SPS = 7,
  PPS = 8, AU_DELIMITER = 9, END_SEQUENCE = 10, END_STREAM = 11,
  FILLER_DATA = 12, SPS_EXT = 13, NALU_prefix = 14, SPS_subset = 15,
  AUXILIARY_SLICE = 19, SLICE_EXTENSION = 20
}
 
enum  SEI_type { SEI_TYPE_PIC_TIMING = 1, SEI_FILLER_PAYLOAD = 3, SEI_TYPE_USER_DATA_UNREGISTERED = 5, SEI_TYPE_RECOVERY_POINT = 6 }
 
enum  SLICE_type {
  SLICE_P = 0, SLICE_B = 1, SLICE_I = 2, SLICE_SP = 3,
  SLICE_SI = 4, SLICE_P_a = 5, SLICE_B_a = 6, SLICE_I_a = 7,
  SLICE_SP_a = 8, SLICE_SI_a = 9, SLICE_UNDEF = 10
}
 
enum  frame_type { FRAME = 'F', FIELD_TOP = 'T', FIELD_BOTTOM = 'B' }
 

Public Member Functions

 H264Parser (void)
 
 H264Parser (const H264Parser &rhs)
 
 ~H264Parser (void)
 
uint32_t addBytes (const uint8_t *bytes, const uint32_t byte_count, const uint64_t stream_offset)
 
void Reset (void)
 
QString NAL_type_str (uint8_t type)
 
bool stateChanged (void) const
 
uint8_t lastNALtype (void) const
 
frame_type FieldType (void) const
 
bool onFrameStart (void) const
 
bool onKeyFrameStart (void) const
 
uint pictureWidth (void) const
 
uint pictureHeight (void) const
 
uint pictureWidthCropped (void) const
 
uint pictureHeightCropped (void) const
 
uint aspectRatio (void) const
 Computes aspect ratio from picture size and sample aspect ratio. More...
 
double frameRate (void) const
 
void getFrameRate (FrameRate &result) const
 
uint64_t frameAUstreamOffset (void) const
 
uint64_t keyframeAUstreamOffset (void) const
 
uint64_t SPSstreamOffset (void) const
 
void use_I_forKeyframes (bool val)
 
bool using_I_forKeyframes (void) const
 
uint32_t GetTimeScale (void) const
 
uint32_t GetUnitsInTick (void) const
 
void parse_SPS (uint8_t *sps, uint32_t sps_size, bool &interlaced, int32_t &max_ref_frames)
 
void reset_SPS (void)
 
bool seen_SPS (void) const
 
bool found_AU (void) const
 

Static Public Member Functions

static bool isKeySlice (uint slice_type)
 
static bool NALisSlice (uint8_t nal_type)
 

Private Types

enum  constants { EXTENDED_SAR = 255 }
 

Private Member Functions

void set_AU_pending (void)
 
bool new_AU (void)
 
void resetRBSP (void)
 
bool fillRBSP (const uint8_t *byteP, uint32_t byte_count, bool found_start_code)
 
void processRBSP (bool rbsp_complete)
 
bool decode_Header (GetBitContext *gb)
 
void decode_SPS (GetBitContext *gb)
 
void decode_PPS (GetBitContext *gb)
 
void decode_SEI (GetBitContext *gb)
 
void vui_parameters (GetBitContext *gb)
 

Private Attributes

bool AU_pending
 
bool state_changed
 
bool seen_sps
 
bool au_contains_keyframe_message
 
bool is_keyframe
 
bool I_is_keyframe
 
uint32_t sync_accumulator
 
uint8_t * rbsp_buffer
 
uint32_t rbsp_buffer_size
 
uint32_t rbsp_index
 
uint32_t consecutive_zeros
 
bool have_unfinished_NAL
 
int prev_frame_num
 
int frame_num
 
uint slice_type
 
int prev_pic_parameter_set_id
 
int pic_parameter_set_id
 
int8_t prev_field_pic_flag
 
int8_t field_pic_flag
 
int8_t prev_bottom_field_flag
 
int8_t bottom_field_flag
 
uint8_t prev_nal_ref_idc
 
uint8_t nal_ref_idc
 
uint8_t prev_pic_order_cnt_type
 
uint8_t pic_order_cnt_type
 
int prev_pic_order_cnt_lsb
 
int pic_order_cnt_lsb
 
int prev_delta_pic_order_cnt_bottom
 
int delta_pic_order_cnt_bottom
 
int prev_delta_pic_order_cnt [2]
 
int delta_pic_order_cnt [2]
 
uint8_t prev_nal_unit_type
 
uint8_t nal_unit_type
 
uint prev_idr_pic_id
 
uint idr_pic_id
 
uint log2_max_frame_num
 
uint log2_max_pic_order_cnt_lsb
 
uint seq_parameter_set_id
 
uint8_t delta_pic_order_always_zero_flag
 
uint8_t separate_colour_plane_flag
 
int8_t frame_mbs_only_flag
 
int8_t pic_order_present_flag
 
int8_t redundant_pic_cnt_present_flag
 
int8_t chroma_format_idc
 
uint num_ref_frames
 
uint redundant_pic_cnt
 
uint pic_width
 
uint pic_height
 
uint frame_crop_left_offset
 
uint frame_crop_right_offset
 
uint frame_crop_top_offset
 
uint frame_crop_bottom_offset
 
uint8_t aspect_ratio_idc
 
uint sar_width
 
uint sar_height
 
uint32_t unitsInTick
 
uint32_t timeScale
 
bool fixedRate
 
uint64_t pkt_offset
 
uint64_t AU_offset
 
uint64_t frame_start_offset
 
uint64_t keyframe_start_offset
 
uint64_t SPS_offset
 
bool on_frame
 
bool on_key_frame
 

Detailed Description

Definition at line 68 of file H264Parser.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_SLICE_HEADER_SIZE 

Definition at line 71 of file H264Parser.h.

◆ NAL_unit_type

Enumerator
UNKNOWN 
SLICE 
SLICE_DPA 
SLICE_DPB 
SLICE_DPC 
SLICE_IDR 
SEI 
SPS 
PPS 
AU_DELIMITER 
END_SEQUENCE 
END_STREAM 
FILLER_DATA 
SPS_EXT 
NALU_prefix 
SPS_subset 
AUXILIARY_SLICE 
SLICE_EXTENSION 

Definition at line 76 of file H264Parser.h.

◆ SEI_type

Enumerator
SEI_TYPE_PIC_TIMING 
SEI_FILLER_PAYLOAD 
SEI_TYPE_USER_DATA_UNREGISTERED 
SEI_TYPE_RECOVERY_POINT 

Definition at line 97 of file H264Parser.h.

◆ SLICE_type

Enumerator
SLICE_P 
SLICE_B 
SLICE_I 
SLICE_SP 
SLICE_SI 
SLICE_P_a 
SLICE_B_a 
SLICE_I_a 
SLICE_SP_a 
SLICE_SI_a 
SLICE_UNDEF 

Definition at line 111 of file H264Parser.h.

◆ frame_type

Enumerator
FRAME 
FIELD_TOP 
FIELD_BOTTOM 

Definition at line 125 of file H264Parser.h.

◆ constants

enum H264Parser::constants
private
Enumerator
EXTENDED_SAR 

Definition at line 204 of file H264Parser.h.

Constructor & Destructor Documentation

◆ H264Parser() [1/2]

H264Parser::H264Parser ( void  )

Definition at line 93 of file H264Parser.cpp.

◆ H264Parser() [2/2]

H264Parser::H264Parser ( const H264Parser rhs)

◆ ~H264Parser()

H264Parser::~H264Parser ( void  )
inline

Definition at line 133 of file H264Parser.h.

Member Function Documentation

◆ addBytes()

uint32_t H264Parser::addBytes ( const uint8_t *  bytes,
const uint32_t  byte_count,
const uint64_t  stream_offset 
)

◆ Reset()

void H264Parser::Reset ( void  )

◆ NAL_type_str()

QString H264Parser::NAL_type_str ( uint8_t  type)

Definition at line 161 of file H264Parser.cpp.

◆ stateChanged()

bool H264Parser::stateChanged ( void  ) const
inline

◆ lastNALtype()

uint8_t H264Parser::lastNALtype ( void  ) const
inline

Definition at line 144 of file H264Parser.h.

◆ FieldType()

frame_type H264Parser::FieldType ( void  ) const
inline

◆ onFrameStart()

bool H264Parser::onFrameStart ( void  ) const
inline

◆ onKeyFrameStart()

bool H264Parser::onKeyFrameStart ( void  ) const
inline

◆ pictureWidth()

uint H264Parser::pictureWidth ( void  ) const
inline

Definition at line 157 of file H264Parser.h.

Referenced by DTVRecorder::FindH264Keyframes(), and get_aspect().

◆ pictureHeight()

uint H264Parser::pictureHeight ( void  ) const
inline

Definition at line 158 of file H264Parser.h.

Referenced by DTVRecorder::FindH264Keyframes(), and get_aspect().

◆ pictureWidthCropped()

uint H264Parser::pictureWidthCropped ( void  ) const

Definition at line 1416 of file H264Parser.cpp.

Referenced by aspectRatio(), and AvFormatDecoder::H264PreProcessPkt().

◆ pictureHeightCropped()

uint H264Parser::pictureHeightCropped ( void  ) const

Definition at line 1428 of file H264Parser.cpp.

Referenced by aspectRatio(), and AvFormatDecoder::H264PreProcessPkt().

◆ aspectRatio()

uint H264Parser::aspectRatio ( void  ) const

Computes aspect ratio from picture size and sample aspect ratio.

Definition at line 1319 of file H264Parser.cpp.

Referenced by DTVRecorder::FindH264Keyframes(), and get_aspect().

◆ frameRate()

double H264Parser::frameRate ( void  ) const

Definition at line 1298 of file H264Parser.cpp.

Referenced by AvFormatDecoder::H264PreProcessPkt().

◆ getFrameRate()

void H264Parser::getFrameRate ( FrameRate result) const

Definition at line 1309 of file H264Parser.cpp.

Referenced by DTVRecorder::FindH264Keyframes().

◆ frameAUstreamOffset()

uint64_t H264Parser::frameAUstreamOffset ( void  ) const
inline

Definition at line 168 of file H264Parser.h.

◆ keyframeAUstreamOffset()

uint64_t H264Parser::keyframeAUstreamOffset ( void  ) const
inline

◆ SPSstreamOffset()

uint64_t H264Parser::SPSstreamOffset ( void  ) const
inline

Definition at line 170 of file H264Parser.h.

◆ isKeySlice()

static bool H264Parser::isKeySlice ( uint  slice_type)
inlinestatic

Definition at line 173 of file H264Parser.h.

Referenced by decode_Header().

◆ NALisSlice()

static bool H264Parser::NALisSlice ( uint8_t  nal_type)
inlinestatic

Definition at line 181 of file H264Parser.h.

Referenced by addBytes(), and processRBSP().

◆ use_I_forKeyframes()

void H264Parser::use_I_forKeyframes ( bool  val)
inline

Definition at line 188 of file H264Parser.h.

Referenced by V4L2encRecorder::Open(), and AvFormatDecoder::SetIdrOnlyKeyframes().

◆ using_I_forKeyframes()

bool H264Parser::using_I_forKeyframes ( void  ) const
inline

Definition at line 189 of file H264Parser.h.

◆ GetTimeScale()

uint32_t H264Parser::GetTimeScale ( void  ) const
inline

Definition at line 191 of file H264Parser.h.

Referenced by DTVRecorder::FindH264Keyframes().

◆ GetUnitsInTick()

uint32_t H264Parser::GetUnitsInTick ( void  ) const
inline

Definition at line 193 of file H264Parser.h.

Referenced by DTVRecorder::FindH264Keyframes().

◆ parse_SPS()

void H264Parser::parse_SPS ( uint8_t *  sps,
uint32_t  sps_size,
bool interlaced,
int32_t &  max_ref_frames 
)

Definition at line 1016 of file H264Parser.cpp.

Referenced by PrivateDecoderVDA::Init().

◆ reset_SPS()

void H264Parser::reset_SPS ( void  )
inline

Definition at line 198 of file H264Parser.h.

◆ seen_SPS()

bool H264Parser::seen_SPS ( void  ) const
inline

Definition at line 199 of file H264Parser.h.

◆ found_AU()

bool H264Parser::found_AU ( void  ) const
inline

Definition at line 201 of file H264Parser.h.

◆ set_AU_pending()

void H264Parser::set_AU_pending ( void  )
inlineprivate

Definition at line 206 of file H264Parser.h.

Referenced by addBytes(), and processRBSP().

◆ new_AU()

bool H264Parser::new_AU ( void  )
private

Definition at line 197 of file H264Parser.cpp.

Referenced by processRBSP().

◆ resetRBSP()

void H264Parser::resetRBSP ( void  )
private

Definition at line 317 of file H264Parser.cpp.

Referenced by addBytes(), and Reset().

◆ fillRBSP()

bool H264Parser::fillRBSP ( const uint8_t *  byteP,
uint32_t  byte_count,
bool  found_start_code 
)
private

Definition at line 324 of file H264Parser.cpp.

Referenced by addBytes().

◆ processRBSP()

void H264Parser::processRBSP ( bool  rbsp_complete)
private

Definition at line 534 of file H264Parser.cpp.

Referenced by addBytes().

◆ decode_Header()

bool H264Parser::decode_Header ( GetBitContext *  gb)
private

Definition at line 615 of file H264Parser.cpp.

Referenced by processRBSP().

◆ decode_SPS()

void H264Parser::decode_SPS ( GetBitContext *  gb)
private

Definition at line 811 of file H264Parser.cpp.

Referenced by parse_SPS(), and processRBSP().

◆ decode_PPS()

void H264Parser::decode_PPS ( GetBitContext *  gb)
private

Definition at line 1026 of file H264Parser.cpp.

Referenced by processRBSP().

◆ decode_SEI()

void H264Parser::decode_SEI ( GetBitContext *  gb)
private

Definition at line 1101 of file H264Parser.cpp.

Referenced by processRBSP().

◆ vui_parameters()

void H264Parser::vui_parameters ( GetBitContext *  gb)
private

Definition at line 1149 of file H264Parser.cpp.

Referenced by decode_SPS().

Member Data Documentation

◆ AU_pending

bool H264Parser::AU_pending
private

Definition at line 227 of file H264Parser.h.

Referenced by found_AU(), processRBSP(), Reset(), and set_AU_pending().

◆ state_changed

bool H264Parser::state_changed
private

Definition at line 228 of file H264Parser.h.

Referenced by addBytes(), processRBSP(), Reset(), and stateChanged().

◆ seen_sps

bool H264Parser::seen_sps
private

Definition at line 229 of file H264Parser.h.

Referenced by decode_SPS(), processRBSP(), Reset(), reset_SPS(), and seen_SPS().

◆ au_contains_keyframe_message

bool H264Parser::au_contains_keyframe_message
private

Definition at line 230 of file H264Parser.h.

Referenced by decode_SEI(), H264Parser(), processRBSP(), and set_AU_pending().

◆ is_keyframe

bool H264Parser::is_keyframe
private

Definition at line 231 of file H264Parser.h.

Referenced by decode_Header(), processRBSP(), and Reset().

◆ I_is_keyframe

bool H264Parser::I_is_keyframe
private

Definition at line 232 of file H264Parser.h.

Referenced by decode_Header(), H264Parser(), use_I_forKeyframes(), and using_I_forKeyframes().

◆ sync_accumulator

uint32_t H264Parser::sync_accumulator
private

Definition at line 234 of file H264Parser.h.

Referenced by addBytes(), and Reset().

◆ rbsp_buffer

uint8_t* H264Parser::rbsp_buffer
private

Definition at line 235 of file H264Parser.h.

Referenced by fillRBSP(), H264Parser(), processRBSP(), and ~H264Parser().

◆ rbsp_buffer_size

uint32_t H264Parser::rbsp_buffer_size
private

Definition at line 236 of file H264Parser.h.

Referenced by fillRBSP(), and H264Parser().

◆ rbsp_index

uint32_t H264Parser::rbsp_index
private

Definition at line 237 of file H264Parser.h.

Referenced by fillRBSP(), processRBSP(), and resetRBSP().

◆ consecutive_zeros

uint32_t H264Parser::consecutive_zeros
private

Definition at line 238 of file H264Parser.h.

Referenced by fillRBSP(), and resetRBSP().

◆ have_unfinished_NAL

bool H264Parser::have_unfinished_NAL
private

Definition at line 239 of file H264Parser.h.

Referenced by addBytes(), processRBSP(), and resetRBSP().

◆ prev_frame_num

int H264Parser::prev_frame_num
private

Definition at line 241 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ frame_num

int H264Parser::frame_num
private

Definition at line 241 of file H264Parser.h.

Referenced by decode_Header(), new_AU(), and Reset().

◆ slice_type

uint H264Parser::slice_type
private

Definition at line 242 of file H264Parser.h.

Referenced by decode_Header(), isKeySlice(), and Reset().

◆ prev_pic_parameter_set_id

int H264Parser::prev_pic_parameter_set_id
private

Definition at line 243 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ pic_parameter_set_id

int H264Parser::pic_parameter_set_id
private

Definition at line 243 of file H264Parser.h.

Referenced by decode_Header(), decode_PPS(), new_AU(), and Reset().

◆ prev_field_pic_flag

int8_t H264Parser::prev_field_pic_flag
private

Definition at line 244 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ field_pic_flag

int8_t H264Parser::field_pic_flag
private

Definition at line 244 of file H264Parser.h.

Referenced by decode_Header(), new_AU(), and Reset().

◆ prev_bottom_field_flag

int8_t H264Parser::prev_bottom_field_flag
private

Definition at line 245 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ bottom_field_flag

int8_t H264Parser::bottom_field_flag
private

Definition at line 245 of file H264Parser.h.

Referenced by decode_Header(), FieldType(), new_AU(), and Reset().

◆ prev_nal_ref_idc

uint8_t H264Parser::prev_nal_ref_idc
private

Definition at line 246 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ nal_ref_idc

uint8_t H264Parser::nal_ref_idc
private

Definition at line 246 of file H264Parser.h.

Referenced by addBytes(), new_AU(), and Reset().

◆ prev_pic_order_cnt_type

uint8_t H264Parser::prev_pic_order_cnt_type
private

Definition at line 247 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ pic_order_cnt_type

uint8_t H264Parser::pic_order_cnt_type
private

Definition at line 247 of file H264Parser.h.

Referenced by decode_Header(), decode_SPS(), new_AU(), and Reset().

◆ prev_pic_order_cnt_lsb

int H264Parser::prev_pic_order_cnt_lsb
private

Definition at line 248 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ pic_order_cnt_lsb

int H264Parser::pic_order_cnt_lsb
private

Definition at line 248 of file H264Parser.h.

Referenced by decode_Header(), new_AU(), and Reset().

◆ prev_delta_pic_order_cnt_bottom

int H264Parser::prev_delta_pic_order_cnt_bottom
private

Definition at line 249 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ delta_pic_order_cnt_bottom

int H264Parser::delta_pic_order_cnt_bottom
private

Definition at line 249 of file H264Parser.h.

Referenced by decode_Header(), new_AU(), and Reset().

◆ prev_delta_pic_order_cnt

int H264Parser::prev_delta_pic_order_cnt[2]
private

Definition at line 250 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ delta_pic_order_cnt

int H264Parser::delta_pic_order_cnt[2]
private

Definition at line 250 of file H264Parser.h.

Referenced by decode_Header(), new_AU(), and Reset().

◆ prev_nal_unit_type

uint8_t H264Parser::prev_nal_unit_type
private

Definition at line 251 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ nal_unit_type

uint8_t H264Parser::nal_unit_type
private

Definition at line 251 of file H264Parser.h.

Referenced by addBytes(), decode_Header(), lastNALtype(), new_AU(), processRBSP(), and Reset().

◆ prev_idr_pic_id

uint H264Parser::prev_idr_pic_id
private

Definition at line 252 of file H264Parser.h.

Referenced by new_AU(), and Reset().

◆ idr_pic_id

uint H264Parser::idr_pic_id
private

Definition at line 252 of file H264Parser.h.

Referenced by decode_Header(), new_AU(), and Reset().

◆ log2_max_frame_num

uint H264Parser::log2_max_frame_num
private

Definition at line 254 of file H264Parser.h.

Referenced by decode_Header(), decode_SPS(), and Reset().

◆ log2_max_pic_order_cnt_lsb

uint H264Parser::log2_max_pic_order_cnt_lsb
private

Definition at line 254 of file H264Parser.h.

Referenced by decode_Header(), decode_SPS(), and Reset().

◆ seq_parameter_set_id

uint H264Parser::seq_parameter_set_id
private

Definition at line 255 of file H264Parser.h.

Referenced by decode_PPS(), and Reset().

◆ delta_pic_order_always_zero_flag

uint8_t H264Parser::delta_pic_order_always_zero_flag
private

Definition at line 257 of file H264Parser.h.

Referenced by decode_Header(), decode_SPS(), and Reset().

◆ separate_colour_plane_flag

uint8_t H264Parser::separate_colour_plane_flag
private

◆ frame_mbs_only_flag

int8_t H264Parser::frame_mbs_only_flag
private

Definition at line 259 of file H264Parser.h.

Referenced by decode_Header(), decode_SPS(), parse_SPS(), pictureHeightCropped(), and Reset().

◆ pic_order_present_flag

int8_t H264Parser::pic_order_present_flag
private

Definition at line 260 of file H264Parser.h.

Referenced by decode_Header(), decode_PPS(), and Reset().

◆ redundant_pic_cnt_present_flag

int8_t H264Parser::redundant_pic_cnt_present_flag
private

Definition at line 261 of file H264Parser.h.

Referenced by decode_Header(), decode_PPS(), and Reset().

◆ chroma_format_idc

int8_t H264Parser::chroma_format_idc
private

Definition at line 262 of file H264Parser.h.

Referenced by decode_SPS(), pictureHeightCropped(), pictureWidthCropped(), and Reset().

◆ num_ref_frames

uint H264Parser::num_ref_frames
private

Definition at line 264 of file H264Parser.h.

Referenced by decode_SPS(), parse_SPS(), and Reset().

◆ redundant_pic_cnt

uint H264Parser::redundant_pic_cnt
private

Definition at line 265 of file H264Parser.h.

Referenced by decode_Header(), and Reset().

◆ pic_width

uint H264Parser::pic_width
private

Definition at line 267 of file H264Parser.h.

Referenced by decode_SPS(), pictureWidth(), pictureWidthCropped(), and Reset().

◆ pic_height

uint H264Parser::pic_height
private

Definition at line 267 of file H264Parser.h.

Referenced by aspectRatio(), decode_SPS(), pictureHeight(), pictureHeightCropped(), and Reset().

◆ frame_crop_left_offset

uint H264Parser::frame_crop_left_offset
private

Definition at line 268 of file H264Parser.h.

Referenced by decode_SPS(), and Reset().

◆ frame_crop_right_offset

uint H264Parser::frame_crop_right_offset
private

Definition at line 269 of file H264Parser.h.

Referenced by decode_SPS(), pictureWidthCropped(), and Reset().

◆ frame_crop_top_offset

uint H264Parser::frame_crop_top_offset
private

Definition at line 270 of file H264Parser.h.

Referenced by decode_SPS(), and Reset().

◆ frame_crop_bottom_offset

uint H264Parser::frame_crop_bottom_offset
private

Definition at line 271 of file H264Parser.h.

Referenced by decode_SPS(), pictureHeightCropped(), and Reset().

◆ aspect_ratio_idc

uint8_t H264Parser::aspect_ratio_idc
private

Definition at line 272 of file H264Parser.h.

Referenced by aspectRatio(), Reset(), and vui_parameters().

◆ sar_width

uint H264Parser::sar_width
private

Definition at line 273 of file H264Parser.h.

Referenced by aspectRatio(), Reset(), and vui_parameters().

◆ sar_height

uint H264Parser::sar_height
private

Definition at line 273 of file H264Parser.h.

Referenced by aspectRatio(), Reset(), and vui_parameters().

◆ unitsInTick

uint32_t H264Parser::unitsInTick
private

Definition at line 274 of file H264Parser.h.

Referenced by frameRate(), getFrameRate(), GetUnitsInTick(), Reset(), and vui_parameters().

◆ timeScale

uint32_t H264Parser::timeScale
private

Definition at line 274 of file H264Parser.h.

Referenced by frameRate(), getFrameRate(), GetTimeScale(), Reset(), and vui_parameters().

◆ fixedRate

bool H264Parser::fixedRate
private

Definition at line 275 of file H264Parser.h.

Referenced by Reset(), and vui_parameters().

◆ pkt_offset

uint64_t H264Parser::pkt_offset
private

Definition at line 277 of file H264Parser.h.

Referenced by addBytes(), processRBSP(), Reset(), and set_AU_pending().

◆ AU_offset

uint64_t H264Parser::AU_offset
private

Definition at line 277 of file H264Parser.h.

Referenced by processRBSP(), Reset(), and set_AU_pending().

◆ frame_start_offset

uint64_t H264Parser::frame_start_offset
private

Definition at line 277 of file H264Parser.h.

Referenced by frameAUstreamOffset(), processRBSP(), and Reset().

◆ keyframe_start_offset

uint64_t H264Parser::keyframe_start_offset
private

Definition at line 277 of file H264Parser.h.

Referenced by keyframeAUstreamOffset(), processRBSP(), and Reset().

◆ SPS_offset

uint64_t H264Parser::SPS_offset
private

Definition at line 278 of file H264Parser.h.

Referenced by processRBSP(), Reset(), and SPSstreamOffset().

◆ on_frame

bool H264Parser::on_frame
private

Definition at line 279 of file H264Parser.h.

Referenced by addBytes(), onFrameStart(), processRBSP(), and Reset().

◆ on_key_frame

bool H264Parser::on_key_frame
private

Definition at line 279 of file H264Parser.h.

Referenced by addBytes(), onKeyFrameStart(), processRBSP(), and Reset().


The documentation for this class was generated from the following files: