Go to the documentation of this file.
37 #include <std_msgs/Header.h>
38 #include <dynamic_reconfigure/server.h>
39 #include <theora_image_transport/TheoraPublisherConfig.h>
40 #include <theora_image_transport/Packet.h>
42 #include <theora/codec.h>
43 #include <theora/theoraenc.h>
44 #include <theora/theoradec.h>
69 virtual void publish(
const sensor_msgs::Image& message,
73 typedef theora_image_transport::TheoraPublisherConfig
Config;
82 void oggPacketToMsg(
const std_msgs::Header& header,
const ogg_packet &oggpacket,
83 theora_image_transport::Packet &msg)
const;
92 mutable std::vector<theora_image_transport::Packet>
stream_header_;
virtual void advertiseImpl(ros::NodeHandle &nh, const std::string &base_topic, uint32_t queue_size, const image_transport::SubscriberStatusCallback &user_connect_cb, const image_transport::SubscriberStatusCallback &user_disconnect_cb, const ros::VoidPtr &tracked_object, bool latch)
dynamic_reconfigure::Server< Config > ReconfigureServer
bool ensureEncodingContext(const sensor_msgs::Image &image, const PublishFn &publish_fn) const
boost::shared_ptr< ReconfigureServer > reconfigure_server_
boost::shared_ptr< th_enc_ctx > encoding_context_
void configCb(Config &config, uint32_t level)
theora_image_transport::TheoraPublisherConfig Config
virtual std::string getTransportName() const
ogg_uint32_t keyframe_frequency_
void updateKeyframeFrequency() const
boost::function< void(const M &)> PublishFn
cv_bridge::CvImage img_image_
const ros::NodeHandle & nh() const
virtual void connectCallback(const ros::SingleSubscriberPublisher &pub)
boost::function< void(const SingleSubscriberPublisher &)> SubscriberStatusCallback
void oggPacketToMsg(const std_msgs::Header &header, const ogg_packet &oggpacket, theora_image_transport::Packet &msg) const
virtual void publish(const sensor_msgs::Image &message, const PublishFn &publish_fn) const
std::vector< theora_image_transport::Packet > stream_header_
theora_image_transport
Author(s): Julius Kammerl, Patrick Mihelich, Ethan Dreyfuss
autogenerated on Sat Jan 27 2024 03:31:07