Searched refs:mode (Results 1 - 25 of 4963) sorted by last modified time

1234567891011>>

/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp2983 const LodePNGColorMode* mode, ColorTree* tree /*for palette*/,
2986 if(mode->colortype == LCT_GREY)
2989 if(mode->bitdepth == 8) out[i] = grey;
2990 else if(mode->bitdepth == 16) out[i * 2 + 0] = out[i * 2 + 1] = grey;
2994 grey = (grey >> (8 - mode->bitdepth)) & ((1 << mode->bitdepth) - 1);
2995 addColorBits(out, i, mode->bitdepth, grey);
2998 else if(mode->colortype == LCT_RGB)
3000 if(mode->bitdepth == 8)
3013 else if(mode
2982 rgba8ToPixel(unsigned char* out, size_t i, const LodePNGColorMode* mode, ColorTree* tree , unsigned char r, unsigned char g, unsigned char b, unsigned char a) argument
3056 rgba16ToPixel(unsigned char* out, size_t i, const LodePNGColorMode* mode, unsigned short r, unsigned short g, unsigned short b, unsigned short a) argument
3100 getPixelColorRGBA8(unsigned char* r, unsigned char* g, unsigned char* b, unsigned char* a, const unsigned char* in, size_t i, const LodePNGColorMode* mode, unsigned fix_png) argument
3213 getPixelColorsRGBA8(unsigned char* buffer, size_t numpixels, unsigned has_alpha, const unsigned char* in, const LodePNGColorMode* mode, unsigned fix_png) argument
3350 getPixelColorRGBA16(unsigned short* r, unsigned short* g, unsigned short* b, unsigned short* a, const unsigned char* in, size_t i, const LodePNGColorMode* mode) argument
3489 color_profile_init(ColorProfile* profile, const LodePNGColorMode* mode) argument
3553 get_color_profile(ColorProfile* profile, const unsigned char* in, size_t numpixels , const LodePNGColorMode* mode, unsigned fix_png) argument
[all...]
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...
/external/xz-embedded/linux/include/linux/
H A Dxz.h32 * enum xz_mode - Operation mode
34 * @XZ_SINGLE: Single-call mode. This uses less RAM than
40 * @XZ_PREALLOC: Multi-call mode with preallocated LZMA2
44 * @XZ_DYNALLOC: Multi-call mode. The LZMA2 dictionary is
66 * return code is possible only in multi-call mode
70 * is still possible in multi-call mode by simply
85 * only in multi-call mode (XZ_PREALLOC or
86 * XZ_DYNALLOC); the single-call mode (XZ_SINGLE)
97 * mode; more information below.
99 * In multi-call mode, XZ_BUF_ERRO
[all...]
/external/xz-embedded/linux/lib/xz/
H A Dxz_dec_lzma2.c35 * In multi-call mode, also these are true:
40 * Most of these variables are size_t to support single-call mode,
64 * End of the dictionary buffer. In multi-call mode, this is
65 * the same as the dictionary size. In single-call mode, this
78 * Maximum allowed dictionary size in multi-call mode.
79 * This is ignored in single-call mode.
90 /* Operation mode */
91 enum xz_mode mode; member in struct:dictionary
283 * Reset the dictionary state. When in single-call mode, set up the beginning
288 if (DEC_IS_SINGLE(dict->mode)) {
1108 xz_dec_lzma2_create(enum xz_mode mode, uint32_t dict_max) argument
[all...]
H A Dxz_dec_stream.c62 /* Operation mode */
63 enum xz_mode mode; member in struct:xz_dec
598 * mode. Thus, update s->sequence before calling
755 * In multi-call mode, we must return XZ_BUF_ERROR when it seems clear that we
763 * In single-call mode, if we couldn't decode everything and no error
782 if (DEC_IS_SINGLE(s->mode))
789 if (DEC_IS_SINGLE(s->mode)) {
812 XZ_EXTERN struct xz_dec *xz_dec_init(enum xz_mode mode, uint32_t dict_max) argument
818 s->mode = mode;
[all...]
H A Dxz_private.h53 /* If no specific decoding mode is requested, enable support for all modes. */
62 * The DEC_IS_foo(mode) macros are used in "if" statements. If only some
67 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE)
69 # define DEC_IS_SINGLE(mode) (false)
73 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC)
75 # define DEC_IS_PREALLOC(mode) (false)
79 # define DEC_IS_DYNALLOC(mode) ((mode)
[all...]
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DGZipStream.cs21 private static extern IntPtr gzopen(string name, string mode); argument
/external/zlib/src/contrib/infback9/
H A Dinfback9.c229 inflate_mode mode; /* current inflate mode */ local
259 mode = TYPE;
274 switch (mode) {
279 mode = DONE;
289 mode = STORED;
298 mode = LEN; /* decode codes */
303 mode = TABLE;
307 mode = BAD;
318 mode
[all...]
/external/zlib/src/contrib/inflate86/
H A Dinffas86.c46 state->mode == LEN
52 On return, state->mode is one of:
1132 state->mode = BAD;
1135 state->mode = TYPE;
/external/zlib/src/contrib/iostream/
H A Dzfstream.cpp6 mode(0),
28 mode = ios::in;
31 mode = ios::app;
34 mode = ios::out;
39 mode |= ios::binary;
70 mode = ios::in;
73 mode = ios::app;
76 mode = ios::out;
81 mode |= ios::binary;
138 if ( !is_open() || !(mode
[all...]
H A Dzfstream.h36 short mode; member in class:gzfilebuf
/external/zlib/src/contrib/iostream2/
H A Dzstream.h178 char mode[4] = "wb\0"; local
179 if (level != Z_DEFAULT_COMPRESSION) mode[2] = '0'+level;
181 m_fp = ::gzopen(name, mode);
188 char mode[4] = "wb\0"; local
189 if (level != Z_DEFAULT_COMPRESSION) mode[2] = '0'+level;
191 m_fp = ::gzdopen(fileno(fp), mode);
/external/zlib/src/contrib/iostream3/
H A Dzfstream.cc11 #include <cstring> // for strcpy, strcat, strlen (mode strings)
52 std::ios_base::openmode mode)
58 if ((mode & std::ios_base::in) && (mode & std::ios_base::out))
61 // Build mode string for gzopen and check it [27.8.1.3.2]
63 if (!this->open_mode(mode, char_mode))
72 io_mode = mode;
80 std::ios_base::openmode mode)
86 if ((mode & std::ios_base::in) && (mode
51 open(const char *name, std::ios_base::openmode mode) argument
79 attach(int fd, std::ios_base::openmode mode) argument
131 open_mode(std::ios_base::openmode mode, char* c_mode) const argument
379 gzifstream(const char* name, std::ios_base::openmode mode) argument
388 gzifstream(int fd, std::ios_base::openmode mode) argument
398 open(const char* name, std::ios_base::openmode mode) argument
409 attach(int fd, std::ios_base::openmode mode) argument
434 gzofstream(const char* name, std::ios_base::openmode mode) argument
443 gzofstream(int fd, std::ios_base::openmode mode) argument
453 open(const char* name, std::ios_base::openmode mode) argument
464 attach(int fd, std::ios_base::openmode mode) argument
[all...]
H A Dzfstream.h62 * @param mode Open mode flags.
67 std::ios_base::openmode mode);
72 * @param mode Open mode flags.
77 std::ios_base::openmode mode);
88 * @brief Convert ios open mode int to mode string used by zlib.
89 * @return True if valid mode flag combination.
92 open_mode(std::ios_base::openmode mode,
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c53 state->mode == LEN
59 On return, state->mode is one of:
160 state->mode = BAD;
163 state->mode = TYPE;
/external/zlib/src/contrib/masmx86/
H A Dinffas32.asm136 mode_state equ 0 ;/* state->mode */
/external/zlib/src/contrib/minizip/
H A Dioapi.c19 #define FOPEN_FUNC(filename, mode) fopen(filename, mode)
23 #define FOPEN_FUNC(filename, mode) fopen64(filename, mode)
31 voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode) argument
34 return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,filename,mode);
37 return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,(const char*)filename,mode);
87 static voidpf ZCALLBACK fopen_file_func OF((voidpf opaque, const char* filename, int mode));
95 static voidpf ZCALLBACK fopen_file_func (voidpf opaque, const char* filename, int mode) argument
99 if ((mode
113 fopen64_file_func(voidpf opaque, const void* filename, int mode) argument
[all...]
H A Dioapi.h135 typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode));
160 typedef voidpf (ZCALLBACK *open64_file_func) OF((voidpf opaque, const void* filename, int mode));
190 //#define ZSEEK64(filefunc,filestream,pos,mode) ((*((filefunc).zseek64_file)) ((filefunc).opaque,filestream,pos,mode))
194 voidpf call_zopen64 OF((const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode));
200 #define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(filename),(mode)))
202 #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(filestream),(pos),(mode)))
H A Diowin32.c36 voidpf ZCALLBACK win32_open_file_func OF((voidpf opaque, const char* filename, int mode));
51 static void win32_translate_open_mode(int mode, argument
59 if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ)
65 else if (mode & ZLIB_FILEFUNC_MODE_EXISTING)
70 else if (mode & ZLIB_FILEFUNC_MODE_CREATE)
96 voidpf ZCALLBACK win32_open64_file_func (voidpf opaque,const void* filename,int mode) argument
102 win32_translate_open_mode(mode,&dwDesiredAccess,&dwCreationDisposition,&dwShareMode,&dwFlagsAndAttributes);
125 voidpf ZCALLBACK win32_open64_file_funcA (voidpf opaque,const void* filename,int mode) argument
131 win32_translate_open_mode(mode,&dwDesiredAccess,&dwCreationDisposition,&dwShareMode,&dwFlagsAndAttributes);
149 voidpf ZCALLBACK win32_open64_file_funcW (voidpf opaque,const void* filename,int mode) argument
169 win32_open_file_func(voidpf opaque,const char* filename,int mode) argument
[all...]
H A Dminiunz.c32 #define FOPEN_FUNC(filename, mode) fopen(filename, mode)
36 #define FOPEN_FUNC(filename, mode) fopen64(filename, mode)
H A Dminizip.c33 #define FOPEN_FUNC(filename, mode) fopen(filename, mode)
37 #define FOPEN_FUNC(filename, mode) fopen64(filename, mode)
/external/zlib/src/contrib/pascal/
H A Dexample.pas304 (* Switch back to compressing mode: *)
/external/zlib/src/contrib/untgz/
H A Duntgz.c29 # define mkdir(dirname,mode) _mkdir(dirname)
31 # define access(path,mode) _access(path,mode)
32 # define chmod(path,mode) _chmod(path,mode)
71 char mode[8]; /* 100 */ member in struct:tar_header
99 int mode; member in struct:attr_item
253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) argument
261 item->mode = mode;
[all...]
/external/zlib/src/
H A Dgzclose.c21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
H A Dgzguts.h162 #define GZ_APPEND 1 /* mode set to GZ_WRITE after the file is opened */
177 int mode; /* see gzip modes above */ member in struct:__anon32089

Completed in 407 milliseconds

1234567891011>>