Urbi SDK Remote for C++  2.7.5
uconversion.cc File Reference
#include <libport/cstdlib>
#include <libport/debug.hh>
#include <libport/cstdio>
#include <libport/format.hh>
#include <urbi/uconversion.hh>
#include <csetjmp>
#include <jpeglib.h>
Include dependency graph for uconversion.cc:

Go to the source code of this file.

Namespaces

namespace  urbi
 

Global definition of the starterlist.


Functions

 GD_CATEGORY (Urbi.Convert)
int urbi::convertRGBtoYCbCr (const byte *source, size_t sourcelen, byte *dest)
 Convert a buffer in containing a source image, (an RGB image), to a buffer out for the destinationImage, which will contain a YCbCr (YUV) image.
int urbi::convertYCrCbtoYCbCr (const byte *source, size_t sourcelen, byte *dest)
 Image format conversion functions.
int urbi::convertYCbCrtoRGB (const byte *source, size_t sourcelen, byte *dest)
 Convert a buffer in, which contains an YCrCb, image to a buffer for the out, which will contain a RGB image.
static int urbi::convert_jpeg_to (const byte *source, size_t sourcelen, UImageFormat dest_format, byte **dest, size_t &size, size_t &w, size_t &h)
 Convert a buffer source, which contains a JPEG image, to a buffer for the dest, which will contain a RGB/YCrCb image (depending on dest_format).
int urbi::convertJPEGtoYCrCb (const byte *source, size_t sourcelen, byte **dest, size_t &size, size_t &w, size_t &h)
int urbi::convertJPEGtoRGB (const byte *source, size_t sourcelen, byte **dest, size_t &size, size_t &w, size_t &h)
int urbi::convertRGBtoJPEG (const byte *source, size_t w, size_t h, byte *dest, size_t &size, int quality)
 Convert a buffer source, which contains an RGB image, to a buffer for the dest, which will contain a JPEG image.
int urbi::convertYCrCbtoJPEG (const byte *source, size_t w, size_t h, byte *dest, size_t &size, int quality)
 Convert a buffer source, which contains an YCrCb image, to a buffer for the dest, which will contain a JPEG image.
int urbi::convertRGBtoGrey8_601 (const byte *in, size_t bufferSize, byte *out)
 Convert a buffer in containing a source image, (an RGB image), to a buffer out for the destination Image, which will contain a Grey8 image with the formula defined in recommendation 601.
 urbi::urbi_jpeg_error_exit (j_common_ptr cinfo)
static void urbi::init_destination (j_compress_ptr)
static boolean urbi::empty_output_buffer (j_compress_ptr)
static void urbi::term_destination (j_compress_ptr)
int urbi::convert (const UImage &source, UImage &destination)
 Convert the image src to the image dest.
static void urbi::dup (unsigned short *dst, const unsigned short *src, size_t count)
static void urbi::dup (byte *dst, const byte *src, size_t count)
template<typename D >
void urbi::pud (D *dst, const D *src, int count)
template<class S , class D >
void urbi::copy (const S *src, D *dst, int sc, int dc, int sr, int dr, size_t count, bool sf, bool df)
int urbi::convert (const USound &source, USound &destination)
 Conversion between various sound formats.

Function Documentation

GD_CATEGORY ( Urbi.  Convert)