YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ffmpegPortmonitor.cpp File Reference

Implementation of FfmpegPortmonitor: a port monitor for video compression/decompression. More...

#include "ffmpegPortmonitor.h"
#include "constants.h"
#include <yarp/os/LogComponent.h>
#include <yarp/os/Time.h>
#include <yarp/sig/all.h>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <mutex>
#include <iomanip>
#include <libavcodec/avcodec.h>
#include <libavutil/opt.h>
#include <libavutil/imgutils.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
+ Include dependency graph for ffmpegPortmonitor.cpp:

Go to the source code of this file.

Functions

void split (const std::string &s, char delim, std::vector< std::string > &elements)
 This function simply splits a string into a vector of strings basing on a delimiter character.
 

Variables

static std::mutex instances_mutex
 

Detailed Description

Implementation of FfmpegPortmonitor: a port monitor for video compression/decompression.

Author
Giulia Martino, Fabio Valla
Version
1.0
Date
2021-01-04

Definition in file ffmpegPortmonitor.cpp.

Function Documentation

◆ split()

void split ( const std::string &  s,
char  delim,
std::vector< std::string > &  elements 
)

This function simply splits a string into a vector of strings basing on a delimiter character.

It it used for command line parameters parsing.

Parameters
sThe initial string.
delimThe delimiter character.
elementsThe final vector of strings.

Definition at line 62 of file ffmpegPortmonitor.cpp.

Variable Documentation

◆ instances_mutex

std::mutex instances_mutex
static

Definition at line 74 of file ffmpegPortmonitor.cpp.