Crate stream_processor_test

Source

Structs§

Buffer
BufferSet
BufferSetFactory
BytesValidator
Validates that an output’s data exactly matches an expected hash, including oob_bytes
ElementaryStreamChunk
ExpectedDigest
FatalError
FormatValidator
Validates that an output’s format matches expected
OutputDataSizeValidator
Validates that the output contains the expected number of bytes.
OutputPacket
An output packet from the stream.
OutputPacketCountValidator
Validates that the output contains the expected number of packets.
RmseValidator
Validates that the RMSE of output data and the expected data falls within an acceptable range.
Stream
StreamOptions
StreamRunner
Runs elementary streams through a stream processor.
TerminatesWithValidator
Validates that a stream terminates with Eos.
TestCase
A test cases describes a sequence of elementary stream chunks that should be fed into a codec server, and a set of validators to check the output. To pass, all validations must pass for all output from the stream.
TestSpec
A test spec describes all the cases that will run and the circumstances in which they will run.
TimestampedStream
Wraps an elementary stream and adds sequential dummy timestamps to its chunks.
ValidStreamOutputFormat

Enums§

AudioSignificance
BufferSetType
CaseRelation
A case relation describes the temporal relationship between two test cases.
Error
OrdinalPattern
The pattern to use when advancing ordinals.
Output
Output represents any output from a stream we might want to validate programmatically.
OutputSize
Significance
StreamControlFlow
StreamOutputFormatMissingFieldError
Missing fields in StreamOutputFormat.
StreamOutputFormatValidationError
Errors validating StreamOutputFormat.
VideoSignificance

Traits§

ElementaryStream
OutputValidator
Checks all output packets, which are provided to the validator in the order in which they were received from the stream processor.
StreamProcessorFactory

Functions§

buffer_collection_constraints_default
buffer_memory_constraints_default
calculate_rmse
get_ordinal
image_format_constraints_default
output_packets
Returns all the packets in the output with preserved order.
with_large_stack

Type Aliases§

OrdinalSequence
Result
TestCaseOutputs