Classes | Enumerations | Functions | Variables
Aws::Kinesis Namespace Reference

Classes

struct  H264EncoderNodeParams
 

Enumerations

enum  FrameFlag
 

Functions

Aws::AwsError GetH264EncoderNodeParams (const Aws::Client::ParameterReaderInterface &param_reader, H264EncoderNodeParams &params)
 
void ImageCallback (const sensor_msgs::ImageConstPtr &msg, const H264Encoder *encoder, uint64_t &frame_num, kinesis_video_msgs::KinesisImageMetadata &metadata, ros::Publisher &pub)
 
void InitializeCommunication (ros::NodeHandle &nh, ros::Subscriber &metadata_sub, image_transport::Subscriber &image_sub, ros::Publisher &pub, std::unique_ptr< H264Encoder > &encoder, uint64_t &frame_num, kinesis_video_msgs::KinesisImageMetadata &metadata, Aws::Client::Ros1NodeParameterReader &param_reader)
 
void InitializeEncoder (const sensor_msgs::ImageConstPtr &msg, std::unique_ptr< H264Encoder > &encoder, const Aws::Client::ParameterReaderInterface &param_reader)
 
AwsError RunEncoderNode (int argc, char **argv)
 

Variables

 kBPFrameFlag
 
constexpr char kDefaultMetadataTopic []
 
constexpr char kDefaultPublicationTopic []
 
constexpr int kDefaultQueueSize
 
constexpr char kDefaultSubscriptionTopic []
 
 kKeyFrameFlag
 
constexpr char kMetadataTopicKey []
 
constexpr char kPublicationTopicKey []
 
constexpr char kQueueSizeKey []
 
constexpr char kSubscriptionTopicKey []
 
const std::map< std::string, AVPixelFormat > SNSR_IMG_ENC_to_LIBAV_PIXEL_FRMT
 

Function Documentation

void Aws::Kinesis::ImageCallback ( const sensor_msgs::ImageConstPtr &  msg,
const H264Encoder encoder,
uint64_t &  frame_num,
kinesis_video_msgs::KinesisImageMetadata &  metadata,
ros::Publisher pub 
)

Definition at line 73 of file h264_video_encoder.cpp.

void Aws::Kinesis::InitializeCommunication ( ros::NodeHandle nh,
ros::Subscriber metadata_sub,
image_transport::Subscriber image_sub,
ros::Publisher pub,
std::unique_ptr< H264Encoder > &  encoder,
uint64_t &  frame_num,
kinesis_video_msgs::KinesisImageMetadata &  metadata,
Aws::Client::Ros1NodeParameterReader param_reader 
)

Definition at line 110 of file h264_video_encoder.cpp.

void Aws::Kinesis::InitializeEncoder ( const sensor_msgs::ImageConstPtr &  msg,
std::unique_ptr< H264Encoder > &  encoder,
const Aws::Client::ParameterReaderInterface param_reader 
)

Initialize the H264Encoder

Parameters
msgthe message from the image sensor through image transport
encoderreference to pointer that owns the H264Encoder instance. if the pointer is null, it will be modified to the address of the new H264Encoder instance
param_readerparameter reader used for reading the desired configuration of the encoder output

Definition at line 56 of file h264_video_encoder.cpp.

Aws::AwsError Aws::Kinesis::RunEncoderNode ( int  argc,
char **  argv 
)

Definition at line 161 of file h264_video_encoder.cpp.

Variable Documentation

const std::map<std::string, AVPixelFormat> Aws::Kinesis::SNSR_IMG_ENC_to_LIBAV_PIXEL_FRMT
Initial value:

Definition at line 42 of file h264_video_encoder.cpp.



h264_video_encoder
Author(s): AWS RoboMaker
autogenerated on Thu Mar 4 2021 03:33:17