mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
Fix compiler warnings.
This commit is contained in:
parent
fede3d95b7
commit
96cfc84dd8
|
@ -96,7 +96,7 @@ void nal_write(FILE* output, uint8_t* buffer, uint32_t buffer_len, uint8_t nal_r
|
|||
\param stride Width of one row in the pixel array.
|
||||
\returns Void
|
||||
*/
|
||||
static void array_checksum(uint8_t* data, const int height, const int width, const int stride, unsigned char checksum_out[])
|
||||
static void array_checksum(const uint8_t* data, const int height, const int width, const int stride, unsigned char checksum_out[])
|
||||
{
|
||||
unsigned char mask;
|
||||
unsigned int checksum = 0;
|
||||
|
|
|
@ -68,6 +68,6 @@ enum {
|
|||
};
|
||||
|
||||
void nal_write(FILE* output, uint8_t* buffer, uint32_t buffer_len, uint8_t nal_ref, uint8_t nal_type, uint8_t temporal_id);
|
||||
void picture_checksum(const picture* pic, unsigned char* checksum_out);
|
||||
void picture_checksum(const picture* pic, unsigned char checksum_out[][16]);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -797,7 +797,9 @@ void quant(encoder_control* encoder, int16_t* pSrc, int16_t* pDes, int32_t iWidt
|
|||
uint32_t* scan = g_auiSigLastScan[ scanIdx ][ log2BlockSize - 1 ];
|
||||
//uint32_t scanIdx = SCAN_DIAG;
|
||||
|
||||
#if ENABLE_SIGN_HIDING == 1
|
||||
int32_t deltaU[LCU_WIDTH*LCU_WIDTH>>2];
|
||||
#endif
|
||||
int32_t iQpBase = encoder->QP;
|
||||
|
||||
int32_t qpScaled;
|
||||
|
|
Loading…
Reference in a new issue