| 
    FFmpeg
    
   | 
 
#include "libavutil/imgutils.h"#include "golomb.h"#include "h2645_vui.h"#include "hevc_data.h"#include "hevc_ps.h"#include "refstruct.h"Go to the source code of this file.
Macros | |
| #define | check_profile_idc(idc) ptl->profile_idc == idc || ptl->profile_compatibility_flag[idc] | 
| #define | CHECK_QP_OFFSET(name) | 
Variables | |
| static const uint8_t | default_scaling_list_intra [] | 
| static const uint8_t | default_scaling_list_inter [] | 
| static const uint8_t | hevc_sub_width_c [] | 
| static const uint8_t | hevc_sub_height_c [] | 
| #define check_profile_idc | ( | idc | ) | ptl->profile_idc == idc || ptl->profile_compatibility_flag[idc] | 
| #define CHECK_QP_OFFSET | ( | name | ) | 
      
  | 
  static | 
Definition at line 63 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps(), and remove_sps().
      
  | 
  static | 
Definition at line 70 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps(), and remove_vps().
      
  | 
  static | 
Definition at line 87 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_vps().
| int ff_hevc_decode_short_term_rps | ( | GetBitContext * | gb, | 
| AVCodecContext * | avctx, | ||
| ShortTermRPS * | rps, | ||
| const HEVCSPS * | sps, | ||
| int | is_slice_header | ||
| ) | 
Definition at line 101 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps(), and hls_slice_header().
      
  | 
  static | 
Definition at line 243 of file hevc_ps.c.
Referenced by parse_ptl().
      
  | 
  static | 
Definition at line 319 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_vps(), and ff_hevc_parse_sps().
      
  | 
  static | 
Definition at line 359 of file hevc_ps.c.
Referenced by decode_hrd().
      
  | 
  static | 
Definition at line 377 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_decode_nal_vps().
      
  | 
  static | 
Definition at line 445 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_vps().
Definition at line 452 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_vps().
| int ff_hevc_decode_nal_vps | ( | GetBitContext * | gb, | 
| AVCodecContext * | avctx, | ||
| HEVCParamSets * | ps | ||
| ) | 
Definition at line 461 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
      
  | 
  static | 
Definition at line 597 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps().
      
  | 
  static | 
Definition at line 724 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps(), and ff_hevc_parse_sps().
      
  | 
  static | 
Definition at line 754 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps(), and ff_hevc_parse_sps().
      
  | 
  static | 
Definition at line 831 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps().
| int ff_hevc_parse_sps | ( | HEVCSPS * | sps, | 
| GetBitContext * | gb, | ||
| unsigned int * | sps_id, | ||
| int | apply_defdispwin, | ||
| const HEVCVPS *const * | vps_list, | ||
| AVCodecContext * | avctx | ||
| ) | 
Parse the SPS from the bitstream into the provided HEVCSPS struct.
| sps_id | the SPS id will be written here | 
| apply_defdispwin | if set 1, the default display window from the VUI will be applied to the video dimensions | 
| vps_list | if non-NULL, this function will validate that the SPS refers to an existing VPS | 
Definition at line 880 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps(), and generate_fake_vps().
| int ff_hevc_decode_nal_sps | ( | GetBitContext * | gb, | 
| AVCodecContext * | avctx, | ||
| HEVCParamSets * | ps, | ||
| int | apply_defdispwin | ||
| ) | 
Definition at line 1297 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
      
  | 
  static | 
Definition at line 1353 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
      
  | 
  static | 
Definition at line 1369 of file hevc_ps.c.
Referenced by colour_mapping_table().
      
  | 
  static | 
Definition at line 1406 of file hevc_ps.c.
Referenced by pps_multilayer_extension().
      
  | 
  static | 
Definition at line 1438 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
      
  | 
  static | 
Definition at line 1487 of file hevc_ps.c.
Referenced by pps_3d_extension().
      
  | 
  static | 
Definition at line 1509 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
      
  | 
  static | 
Definition at line 1533 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
      
  | 
  static | 
Definition at line 1573 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
      
  | 
  inlinestatic | 
| int ff_hevc_decode_nal_pps | ( | GetBitContext * | gb, | 
| AVCodecContext * | avctx, | ||
| HEVCParamSets * | ps | ||
| ) | 
Definition at line 1759 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
| void ff_hevc_ps_uninit | ( | HEVCParamSets * | ps | ) | 
Definition at line 2026 of file hevc_ps.c.
Referenced by hevc_decode_free(), and hevc_parser_close().
Compute POC of the current frame and return it.
Definition at line 2042 of file hevc_ps.c.
Referenced by hevc_parse_slice_header(), and hls_slice_header().
      
  | 
  static | 
Definition at line 33 of file hevc_ps.c.
Referenced by set_default_scaling_list_data().
      
  | 
  static | 
Definition at line 44 of file hevc_ps.c.
Referenced by set_default_scaling_list_data().
      
  | 
  static | 
Definition at line 55 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_parse_sps().
      
  | 
  static | 
Definition at line 59 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_parse_sps().
 1.8.17