diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-03-21 16:14:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-04-24 10:06:23 +0200 |
commit | a6e27f7add2698fdd89911632b570c3d0c3f2aaa (patch) | |
tree | 8e345bf225e923c9c8fc0e68809dd28b8aa27ad7 /libavcodec/h264_parse.h | |
parent | 56b17a33f231859cbccbd741b4763617cb4ecf03 (diff) | |
download | ffmpeg-a6e27f7add2698fdd89911632b570c3d0c3f2aaa.tar.gz |
h264: factor out parsing the reference count into a separate file
This will allow decoupling the parser from the decoder.
Diffstat (limited to 'libavcodec/h264_parse.h')
-rw-r--r-- | libavcodec/h264_parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h264_parse.h b/libavcodec/h264_parse.h index 9b96dc47a0..23676b36c7 100644 --- a/libavcodec/h264_parse.h +++ b/libavcodec/h264_parse.h @@ -40,6 +40,7 @@ typedef struct H264PredWeightTable { } H264PredWeightTable; struct SPS; +struct PPS; int ff_h264_pred_weight_table(GetBitContext *gb, const struct SPS *sps, const int *ref_count, int slice_type_nos, @@ -60,4 +61,8 @@ int ff_h264_check_intra_pred_mode(void *logctx, int top_samples_available, int left_samples_available, int mode, int is_chroma); +int ff_h264_parse_ref_count(int *plist_count, int ref_count[2], + GetBitContext *gb, const struct PPS *pps, + int slice_type_nos, int picture_structure); + #endif /* AVCODEC_H264_PARSE_H */ |