Classes | |
struct | H264EncoderNodeParams |
Enumerations | |
enum | FrameFlag |
Functions | |
Aws::AwsError | GetH264EncoderNodeParams (const Aws::Client::ParameterReaderInterface ¶m_reader, H264EncoderNodeParams ¶ms) |
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 ¶m_reader) |
void | InitializeEncoder (const sensor_msgs::ImageConstPtr &msg, std::unique_ptr< H264Encoder > &encoder, const Aws::Client::ParameterReaderInterface ¶m_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 |
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
msg | the message from the image sensor through image transport |
encoder | reference 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_reader | parameter 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.
const std::map<std::string, AVPixelFormat> Aws::Kinesis::SNSR_IMG_ENC_to_LIBAV_PIXEL_FRMT |
Definition at line 42 of file h264_video_encoder.cpp.