Expose new scaling factors in TurboJPEG API

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@757 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2012-01-28 06:49:56 +00:00
parent 33eca7e4f2
commit ab2df6ea1b
2 changed files with 16 additions and 2 deletions

View File

@@ -92,10 +92,22 @@ static const JXFORM_CODE xformtypes[TJ_NUMXOP]=
JXFORM_TRANSVERSE, JXFORM_ROT_90, JXFORM_ROT_180, JXFORM_ROT_270
};
#define NUMSF 4
#define NUMSF 16
static const tjscalingfactor sf[NUMSF]={
{2, 1},
{15, 8},
{7, 4},
{13, 8},
{3, 2},
{11, 8},
{5, 4},
{9, 8},
{1, 1},
{7, 8},
{3, 4},
{5, 8},
{1, 2},
{3, 8},
{1, 4},
{1, 8}
};