YARP
Yet Another Robot Platform
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/sig/all.h>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <iostream>
#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, vector< string > &elements)
 This function simply splits a string into a vector of strings basing on a delimiter character. More...
 

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,
vector< 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.