COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
jmemnobs.cpp File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jmemsys.h"
Include dependency graph for jmemnobs.cpp:

Macros

#define JPEG_INTERNALS
 

Functions

void * jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject)
 
void jpeg_free_small (j_common_ptr cinfo, void *object, size_t sizeofobject)
 
void * jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject)
 
void jpeg_free_large (j_common_ptr cinfo, void *object, size_t sizeofobject)
 
long jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, long max_bytes_needed, long already_allocated)
 
void jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info, long total_bytes_needed)
 
long jpeg_mem_init (j_common_ptr cinfo)
 
void jpeg_mem_term (j_common_ptr cinfo)
 

Macro Definition Documentation

#define JPEG_INTERNALS

Function Documentation

void* jpeg_get_small ( j_common_ptr  cinfo,
size_t  sizeofobject 
)
36 {
37  return (void *) malloc(sizeofobject);
38 }
size_t sizeofobject
Definition: jmemsys.h:47
void jpeg_free_small ( j_common_ptr  cinfo,
void *  object,
size_t  sizeofobject 
)
42 {
43  free(object);
44 }
void* jpeg_get_large ( j_common_ptr  cinfo,
size_t  sizeofobject 
)
56 {
57  return (void FAR *) malloc(sizeofobject);
58 }
size_t sizeofobject
Definition: jmemsys.h:47
#define FAR
Definition: jmorecfg.h:215
void jpeg_free_large ( j_common_ptr  cinfo,
void *  object,
size_t  sizeofobject 
)
62 {
63  free(object);
64 }
long jpeg_mem_available ( j_common_ptr  cinfo,
long  min_bytes_needed,
long  max_bytes_needed,
long  already_allocated 
)
75 {
76  return max_bytes_needed;
77 }
long long max_bytes_needed
Definition: jmemsys.h:104
void jpeg_open_backing_store ( j_common_ptr  cinfo,
backing_store_ptr  info,
long  total_bytes_needed 
)
89 {
91 }
#define ERREXIT(cinfo, code)
Definition: jerror.h:205
Definition: jerror.h:96
long jpeg_mem_init ( j_common_ptr  cinfo)
101 {
102  return 0; /* just set max_memory_to_use to 0 */
103 }
void jpeg_mem_term ( j_common_ptr  cinfo)
107 {
108  /* no work */
109 }