* Reverted parts of r28370:

- the check for compression when counting valid images was wrong, and
    broke all RAW formats that weren't using this compression.
  - COMPRESSION_PACKBITS was defined twice.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28374 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-10-30 09:29:14 +00:00
parent 1d43a131ea
commit 225c0ed641
2 changed files with 325 additions and 286 deletions
File diff suppressed because it is too large Load Diff
+5 -2
View File
@@ -8,11 +8,10 @@
#include "ReadHelper.h"
struct jhead;
struct tiff_tag;
#define COMPRESSION_PACKBITS 32773
struct image_meta_info {
char manufacturer[64];
@@ -52,6 +51,10 @@ struct image_data_info {
bool is_raw;
};
#define COMPRESSION_PACKBITS 32773
/* Macintosh RLE */
typedef void (*monitor_hook)(const char* message, float percentage, void* data);
class DCRaw {