|
|
@ -89,7 +89,7 @@ static inline int get_block_rate(MpegEncContext * s, DCTELEM block[64], int bloc |
|
|
|
* @param[in,out] block MB coefficients, these will be restored |
|
|
|
* @param[in,out] block MB coefficients, these will be restored |
|
|
|
* @param[in] dir ac prediction direction for each 8x8 block |
|
|
|
* @param[in] dir ac prediction direction for each 8x8 block |
|
|
|
* @param[out] st scantable for each 8x8 block |
|
|
|
* @param[out] st scantable for each 8x8 block |
|
|
|
* @param[in] zigzag_last_index index refering to the last non zero coefficient in zigzag order |
|
|
|
* @param[in] zigzag_last_index index referring to the last non zero coefficient in zigzag order |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
static inline void restore_ac_coeffs(MpegEncContext * s, DCTELEM block[6][64], const int dir[6], uint8_t *st[6], const int zigzag_last_index[6]) |
|
|
|
static inline void restore_ac_coeffs(MpegEncContext * s, DCTELEM block[6][64], const int dir[6], uint8_t *st[6], const int zigzag_last_index[6]) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -120,7 +120,7 @@ static inline void restore_ac_coeffs(MpegEncContext * s, DCTELEM block[6][64], c |
|
|
|
* @param[in,out] block MB coefficients, these will be updated if 1 is returned |
|
|
|
* @param[in,out] block MB coefficients, these will be updated if 1 is returned |
|
|
|
* @param[in] dir ac prediction direction for each 8x8 block |
|
|
|
* @param[in] dir ac prediction direction for each 8x8 block |
|
|
|
* @param[out] st scantable for each 8x8 block |
|
|
|
* @param[out] st scantable for each 8x8 block |
|
|
|
* @param[out] zigzag_last_index index refering to the last non zero coefficient in zigzag order |
|
|
|
* @param[out] zigzag_last_index index referring to the last non zero coefficient in zigzag order |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
static inline int decide_ac_pred(MpegEncContext * s, DCTELEM block[6][64], const int dir[6], uint8_t *st[6], int zigzag_last_index[6]) |
|
|
|
static inline int decide_ac_pred(MpegEncContext * s, DCTELEM block[6][64], const int dir[6], uint8_t *st[6], int zigzag_last_index[6]) |
|
|
|
{ |
|
|
|
{ |
|
|
|