Dali 3D User Interface Engine
Classes | Enumerations | Functions | Variables
Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp} Namespace Reference

Classes

struct  RGB888Type
 
struct  JpegErrorState
 Error handling bookeeping for the JPEG Turbo library's setjmp/longjmp simulated exceptions. More...
 
struct  ExifAutoPtr
 Simple struct to ensure xif data is deleted. More...
 
struct  AutoJpg
 simple class to enforce clean-up of JPEG structures. More...
 
struct  AutoJpgMem
 RAII wrapper to free memory allocated by the jpeg-turbo library. More...
 

Enumerations

enum  JPGFORM_CODE {
  JPGFORM_NONE = 1, JPGFORM_FLIP_H, JPGFORM_FLIP_V, JPGFORM_TRANSPOSE,
  JPGFORM_TRANSVERSE, JPGFORM_ROT_90, JPGFORM_ROT_180, JPGFORM_ROT_270
}
 Transformations that can be applied to decoded pixels to respect exif orientation codes in image headers. More...
 

Functions

void JpegErrorHandler (j_common_ptr cinfo)
 Called by the JPEG library when it hits an error. More...
 
void JpegOutputMessageHandler (j_common_ptr cinfo)
 

Variables

const unsigned DECODED_PIXEL_SIZE = 3
 
const TJPF DECODED_PIXEL_LIBJPEG_TYPE = TJPF_RGB
 
const int MAX_TEXTURE_WIDTH = 4096
 
const int MAX_TEXTURE_HEIGHT = 4096
 

Enumeration Type Documentation

enum Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp}::JPGFORM_CODE

Transformations that can be applied to decoded pixels to respect exif orientation codes in image headers.

Enumerator
JPGFORM_NONE 
JPGFORM_FLIP_H 
JPGFORM_FLIP_V 
JPGFORM_TRANSPOSE 
JPGFORM_TRANSVERSE 
JPGFORM_ROT_90 
JPGFORM_ROT_180 
JPGFORM_ROT_270 

Definition at line 49 of file loader-jpeg-turbo.cpp.

Function Documentation

void Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp}::JpegErrorHandler ( j_common_ptr  cinfo)

Called by the JPEG library when it hits an error.

We jump out of the library so our loader code can return an error.

Definition at line 81 of file loader-jpeg-turbo.cpp.

References DALI_LOG_ERROR, and Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp}::JpegErrorState::jumpBuffer.

Referenced by Dali::TizenPlatform::LoadJpegHeader().

Here is the caller graph for this function:

void Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp}::JpegOutputMessageHandler ( j_common_ptr  cinfo)

Definition at line 91 of file loader-jpeg-turbo.cpp.

Referenced by Dali::TizenPlatform::LoadJpegHeader().

Here is the caller graph for this function:

Variable Documentation

const TJPF Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp}::DECODED_PIXEL_LIBJPEG_TYPE = TJPF_RGB

Definition at line 45 of file loader-jpeg-turbo.cpp.

Referenced by Dali::TizenPlatform::LoadBitmapFromJpeg().

const unsigned Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp}::DECODED_PIXEL_SIZE = 3

Definition at line 44 of file loader-jpeg-turbo.cpp.

Referenced by Dali::TizenPlatform::LoadBitmapFromJpeg().

const int Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp}::MAX_TEXTURE_HEIGHT = 4096

Definition at line 163 of file loader-jpeg-turbo.cpp.

Referenced by Dali::TizenPlatform::TransformSize().

const int Dali::TizenPlatform::anonymous_namespace{loader-jpeg-turbo.cpp}::MAX_TEXTURE_WIDTH = 4096

Definition at line 162 of file loader-jpeg-turbo.cpp.

Referenced by Dali::TizenPlatform::TransformSize().

Dali Docs Home
Read more about Dali