updated quality/capability numbers, changed for new version test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6807 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -67,7 +67,7 @@ void
|
||||
CheckBits_Bmp(translator_info *pti)
|
||||
{
|
||||
CheckTranslatorInfo(pti, B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP,
|
||||
0.6f, 0.8f, "Be Bitmap Format (BMPTranslator)",
|
||||
0.4f, 0.6f, "Be Bitmap Format (BMPTranslator)",
|
||||
"image/x-be-bitmap");
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ void
|
||||
CheckBmp(translator_info *pti, const char *imageType)
|
||||
{
|
||||
CheckTranslatorInfo(pti, B_BMP_FORMAT, B_TRANSLATOR_BITMAP,
|
||||
1.0f, 0.8f, imageType, "image/x-bmp");
|
||||
0.4f, 0.8f, imageType, "image/x-bmp");
|
||||
}
|
||||
|
||||
// coveniently group path of image with
|
||||
@@ -1071,15 +1071,15 @@ translation_format gBMPInputFormats[] = {
|
||||
{
|
||||
B_TRANSLATOR_BITMAP,
|
||||
B_TRANSLATOR_BITMAP,
|
||||
0.6f, // quality
|
||||
0.8f, // capability
|
||||
0.4f, // quality
|
||||
0.6f, // capability
|
||||
"image/x-be-bitmap",
|
||||
"Be Bitmap Format (BMPTranslator)"
|
||||
},
|
||||
{
|
||||
B_BMP_FORMAT,
|
||||
B_TRANSLATOR_BITMAP,
|
||||
1.0f,
|
||||
0.4f,
|
||||
0.8f,
|
||||
"image/x-bmp",
|
||||
"BMP image"
|
||||
@@ -1091,16 +1091,16 @@ translation_format gBMPOutputFormats[] = {
|
||||
{
|
||||
B_TRANSLATOR_BITMAP,
|
||||
B_TRANSLATOR_BITMAP,
|
||||
0.6f, // quality
|
||||
0.8f, // capability
|
||||
0.4f, // quality
|
||||
0.6f, // capability
|
||||
"image/x-be-bitmap",
|
||||
"Be Bitmap Format (BMPTranslator)"
|
||||
},
|
||||
{
|
||||
B_BMP_FORMAT,
|
||||
B_TRANSLATOR_BITMAP,
|
||||
1.0f,
|
||||
0.5f,
|
||||
0.4f,
|
||||
0.8f,
|
||||
"image/x-bmp",
|
||||
"BMP image (MS format)"
|
||||
}
|
||||
@@ -1112,7 +1112,8 @@ BMPTranslatorTest::LoadAddOnTest()
|
||||
TranslatorLoadAddOnTest("/boot/home/config/add-ons/Translators/BMPTranslator",
|
||||
this,
|
||||
gBMPInputFormats, sizeof(gBMPInputFormats) / sizeof(translation_format),
|
||||
gBMPOutputFormats, sizeof(gBMPOutputFormats) / sizeof(translation_format));
|
||||
gBMPOutputFormats, sizeof(gBMPOutputFormats) / sizeof(translation_format),
|
||||
B_TRANSLATION_MAKE_VER(1,0,0));
|
||||
}
|
||||
|
||||
#endif // #if !TEST_R5
|
||||
|
||||
@@ -61,7 +61,7 @@ void
|
||||
CheckBits_Tiff(translator_info *pti)
|
||||
{
|
||||
CheckTranslatorInfo(pti, B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP,
|
||||
0.4f, 0.6f, "Be Bitmap Format (TIFFTranslator)",
|
||||
0.7f, 0.6f, "Be Bitmap Format (TIFFTranslator)",
|
||||
"image/x-be-bitmap");
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ void
|
||||
CheckTiff(translator_info *pti, const char *imageType)
|
||||
{
|
||||
CheckTranslatorInfo(pti, B_TIFF_FORMAT, B_TRANSLATOR_BITMAP,
|
||||
0.1f, 0.1f, imageType, "image/tiff");
|
||||
0.7f, 0.6f, imageType, "image/tiff");
|
||||
}
|
||||
|
||||
// coveniently group path of image with
|
||||
@@ -426,7 +426,7 @@ translation_format gTIFFInputFormats[] = {
|
||||
{
|
||||
B_TRANSLATOR_BITMAP,
|
||||
B_TRANSLATOR_BITMAP,
|
||||
0.4f, // quality
|
||||
0.7f, // quality
|
||||
0.6f, // capability
|
||||
"image/x-be-bitmap",
|
||||
"Be Bitmap Format (TIFFTranslator)"
|
||||
@@ -434,8 +434,8 @@ translation_format gTIFFInputFormats[] = {
|
||||
{
|
||||
B_TIFF_FORMAT,
|
||||
B_TRANSLATOR_BITMAP,
|
||||
0.1f,
|
||||
0.1f,
|
||||
0.7f,
|
||||
0.6f,
|
||||
"image/tiff",
|
||||
"TIFF image"
|
||||
}
|
||||
@@ -446,7 +446,7 @@ translation_format gTIFFOutputFormats[] = {
|
||||
{
|
||||
B_TRANSLATOR_BITMAP,
|
||||
B_TRANSLATOR_BITMAP,
|
||||
0.4f, // quality
|
||||
0.7f, // quality
|
||||
0.6f, // capability
|
||||
"image/x-be-bitmap",
|
||||
"Be Bitmap Format (TIFFTranslator)"
|
||||
@@ -454,8 +454,8 @@ translation_format gTIFFOutputFormats[] = {
|
||||
{
|
||||
B_TIFF_FORMAT,
|
||||
B_TRANSLATOR_BITMAP,
|
||||
0.7f,
|
||||
0.6f,
|
||||
0.2f,
|
||||
"image/tiff",
|
||||
"TIFF image"
|
||||
}
|
||||
@@ -467,7 +467,8 @@ TIFFTranslatorTest::LoadAddOnTest()
|
||||
TranslatorLoadAddOnTest("/boot/home/config/add-ons/Translators/TIFFTranslator",
|
||||
this,
|
||||
gTIFFInputFormats, sizeof(gTIFFInputFormats) / sizeof(translation_format),
|
||||
gTIFFOutputFormats, sizeof(gTIFFOutputFormats) / sizeof(translation_format));
|
||||
gTIFFOutputFormats, sizeof(gTIFFOutputFormats) / sizeof(translation_format),
|
||||
B_TRANSLATION_MAKE_VER(1,0,0));
|
||||
}
|
||||
|
||||
#endif // #if !TEST_R5
|
||||
|
||||
Reference in New Issue
Block a user