YARP
Yet Another Robot Platform
MjpegDecompression.cpp File Reference
#include "MjpegDecompression.h"
#include "MjpegLogComponent.h"
#include <yarp/os/Log.h>
#include <yarp/sig/Image.h>
#include <csetjmp>
#include <cstdio>
#include <cstring>
#include <jpeglib.h>
+ Include dependency graph for MjpegDecompression.cpp:

Go to the source code of this file.

Classes

struct  net_error_mgr
 
class  MjpegDecompressionHelper
 

Macros

#define HELPER(x)   (*((MjpegDecompressionHelper*)(x)))
 

Typedefs

using net_error_ptr = struct net_error_mgr *
 
using net_src_ptr = jpeg_source_mgr *
 

Functions

void init_net_source (j_decompress_ptr cinfo)
 
boolean fill_net_input_buffer (j_decompress_ptr cinfo)
 
void net_error_exit (j_common_ptr cinfo)
 
void skip_net_input_data (j_decompress_ptr cinfo, long num_bytes)
 
void term_net_source (j_decompress_ptr cinfo)
 
void jpeg_net_src (j_decompress_ptr cinfo, char *buf, int buflen)
 

Macro Definition Documentation

◆ HELPER

#define HELPER (   x)    (*((MjpegDecompressionHelper*)(x)))

Definition at line 202 of file MjpegDecompression.cpp.

Typedef Documentation

◆ net_error_ptr

using net_error_ptr = struct net_error_mgr*

Definition at line 50 of file MjpegDecompression.cpp.

◆ net_src_ptr

using net_src_ptr = jpeg_source_mgr*

Definition at line 52 of file MjpegDecompression.cpp.

Function Documentation

◆ fill_net_input_buffer()

boolean fill_net_input_buffer ( j_decompress_ptr  cinfo)

Definition at line 59 of file MjpegDecompression.cpp.

◆ init_net_source()

void init_net_source ( j_decompress_ptr  cinfo)

Definition at line 54 of file MjpegDecompression.cpp.

◆ jpeg_net_src()

void jpeg_net_src ( j_decompress_ptr  cinfo,
char *  buf,
int  buflen 
)

Definition at line 97 of file MjpegDecompression.cpp.

◆ net_error_exit()

void net_error_exit ( j_common_ptr  cinfo)

Definition at line 74 of file MjpegDecompression.cpp.

◆ skip_net_input_data()

void skip_net_input_data ( j_decompress_ptr  cinfo,
long  num_bytes 
)

Definition at line 80 of file MjpegDecompression.cpp.

◆ term_net_source()

void term_net_source ( j_decompress_ptr  cinfo)

Definition at line 94 of file MjpegDecompression.cpp.