Dali 3D User Interface Engine
Namespaces | Functions | Variables
loader-jpeg.h File Reference
#include <stdio.h>
#include <dali/public-api/common/dali-vector.h>
#include <dali/public-api/images/pixel.h>
#include "image-encoder.h"
#include "image-loader-input.h"
Include dependency graph for loader-jpeg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Dali
 The top level DALi namespace.
 
namespace  Dali::Integration
 
namespace  Dali::TizenPlatform
 
namespace  Dali::TizenPlatform::Jpeg
 

Functions

bool Dali::TizenPlatform::LoadBitmapFromJpeg (const ResourceLoadingClient &client, const ImageLoader::Input &input, Integration::Bitmap &bitmap)
 Loads the bitmap from an JPEG file. More...
 
bool Dali::TizenPlatform::LoadJpegHeader (const ImageLoader::Input &input, unsigned int &width, unsigned int &height)
 Loads the header of a JPEG file and fills in the width and height appropriately. More...
 
bool Dali::TizenPlatform::EncodeToJpeg (const unsigned char *pixelBuffer, Vector< unsigned char > &encodedPixels, std::size_t width, std::size_t height, Pixel::Format pixelFormat, unsigned quality=80)
 Encode raw pixel data to JPEG format. More...
 

Variables

const unsigned char Dali::TizenPlatform::Jpeg::MAGIC_BYTE_1 = 0xFF
 
const unsigned char Dali::TizenPlatform::Jpeg::MAGIC_BYTE_2 = 0xD8
 
Dali Docs Home
Read more about Dali