EncodedSampleUtil.h File
Helpers for constructing and inspecting encoded-media samples. More...
Included Headers
#include "pipeline/SessionOptions.h"
#include "pipeline/TensorCore.h"
#include <cstdint>
#include <string>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
Description
Helpers for constructing and inspecting encoded-media samples.
Encoded samples wrap compressed payloads (e.g., H.264 NAL units) in the framework's Sample type so they can flow through the same pipeline as raw frames or tensors. This header exposes a caps-string codec sniff and a factory that wraps an owned byte buffer plus timing metadata into a Sample.
- See Also
SessionOptions.h for EncodedSpec::Codec.
- See Also
Tensor.h for the underlying Sample type.
File Listing
The file content with the documentation metadata removed is:
16#include "pipeline/SessionOptions.h"
17#include "pipeline/TensorCore.h"
23namespace simaai::neat {
31simaai::neat::EncodedSpec::Codec caps_to_codec(const std::string& caps_string);
47Sample make_encoded_sample(std::vector<uint8_t> bytes, std::string caps_string, int64_t pts_ns = -1,
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.