Go to the documentation of this file.
15 #include <unordered_map>
18 #include <libavformat/avformat.h>
49 const XmlRpc::XmlRpcValue& param,
double& value,
bool skipNonConvertible, std::list<std::string>* errors);
77 cras::expected<std::string, std::string>
avPixFmtToRosEncoding(
const AVPixelFormat& libavPixelFormat);
Custom movie_publisher datatypes.
TimestampSource parseTimestampSource(const std::string ¶m)
Parse TimestampSource from text.
cras::expected< std::string, std::string > avPixFmtToRosEncoding(const AVPixelFormat &libavPixelFormat)
Map Libav pixel formats to ROS image encodings.
TimestampSource
How to compute ROS timestamps from movie frame presentation timestamp (PTS).
std::string timestampSourceToStr(const TimestampSource &source)
Convert the given TimestampSource to text.
bool parseTimestampOffset(const std::unordered_map< std::string, double > &extraVars, const XmlRpc::XmlRpcValue ¶m, double &value, bool skipNonConvertible, std::list< std::string > *errors)
Parse the given timestamp offset.
cras::expected< AVPixelFormat, std::string > rosEncodingToAvPixFmt(const std::string &rosEncoding)
Map ROS image encodings to Libav pixel formats.
T parseTimeParam(const XmlRpc::XmlRpcValue ¶m)
Parse time or duration in several formats.
movie_publisher
Author(s): Martin Pecka
autogenerated on Wed May 28 2025 02:07:22