H264Decode Class
Hardware-accelerated H.264 decoder Node. More...
Declaration
Included Headers
Base classes
| class | Node |
| class | OutputSpecProvider |
Public Constructors Index
| H264Decode (int sima_allocator_type=2, std::string out_format="NV12", std::string decoder_name={}, bool raw_output=false, std::string next_element={}, int dec_width=-1, int dec_height=-1, int dec_fps=-1, int num_buffers=-1) | |
|
Construct with explicit decoder configuration. More... | |
Public Member Functions Index
| std::string | kind () const override |
|
Type label for this Node kind. More... | |
| NodeCapsBehavior | caps_behavior () const override |
|
Whether the Node negotiates static or dynamic caps. More... | |
| std::string | backend_fragment (int node_index) const override |
|
GStreamer fragment this Node emits. More... | |
| std::vector< std::string > | element_names (int node_index) const override |
|
Deterministic element names this Node will create. More... | |
| OutputSpec | output_spec (const OutputSpec &input) const override |
|
Negotiated downstream caps produced by this Node. More... | |
| int | sima_allocator_type () const |
|
SiMa DMA allocator type passed to the decoder element. More... | |
| const std::string & | out_format () const |
|
Configured raw output format. More... | |
| const std::string & | decoder_name () const |
|
Decoder element name override (empty = auto-pick). More... | |
| bool | raw_output () const |
|
Whether the decoder emits raw frames without metadata adapters. More... | |
| const std::string & | next_element () const |
|
Optional downstream element name used during graph wiring. More... | |
| int | dec_width () const |
|
Decoded frame width override (-1 = upstream-defined). More... | |
| int | dec_height () const |
|
Decoded frame height override (-1 = upstream-defined). More... | |
| int | dec_fps () const |
|
Decoded framerate override (-1 = upstream-defined). More... | |
| int | num_buffers () const |
|
Output buffer pool size override (-1 = element default). More... | |
Private Member Attributes Index
| int | sima_allocator_type_ = 2 |
| std::string | out_format_ = "NV12" |
| std::string | decoder_name_ |
| bool | raw_output_ = false |
| std::string | next_element_ |
| int | dec_width_ = -1 |
| int | dec_height_ = -1 |
| int | dec_fps_ = -1 |
| int | num_buffers_ = -1 |