|
FFmpeg
|
H.264 parameter set handling. More...
#include <stdint.h>#include "libavutil/pixfmt.h"#include "libavutil/rational.h"#include "avcodec.h"#include "get_bits.h"#include "h264.h"#include "h2645_vui.h"Go to the source code of this file.
Data Structures | |
| struct | SPS |
| Sequence parameter set. More... | |
| struct | PPS |
| Picture parameter set. More... | |
| struct | H264ParamSets |
Macros | |
| #define | MAX_SPS_COUNT 32 |
| #define | MAX_PPS_COUNT 256 |
| #define | MAX_LOG2_MAX_FRAME_NUM (12 + 4) |
Functions | |
| int | ff_h264_get_profile (const SPS *sps) |
| compute profile from sps | |
| int | ff_h264_decode_seq_parameter_set (GetBitContext *gb, AVCodecContext *avctx, H264ParamSets *ps, int ignore_truncation) |
| Decode SPS. | |
| int | ff_h264_decode_picture_parameter_set (GetBitContext *gb, AVCodecContext *avctx, H264ParamSets *ps, int bit_length) |
| Decode PPS. | |
| void | ff_h264_ps_uninit (H264ParamSets *ps) |
| Uninit H264 param sets structure. | |
H.264 parameter set handling.
Definition in file h264_ps.h.
| #define MAX_SPS_COUNT 32 |
Definition at line 37 of file h264_ps.h.
Referenced by ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_h264_ps_uninit(), and h264_probe().
| #define MAX_PPS_COUNT 256 |
Definition at line 38 of file h264_ps.h.
Referenced by ff_h264_decode_picture_parameter_set(), ff_h264_ps_uninit(), h264_probe(), h264_slice_header_parse(), and parse_nal_units().
| #define MAX_LOG2_MAX_FRAME_NUM (12 + 4) |
Definition at line 39 of file h264_ps.h.
Referenced by decode_recovery_point(), and ff_h264_decode_seq_parameter_set().
| int ff_h264_get_profile | ( | const SPS * | sps | ) |
compute profile from sps
compute profile from sps
| sps | SPS |
Definition at line 533 of file h264_parse.c.
Referenced by h264_init_ps(), and parse_nal_units().
| int ff_h264_decode_seq_parameter_set | ( | GetBitContext * | gb, |
| AVCodecContext * | avctx, | ||
| H264ParamSets * | ps, | ||
| int | ignore_truncation ) |
Decode SPS.
Definition at line 284 of file h264_ps.c.
Referenced by decode_extradata_ps(), decode_nal_units(), and parse_nal_units().
| int ff_h264_decode_picture_parameter_set | ( | GetBitContext * | gb, |
| AVCodecContext * | avctx, | ||
| H264ParamSets * | ps, | ||
| int | bit_length ) |
Decode PPS.
Definition at line 698 of file h264_ps.c.
Referenced by decode_extradata_ps(), decode_nal_units(), and parse_nal_units().
| void ff_h264_ps_uninit | ( | H264ParamSets * | ps | ) |
Uninit H264 param sets structure.
Definition at line 270 of file h264_ps.c.
Referenced by h264_close(), and h264_decode_end().