]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264.h
vaapi: mpeg2: fix slice_vertical_position calculation.
[ffmpeg] / libavcodec / h264.h
index 50255389fa81467c4cda7b2e18008d08e50e202e..ce06f613cd815967b24eae1126939632bc5f2ecd 100644 (file)
@@ -584,6 +584,7 @@ typedef struct H264Context{
 
 
 extern const uint8_t ff_h264_chroma_qp[3][QP_MAX_NUM+1]; ///< One chroma qp table for each supported bit depth (8, 9, 10).
+extern const uint16_t ff_h264_mb_sizes[4];
 
 /**
  * Decode SEI
@@ -657,13 +658,12 @@ int ff_h264_check_intra4x4_pred_mode(H264Context *h);
 /**
  * Check if the top & left blocks are available if needed & change the dc mode so it only uses the available blocks.
  */
-int ff_h264_check_intra_pred_mode(H264Context *h, int mode);
+int ff_h264_check_intra_pred_mode(H264Context *h, int mode, int is_chroma);
 
 void ff_h264_hl_decode_mb(H264Context *h);
 int ff_h264_frame_start(H264Context *h);
 int ff_h264_decode_extradata(H264Context *h);
 av_cold int ff_h264_decode_init(AVCodecContext *avctx);
-av_cold int ff_h264_decode_end(AVCodecContext *avctx);
 av_cold void ff_h264_decode_init_vlc(void);
 
 /**