H264DecodeSima.h File
H264Decode Node — hardware-accelerated H.264 video decoder via SiMa's plugin. More...
Included Headers
#include "builder/Node.h"
#include "builder/OutputSpec.h"
#include <memory>
#include <string>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | nodes |
Classes Index
| class | H264Decode |
|
Hardware-accelerated H.264 decoder Node. More... | |
Description
H264Decode Node — hardware-accelerated H.264 video decoder via SiMa's plugin.
Wraps the SiMa hardware H.264 decoder element. Faster than the software fallback and uses the SiMa DMA allocator so decoded frames flow into downstream MLA/CVU stages without an extra copy.
File Listing
The file content with the documentation metadata removed is:
19namespace simaai::neat {
30class H264Decode final : public Node, public OutputSpecProvider {
45 H264Decode(int sima_allocator_type = 2, std::string out_format = "NV12",
46 std::string decoder_name = {}, bool raw_output = false, std::string next_element = {},
47 int dec_width = -1, int dec_height = -1, int dec_fps = -1, int num_buffers = -1);
53 NodeCapsBehavior caps_behavior() const override {
58 std::string backend_fragment(int node_index) const override;
60 std::vector<std::string> element_names(int node_index) const override;
62 OutputSpec output_spec(const OutputSpec& input) const override;
65 int sima_allocator_type() const {
69 const std::string& out_format() const {
73 const std::string& decoder_name() const {
77 bool raw_output() const {
81 const std::string& next_element() const {
89 int dec_height() const {
97 int num_buffers() const {
115namespace simaai::neat::nodes {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.