Namespaces | Macros | Functions
color-formats-converter.cpp File Reference
#include "color-formats-converter.h"
#include "option.h"
#include "image-avx.h"
#include "image.h"
#include "../third-party/stb_image.h"
#include <cpuid.h>
Include dependency graph for color-formats-converter.cpp:

Go to the source code of this file.

Namespaces

 librealsense
 

Macros

#define clamp(x)   ((t=(x)) > 255 ? 255 : t < 0 ? 0 : t)
 
#define clamp(x)   ((t=(x)) > 255 ? 255 : t < 0 ? 0 : t)
 
#define STB_IMAGE_IMPLEMENTATION
 
#define STB_IMAGE_STATIC
 

Functions

void cpuid (int info[4], int info_type)
 
bool has_avx ()
 
void librealsense::unpack_mjpeg (byte *const dest[], const byte *source, int width, int height, int actual_size, int input_size)
 
void librealsense::unpack_rgb_from_bgr (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
template<rs2_format FORMAT>
void librealsense::unpack_uyvy (byte *const d[], const byte *s, int width, int height, int actual_size)
 
void librealsense::unpack_uyvyc (rs2_format dst_format, rs2_stream dst_stream, byte *const d[], const byte *s, int w, int h, int actual_size)
 
template<rs2_format FORMAT>
void librealsense::unpack_yuy2 (byte *const d[], const byte *s, int width, int height, int actual_size)
 
void librealsense::unpack_yuy2 (rs2_format dst_format, rs2_stream dst_stream, byte *const d[], const byte *s, int w, int h, int actual_size)
 

Macro Definition Documentation

#define clamp (   x)    ((t=(x)) > 255 ? 255 : t < 0 ? 0 : t)
#define clamp (   x)    ((t=(x)) > 255 ? 255 : t < 0 ? 0 : t)
#define STB_IMAGE_IMPLEMENTATION

Definition at line 11 of file color-formats-converter.cpp.

#define STB_IMAGE_STATIC

Definition at line 10 of file color-formats-converter.cpp.

Function Documentation

void cpuid ( int  info[4],
int  info_type 
)

Definition at line 32 of file color-formats-converter.cpp.

bool has_avx ( )

Definition at line 37 of file color-formats-converter.cpp.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:24