MythTV  master
Macros | Functions
HEVCParser.cpp File Reference
#include "HEVCParser.h"
#include <iostream>
#include "mythlogging.h"
#include "recorders/dtvrecorder.h"
#include "libavcodec/avcodec.h"
#include "libavutil/internal.h"
#include "libavcodec/golomb.h"
#include <cmath>
#include <strings.h>
Include dependency graph for HEVCParser.cpp:

Go to the source code of this file.


#define LOC   "HEVCParser "


static uint ceil_log2 (uint32_t v)
static bool getScalingListParams (uint8_t sizeId, uint8_t matrixId, HEVCParser::ScalingList &dest_scaling_list, uint8_t *&sl, uint8_t &size, std::vector< int16_t > &scaling_list_dc_coef_minus8)
static bool scalingListData (GetBitContext *gb, HEVCParser::ScalingList &dest_scaling_list, bool use_default)
static bool shortTermRefPicSet (GetBitContext *gb, int stRPSIdx, int num_short_term_ref_pic_sets, std::array< HEVCParser::ShortTermRefPicSet, 65 > &stRPS, uint8_t max_dec_pic_buffering_minus1)

Macro Definition Documentation


#define LOC   "HEVCParser "

Definition at line 18 of file HEVCParser.cpp.

Function Documentation

◆ ceil_log2()

static uint ceil_log2 ( uint32_t  v)

Definition at line 27 of file HEVCParser.cpp.

Referenced by HEVCParser::parseSliceSegmentHeader().

◆ getScalingListParams()

static bool getScalingListParams ( uint8_t  sizeId,
uint8_t  matrixId,
HEVCParser::ScalingList dest_scaling_list,
uint8_t *&  sl,
uint8_t &  size,
std::vector< int16_t > &  scaling_list_dc_coef_minus8 

Definition at line 884 of file HEVCParser.cpp.

Referenced by scalingListData().

◆ scalingListData()

static bool scalingListData ( GetBitContext *  gb,
HEVCParser::ScalingList dest_scaling_list,
bool  use_default 

Definition at line 921 of file HEVCParser.cpp.

Referenced by HEVCParser::parseSPS().

◆ shortTermRefPicSet()

static bool shortTermRefPicSet ( GetBitContext *  gb,
int  stRPSIdx,
int  num_short_term_ref_pic_sets,
std::array< HEVCParser::ShortTermRefPicSet, 65 > &  stRPS,
uint8_t  max_dec_pic_buffering_minus1 

Definition at line 1059 of file HEVCParser.cpp.

Referenced by HEVCParser::parseSliceSegmentHeader(), and HEVCParser::parseSPS().