openshot-audio  0.1.6
Macros | Enumerations
jinclude.h File Reference
#include "jconfig.h"
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Macros

#define JCONFIG_INCLUDED   /* so that jpeglib.h doesn't do it again */
 
#define MEMZERO(target, size)   memset((void *)(target), 0, (size_t)(size))
 
#define MEMCOPY(dest, src, size)   memcpy((void *)(dest), (const void *)(src), (size_t)(size))
 
#define SIZEOF(object)   ((size_t) sizeof(object))
 
#define JFREAD(file, buf, sizeofbuf)   ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
 
#define JFWRITE(file, buf, sizeofbuf)   ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
 
#define HUFF_EXTEND(x, s)   ((x) < extend_test[s] ? (x) + extend_offset[s] : (x))
 
#define SHIFTED_BITS_PLUS_ONE(n)   (int) (((unsigned int) -1) << n) + 1
 
#define __jinclude_h__
 
#define JCONFIG_INCLUDED   /* so that jpeglib.h doesn't do it again */
 
#define MEMZERO(target, size)   memset((void *)(target), 0, (size_t)(size))
 
#define MEMCOPY(dest, src, size)   memcpy((void *)(dest), (const void *)(src), (size_t)(size))
 
#define SIZEOF(object)   ((size_t) sizeof(object))
 
#define JFREAD(file, buf, sizeofbuf)   ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
 
#define JFWRITE(file, buf, sizeofbuf)   ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
 
#define HUFF_EXTEND(x, s)   ((x) < extend_test[s] ? (x) + extend_offset[s] : (x))
 
#define SHIFTED_BITS_PLUS_ONE(n)   (int) (((unsigned int) -1) << n) + 1
 

Enumerations

enum  JPEG_MARKER {
  M_SOF0 = 0xc0, M_SOF1 = 0xc1, M_SOF2 = 0xc2, M_SOF3 = 0xc3,
  M_SOF5 = 0xc5, M_SOF6 = 0xc6, M_SOF7 = 0xc7, M_JPG = 0xc8,
  M_SOF9 = 0xc9, M_SOF10 = 0xca, M_SOF11 = 0xcb, M_SOF13 = 0xcd,
  M_SOF14 = 0xce, M_SOF15 = 0xcf, M_DHT = 0xc4, M_DAC = 0xcc,
  M_RST0 = 0xd0, M_RST1 = 0xd1, M_RST2 = 0xd2, M_RST3 = 0xd3,
  M_RST4 = 0xd4, M_RST5 = 0xd5, M_RST6 = 0xd6, M_RST7 = 0xd7,
  M_SOI = 0xd8, M_EOI = 0xd9, M_SOS = 0xda, M_DQT = 0xdb,
  M_DNL = 0xdc, M_DRI = 0xdd, M_DHP = 0xde, M_EXP = 0xdf,
  M_APP0 = 0xe0, M_APP1 = 0xe1, M_APP2 = 0xe2, M_APP3 = 0xe3,
  M_APP4 = 0xe4, M_APP5 = 0xe5, M_APP6 = 0xe6, M_APP7 = 0xe7,
  M_APP8 = 0xe8, M_APP9 = 0xe9, M_APP10 = 0xea, M_APP11 = 0xeb,
  M_APP12 = 0xec, M_APP13 = 0xed, M_APP14 = 0xee, M_APP15 = 0xef,
  M_JPG0 = 0xf0, M_JPG13 = 0xfd, M_COM = 0xfe, M_TEM = 0x01,
  M_ERROR = 0x100
}
 

Macro Definition Documentation

◆ __jinclude_h__

#define __jinclude_h__

◆ HUFF_EXTEND [1/2]

#define HUFF_EXTEND (   x,
 
)    ((x) < extend_test[s] ? (x) + extend_offset[s] : (x))

◆ HUFF_EXTEND [2/2]

#define HUFF_EXTEND (   x,
 
)    ((x) < extend_test[s] ? (x) + extend_offset[s] : (x))

◆ JCONFIG_INCLUDED [1/2]

#define JCONFIG_INCLUDED   /* so that jpeglib.h doesn't do it again */

◆ JCONFIG_INCLUDED [2/2]

#define JCONFIG_INCLUDED   /* so that jpeglib.h doesn't do it again */

◆ JFREAD [1/2]

#define JFREAD (   file,
  buf,
  sizeofbuf 
)    ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))

◆ JFREAD [2/2]

#define JFREAD (   file,
  buf,
  sizeofbuf 
)    ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))

◆ JFWRITE [1/2]

#define JFWRITE (   file,
  buf,
  sizeofbuf 
)    ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))

◆ JFWRITE [2/2]

#define JFWRITE (   file,
  buf,
  sizeofbuf 
)    ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))

◆ MEMCOPY [1/2]

#define MEMCOPY (   dest,
  src,
  size 
)    memcpy((void *)(dest), (const void *)(src), (size_t)(size))

◆ MEMCOPY [2/2]

#define MEMCOPY (   dest,
  src,
  size 
)    memcpy((void *)(dest), (const void *)(src), (size_t)(size))

◆ MEMZERO [1/2]

#define MEMZERO (   target,
  size 
)    memset((void *)(target), 0, (size_t)(size))

◆ MEMZERO [2/2]

#define MEMZERO (   target,
  size 
)    memset((void *)(target), 0, (size_t)(size))

◆ SHIFTED_BITS_PLUS_ONE [1/2]

#define SHIFTED_BITS_PLUS_ONE (   n)    (int) (((unsigned int) -1) << n) + 1

◆ SHIFTED_BITS_PLUS_ONE [2/2]

#define SHIFTED_BITS_PLUS_ONE (   n)    (int) (((unsigned int) -1) << n) + 1

◆ SIZEOF [1/2]

#define SIZEOF (   object)    ((size_t) sizeof(object))

◆ SIZEOF [2/2]

#define SIZEOF (   object)    ((size_t) sizeof(object))

Enumeration Type Documentation

◆ JPEG_MARKER

Enumerator
M_SOF0 
M_SOF1 
M_SOF2 
M_SOF3 
M_SOF5 
M_SOF6 
M_SOF7 
M_JPG 
M_SOF9 
M_SOF10 
M_SOF11 
M_SOF13 
M_SOF14 
M_SOF15 
M_DHT 
M_DAC 
M_RST0 
M_RST1 
M_RST2 
M_RST3 
M_RST4 
M_RST5 
M_RST6 
M_RST7 
M_SOI 
M_EOI 
M_SOS 
M_DQT 
M_DNL 
M_DRI 
M_DHP 
M_EXP 
M_APP0 
M_APP1 
M_APP2 
M_APP3 
M_APP4 
M_APP5 
M_APP6 
M_APP7 
M_APP8 
M_APP9 
M_APP10 
M_APP11 
M_APP12 
M_APP13 
M_APP14 
M_APP15 
M_JPG0 
M_JPG13 
M_COM 
M_TEM 
M_ERROR