diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-11-08 01:44:27 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-11-18 21:46:45 +0400 |
commit | 9f02d4ed0f72c017dba6fb71d5997c632aa52c08 (patch) | |
tree | d1a50870657b24c632b654496b550f044bccf1da /libavcodec/mpegvideo.h | |
parent | 158763312f97dd1cf635114c52c550800eda83d2 (diff) |
mjpegenc: yuvj444p support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index b04f3801c7..e242bbbd9a 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -451,7 +451,7 @@ typedef struct MpegEncContext { uint8_t *luma_dc_vlc_length; #define UNI_AC_ENC_INDEX(run,level) ((run)*128 + (level)) - int coded_score[8]; + int coded_score[12]; /** precomputed matrix (combine qscale and DCT renorm) */ int (*q_intra_matrix)[64]; @@ -676,7 +676,7 @@ typedef struct MpegEncContext { DCTELEM (*pblocks[12])[64]; DCTELEM (*block)[64]; ///< points to one of the following blocks - DCTELEM (*blocks)[8][64]; // for HQ mode we need to keep the best block + DCTELEM (*blocks)[12][64]; // for HQ mode we need to keep the best block int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch() #define SLICE_OK 0 #define SLICE_ERROR -1 |