Skip to main content

H264Parse Class

H.264 stream parser Node — parses NAL units, finds keyframes, optionally locks caps. More...

Declaration

class simaai::neat::H264Parse { ... }

Included Headers

#include <H264Parse.h>

Base classes

classNode
classOutputSpecProvider

Public Constructors Index

H264Parse (H264ParseOptions opt={})

Construct with optional H264ParseOptions. More...

Public Member Functions Index

std::stringkind () const override

Type label for this Node kind. More...

NodeCapsBehaviorcaps_behavior () const override

Whether the Node negotiates static or dynamic caps. More...

std::stringbackend_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...

OutputSpecoutput_spec (const OutputSpec &input) const override

Negotiated downstream caps produced by this Node. More...

const H264ParseOptions &options () const

Inspect the Node's options. More...

Private Member Attributes Index

H264ParseOptionsopt_

Description

H.264 stream parser Node — parses NAL units, finds keyframes, optionally locks caps.

Definition at line 61 of file H264Parse.h.

Public Constructors

H264Parse()

simaai::neat::H264Parse::H264Parse (H264ParseOptions opt={})
explicit

Construct with optional H264ParseOptions.

Definition at line 64 of file H264Parse.h.

Public Member Functions

backend_fragment()

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

GStreamer fragment this Node emits.

Definition at line 75 of file H264Parse.h.

caps_behavior()

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

Whether the Node negotiates static or dynamic caps.

Definition at line 70 of file H264Parse.h.

70 NodeCapsBehavior caps_behavior() const override {
71 return opt_.enforce_caps ? NodeCapsBehavior::Static : NodeCapsBehavior::Dynamic;
72 }

element_names()

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

Deterministic element names this Node will create.

Definition at line 77 of file H264Parse.h.

kind()

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

Type label for this Node kind.

Definition at line 66 of file H264Parse.h.

66 std::string kind() const override {
67 return "H264Parse";
68 }

options()

const H264ParseOptions & simaai::neat::H264Parse::options ()
inline

Inspect the Node's options.

Definition at line 82 of file H264Parse.h.

82 const H264ParseOptions& options() const {
83 return opt_;
84 }

output_spec()

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

Negotiated downstream caps produced by this Node.

Definition at line 79 of file H264Parse.h.

Private Member Attributes

opt_

H264ParseOptions simaai::neat::H264Parse::opt_

Definition at line 87 of file H264Parse.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.