Displaying 2 results from an estimated 2 matches for "bits_t".
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...gb_test_CFLAGS = $(LIBOIL_CFLAGS)
+jpeg_rgb_test_LDADD = libjpeg.la $(LIBOIL_LIBS)
diff --git a/libswfdec/jpeg/bits.h b/libswfdec/jpeg/bits.h
index 137b2cc..95f4e90 100644
--- a/libswfdec/jpeg/bits.h
+++ b/libswfdec/jpeg/bits.h
@@ -3,132 +3,118 @@
#define __BITS_H__
typedef struct bits_struct bits_t;
-struct bits_struct
-{
- unsigned char *ptr;
- int idx;
- unsigned char *end;
+struct bits_struct {
+ unsigned char *ptr;
+ int idx;
+ unsigned char *end;
};
-static inline int
-bits_needbits (bits_t * b, int n_bytes)
+static inline int bits_needbits(bits_t *b, int n_bytes)
{
- if (b->p...
2007 Apr 17
0
8 commits - configure.ac doc/Makefile.am libswfdec/jpeg libswfdec/swfdec_debug.h libswfdec/swfdec_image.c
...BAL_CFLAGS) $(GLIB_CFLAGS) $(LIBOIL_CFLAGS) -I$(srcdir)/..
diff --git a/libswfdec/jpeg/bits.h b/libswfdec/jpeg/bits.h
deleted file mode 100644
index 95f4e90..0000000
--- a/libswfdec/jpeg/bits.h
+++ /dev/null
@@ -1,120 +0,0 @@
-
-#ifndef __BITS_H__
-#define __BITS_H__
-
-typedef struct bits_struct bits_t;
-struct bits_struct {
- unsigned char *ptr;
- int idx;
- unsigned char *end;
-};
-
-static inline int bits_needbits(bits_t *b, int n_bytes)
-{
- if(b->ptr==NULL)return 1;
- if(b->ptr + n_bytes > b->end)return 1;
-
- return 0;
-}
-
-static inline int getbit(bits_t *b)
-{
- int r;
-
- r...