• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "jpgd.h"
2 
3 extern "C" {
jpgd_decompress_jpeg_image_from_memory(const unsigned char * pSrc_data,int src_data_size,int * width,int * height,int * actual_comps,int req_comps)4 	unsigned char *jpgd_decompress_jpeg_image_from_memory(const unsigned char *pSrc_data, int src_data_size, int *width, int *height, int *actual_comps, int req_comps) {
5 		return jpgd::decompress_jpeg_image_from_memory(pSrc_data, src_data_size, width, height, actual_comps, req_comps);
6 	}
jpgd_failure_reason(void)7 	const char *jpgd_failure_reason(void) {
8 		return jpgd::failure_reason();
9 	}
10 }