You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/************************************************************************/
|
|
|
|
|
/* <EFBFBD><EFBFBD><EFBFBD><EFBFBD> dsp <EFBFBD>Ż<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õIJ<EFBFBD><EFBFBD>ұ<EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
|
|
|
|
/************************************************************************/
|
|
|
|
|
#include "avcodec.h"
|
|
|
|
|
#include "dsputil.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uint8_t cropTbl[256+2 * MAX_NEG_CROP] = {0, };
|
|
|
|
|
|
|
|
|
|
/* dsp<EFBFBD>ľ<EFBFBD>̬<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>cropTbl<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ */
|
|
|
|
|
void dsputil_static_init(void)
|
|
|
|
|
{
|
|
|
|
|
int i;
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < 256; i++)
|
|
|
|
|
cropTbl[i + MAX_NEG_CROP] = i;
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < MAX_NEG_CROP; i++)
|
|
|
|
|
{
|
|
|
|
|
cropTbl[i] = 0;
|
|
|
|
|
cropTbl[i + MAX_NEG_CROP + 256] = 255;
|
|
|
|
|
}
|
|
|
|
|
}
|