Classes | Typedefs | Enumerations | Functions
movie_publisher Namespace Reference

Classes

struct  AVFrameClose
 
struct  AVPacketClose
 
class  ExifBaseMetadataExtractor
 
struct  ExifData
 
class  FileMetadataExtractor
 
struct  FileMetadataExtractorPlugin
 
class  FilenameMetadataExtractor
 
struct  FilenameMetadataExtractorPlugin
 
class  GPMFMetadataExtractor
 Metadata extractor from GPMF streams. More...
 
struct  GPMFMetadataExtractorPlugin
 Plugin for instantiating GPMFMetadataExtractor. More...
 
struct  LatestMetadataCache
 
class  LibavStreamMetadataExtractor
 
struct  LibavStreamMetadataExtractorPlugin
 
struct  MetadataCache
 
class  MetadataExtractor
 
struct  MetadataExtractorParams
 
struct  MetadataExtractorPlugin
 
class  MetadataManager
 
class  Movie
 
struct  MovieInfo
 
class  MovieMetadataListener
 
class  MovieMetadataProcessor
 
struct  MovieOpenConfig
 
struct  MoviePlaybackState
 
struct  MoviePrivate
 
class  MovieReader
 
class  MovieReaderRos
 
class  MovieToBag
 
class  MovieToBagMetadataProcessor
 
struct  PriorityComparator
 
struct  RationalNumber
 
class  StackGuard
 
class  StreamDuration
 
class  StreamTime
 
struct  TimedMetadata
 
struct  TimedMetadataCache
 
class  TimedMetadataExtractor
 
struct  TimedMetadataListener
 

Typedefs

typedef std::unique_ptr< AVFrame, AVFrameCloseAVFramePtr
 
typedef std::unique_ptr< AVPacket, AVPacketCloseAVPacketPtr
 
typedef sensor_msgs::CameraInfo::_D_type Distortion
 
typedef std::pair< DistortionType, DistortionDistortionData
 
typedef sensor_msgs::CameraInfo::_distortion_model_type DistortionType
 
typedef std::string ExifAscii
 
typedef uint8_t ExifByte
 
typedef uint32_t ExifLong
 
typedef double ExifRational
 
typedef uint16_t ExifShort
 
typedef int32_t ExifSLong
 
typedef double ExifSRational
 
typedef int16_t ExifSShort
 
typedef std::vector< uint8_t > ExifUnknown
 
typedef std::pair< cras::optional< sensor_msgs::NavSatFix >, cras::optional< gps_common::GPSFix > > GNSSFixAndDetail
 
typedef sensor_msgs::CameraInfo::_K_type IntrinsicMatrix
 
typedef std::shared_ptr< const MovieMovieConstPtr
 
typedef std::shared_ptr< MovieMoviePtr
 
typedef std::pair< double, double > RollPitch
 
typedef std::pair< double, double > SensorSize
 

Enumerations

enum  MetadataType {
  MetadataType::CAMERA_GENERAL_NAME, MetadataType::CAMERA_UNIQUE_NAME, MetadataType::CAMERA_SERIAL_NUMBER, MetadataType::CAMERA_MAKE,
  MetadataType::CAMERA_MODEL, MetadataType::LENS_MAKE, MetadataType::LENS_MODEL, MetadataType::CREATION_TIME,
  MetadataType::ROTATION, MetadataType::CROP_FACTOR, MetadataType::SENSOR_SIZE_MM, MetadataType::FOCAL_LENGTH_35MM,
  MetadataType::FOCAL_LENGTH_MM, MetadataType::FOCAL_LENGTH_PX, MetadataType::INTRINSIC_MATRIX, MetadataType::DISTORTION,
  MetadataType::GNSS_POSITION, MetadataType::AZIMUTH, MetadataType::MAGNETIC_FIELD, MetadataType::ROLL_PITCH,
  MetadataType::ACCELERATION, MetadataType::ANGULAR_VELOCITY, MetadataType::FACES, MetadataType::CAMERA_INFO,
  MetadataType::IMU, MetadataType::OPTICAL_FRAME_TF, MetadataType::ZERO_ROLL_PITCH_TF
}
 
enum  TimestampSource {
  TimestampSource::AllZeros, TimestampSource::AbsoluteVideoTimecode, TimestampSource::RelativeVideoTimecode, TimestampSource::RosTime,
  TimestampSource::FromMetadata
}
 

Functions

cras::expected< std::string, std::string > avPixFmtToRosEncoding (const AVPixelFormat &libavPixelFormat)
 
static bool CompareStamp (const TimedMetadata< M > &a, const StreamTime &b)
 
auto findLastUpToStamp (const std::vector< TimedMetadata< M >> &data, const StreamTime &stamp)
 
cras::optional< TimedMetadata< M > > findLastUpToStamp (const std::vector< TimedMetadata< M >> &data, const StreamTime &stamp, const cras::optional< M > &defaultVal)
 
parseTimeParam (const XmlRpc::XmlRpcValue &param)
 
bool parseTimestampOffset (const std::unordered_map< std::string, double > &extraVars, const XmlRpc::XmlRpcValue &param, double &value, bool skipNonConvertible, std::list< std::string > *errors)
 
TimestampSource parseTimestampSource (const std::string &param)
 
cras::expected< AVPixelFormat, std::string > rosEncodingToAvPixFmt (const std::string &rosEncoding)
 
std::string timestampSourceToStr (const TimestampSource &source)
 
updateHeader (const M &msg, const ros::Time &stamp, const std::string &frameId)
 


gpmf_metadata_extractor
Author(s): Martin Pecka , Liam Samuel Pach
autogenerated on Wed May 28 2025 02:07:33