]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264pred.h
Cosmetics: Pretty print the AAC encoder.
[ffmpeg] / libavcodec / h264pred.h
index dae0d81cc2e298408dc5a0d9e6bc6e533f6f528d..32e9fb1531f5cb2cf9c022b2929f7e28b10c34e7 100644 (file)
  */
 
 /**
- * @file h264pred.h
+ * @file libavcodec/h264pred.h
  * H.264 / AVC / MPEG4 prediction functions.
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
-#ifndef FFMPEG_H264PRED_H
-#define FFMPEG_H264PRED_H
+#ifndef AVCODEC_H264PRED_H
+#define AVCODEC_H264PRED_H
 
 #include "libavutil/common.h"
+#include "dsputil.h"
 
 /**
  * Prediction types
@@ -75,8 +76,13 @@ typedef struct H264PredContext{
     void (*pred8x8l [9+3])(uint8_t *src, int topleft, int topright, int stride);
     void (*pred8x8  [4+3+4])(uint8_t *src, int stride);
     void (*pred16x16[4+3])(uint8_t *src, int stride);
+
+    void (*pred4x4_add  [2])(uint8_t *pix/*align  4*/, const DCTELEM *block/*align 16*/, int stride);
+    void (*pred8x8l_add [2])(uint8_t *pix/*align  8*/, const DCTELEM *block/*align 16*/, int stride);
+    void (*pred8x8_add  [3])(uint8_t *pix/*align  8*/, const int *block_offset, const DCTELEM *block/*align 16*/, int stride);
+    void (*pred16x16_add[3])(uint8_t *pix/*align 16*/, const int *block_offset, const DCTELEM *block/*align 16*/, int stride);
 }H264PredContext;
 
 void ff_h264_pred_init(H264PredContext *h, int codec_id);
 
-#endif /* FFMPEG_H264PRED_H */
+#endif /* AVCODEC_H264PRED_H */