Skip to main content

H264Decode Class

Declaration

class simaai::neat::H264Decode { ... }

Included Headers

#include <H264DecodeSima.h>

Base classes

classNode
classOutputSpecProvider

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)

Public Member Functions Index

std::stringkind () const override
NodeCapsBehaviorcaps_behavior () const override
std::stringbackend_fragment (int node_index) const override
std::vector< std::string >element_names (int node_index) const override
OutputSpecoutput_spec (const OutputSpec &input) const override
intsima_allocator_type () const
const std::string &out_format () const
const std::string &decoder_name () const
boolraw_output () const
const std::string &next_element () const
intdec_width () const
intdec_height () const
intdec_fps () const
intnum_buffers () const

Private Member Attributes Index

intsima_allocator_type_ = 2
std::stringout_format_ = "NV12"
std::stringdecoder_name_
boolraw_output_ = false
std::stringnext_element_
intdec_width_ = -1
intdec_height_ = -1
intdec_fps_ = -1
intnum_buffers_ = -1

Definition at line 17 of file H264DecodeSima.h.

Public Constructors

H264Decode()

simaai::neat::H264Decode::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)

Definition at line 19 of file H264DecodeSima.h.

Public Member Functions

backend_fragment()

std::string simaai::neat::H264Decode::backend_fragment (int node_index)

Definition at line 29 of file H264DecodeSima.h.

caps_behavior()

NodeCapsBehavior simaai::neat::H264Decode::caps_behavior ()
inline

Definition at line 25 of file H264DecodeSima.h.

25 NodeCapsBehavior caps_behavior() const override {
26 return NodeCapsBehavior::Dynamic;
27 }

dec_fps()

int simaai::neat::H264Decode::dec_fps ()
inline

Definition at line 54 of file H264DecodeSima.h.

54 int dec_fps() const {
55 return dec_fps_;
56 }

dec_height()

int simaai::neat::H264Decode::dec_height ()
inline

Definition at line 51 of file H264DecodeSima.h.

51 int dec_height() const {
52 return dec_height_;
53 }

dec_width()

int simaai::neat::H264Decode::dec_width ()
inline

Definition at line 48 of file H264DecodeSima.h.

48 int dec_width() const {
49 return dec_width_;
50 }

decoder_name()

const std::string& simaai::neat::H264Decode::decoder_name ()
inline

Definition at line 39 of file H264DecodeSima.h.

39 const std::string& decoder_name() const {
40 return decoder_name_;
41 }

element_names()

std::vector<std::string> simaai::neat::H264Decode::element_names (int node_index)

Definition at line 30 of file H264DecodeSima.h.

kind()

std::string simaai::neat::H264Decode::kind ()
inline

Definition at line 22 of file H264DecodeSima.h.

22 std::string kind() const override {
23 return "H264Decode";
24 }

next_element()

const std::string& simaai::neat::H264Decode::next_element ()
inline

Definition at line 45 of file H264DecodeSima.h.

45 const std::string& next_element() const {
46 return next_element_;
47 }

num_buffers()

int simaai::neat::H264Decode::num_buffers ()
inline

Definition at line 57 of file H264DecodeSima.h.

57 int num_buffers() const {
58 return num_buffers_;
59 }

out_format()

const std::string& simaai::neat::H264Decode::out_format ()
inline

Definition at line 36 of file H264DecodeSima.h.

36 const std::string& out_format() const {
37 return out_format_;
38 }

output_spec()

OutputSpec simaai::neat::H264Decode::output_spec (const OutputSpec & input)

Definition at line 31 of file H264DecodeSima.h.

raw_output()

bool simaai::neat::H264Decode::raw_output ()
inline

Definition at line 42 of file H264DecodeSima.h.

42 bool raw_output() const {
43 return raw_output_;
44 }

sima_allocator_type()

int simaai::neat::H264Decode::sima_allocator_type ()
inline

Definition at line 33 of file H264DecodeSima.h.

33 int sima_allocator_type() const {
34 return sima_allocator_type_;
35 }

Private Member Attributes

dec_fps_

int simaai::neat::H264Decode::dec_fps_ = -1

Definition at line 69 of file H264DecodeSima.h.

69 int dec_fps_ = -1;

dec_height_

int simaai::neat::H264Decode::dec_height_ = -1

Definition at line 68 of file H264DecodeSima.h.

68 int dec_height_ = -1;

dec_width_

int simaai::neat::H264Decode::dec_width_ = -1

Definition at line 67 of file H264DecodeSima.h.

67 int dec_width_ = -1;

decoder_name_

std::string simaai::neat::H264Decode::decoder_name_

Definition at line 64 of file H264DecodeSima.h.

64 std::string decoder_name_;

next_element_

std::string simaai::neat::H264Decode::next_element_

Definition at line 66 of file H264DecodeSima.h.

66 std::string next_element_;

num_buffers_

int simaai::neat::H264Decode::num_buffers_ = -1

Definition at line 70 of file H264DecodeSima.h.

70 int num_buffers_ = -1;

out_format_

std::string simaai::neat::H264Decode::out_format_ = "NV12"

Definition at line 63 of file H264DecodeSima.h.

63 std::string out_format_ = "NV12";

raw_output_

bool simaai::neat::H264Decode::raw_output_ = false

Definition at line 65 of file H264DecodeSima.h.

65 bool raw_output_ = false;

sima_allocator_type_

int simaai::neat::H264Decode::sima_allocator_type_ = 2

Definition at line 62 of file H264DecodeSima.h.

62 int sima_allocator_type_ = 2;

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.