diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-16 04:17:00 +0300 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-16 04:17:00 +0300 |
commit | 4693b031a3717658a1c0b4351887d557d0684ec4 (patch) | |
tree | e5c48b3091acc4599508dc3e4f2c8eeeb776bed0 /libavcodec/h264.h | |
parent | f5beb9a8a138cac0b70b40ebe31f55ae479089ce (diff) |
Move H264 dsputil functions into their own struct
This moves the H264-specific functions from DSPContext to the new
H264DSPContext. The code is made conditional on CONFIG_H264DSP
which is set by the codecs requiring it.
The qpel and chroma MC functions are not moved as these are used by
non-h264 code.
Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 479ade9074..965e39d9bd 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -32,6 +32,7 @@ #include "dsputil.h" #include "cabac.h" #include "mpegvideo.h" +#include "h264dsp.h" #include "h264pred.h" #include "rectangle.h" @@ -262,6 +263,7 @@ typedef struct MMCO{ */ typedef struct H264Context{ MpegEncContext s; + H264DSPContext h264dsp; int chroma_qp[2]; //QPc int qp_thresh; ///< QP threshold to skip loopfilter |