|
|
@ -42,6 +42,7 @@ typedef struct IntraX8Context { |
|
|
|
int quant; |
|
|
|
int quant; |
|
|
|
int dquant; |
|
|
|
int dquant; |
|
|
|
int qsum; |
|
|
|
int qsum; |
|
|
|
|
|
|
|
int loopfilter; |
|
|
|
|
|
|
|
|
|
|
|
// calculated per frame
|
|
|
|
// calculated per frame
|
|
|
|
int quant_dc_chroma; |
|
|
|
int quant_dc_chroma; |
|
|
@ -78,14 +79,16 @@ void ff_intrax8_common_end(IntraX8Context *w); |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Decode single IntraX8 frame. |
|
|
|
* Decode single IntraX8 frame. |
|
|
|
* The parent codec must fill s->loopfilter and s->gb (bitstream). |
|
|
|
* The parent codec must fill s->gb (bitstream). |
|
|
|
* The parent codec must call ff_mpv_frame_start() before calling this function. |
|
|
|
* The parent codec must call ff_mpv_frame_start() before calling this function. |
|
|
|
* The parent codec must call ff_mpv_frame_end() after calling this function. |
|
|
|
* The parent codec must call ff_mpv_frame_end() after calling this function. |
|
|
|
* This function does not use ff_mpv_decode_mb(). |
|
|
|
* This function does not use ff_mpv_decode_mb(). |
|
|
|
* @param w pointer to IntraX8Context |
|
|
|
* @param w pointer to IntraX8Context |
|
|
|
* @param dquant doubled quantizer, it would be odd in case of VC-1 halfpq==1. |
|
|
|
* @param dquant doubled quantizer, it would be odd in case of VC-1 halfpq==1. |
|
|
|
* @param quant_offset offset away from zero |
|
|
|
* @param quant_offset offset away from zero |
|
|
|
|
|
|
|
* @param loopfilter enable filter after decoding a block |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
int ff_intrax8_decode_picture(IntraX8Context *w, int quant, int halfpq); |
|
|
|
int ff_intrax8_decode_picture(IntraX8Context *w, int quant, int halfpq, |
|
|
|
|
|
|
|
int loopfilter); |
|
|
|
|
|
|
|
|
|
|
|
#endif /* AVCODEC_INTRAX8_H */ |
|
|
|
#endif /* AVCODEC_INTRAX8_H */ |
|
|
|