UniTAP.dev.modules.dut_tests.dut_default_params.pixel_video_test

class VideoPixelTestColorDepth(enum.IntEnum):

Class VideoPixelTestColorDepth describes available supported color depth.

Inherited Members
enum.Enum
name
value
builtins.int
conjugate
bit_length
bit_count
to_bytes
from_bytes
as_integer_ratio
real
imag
numerator
denominator
class VideoPixelTestElementFormat(enum.IntEnum):

Class VideoPixelTestElementFormat describes available supported color formats.

YCbCr420_8BPC_080808 = <VideoPixelTestElementFormat.YCbCr420_8BPC_080808: 800>
YCbCr420_10BPC_080808 = <VideoPixelTestElementFormat.YCbCr420_10BPC_080808: 801>
YCbCr420_12BPC_161616 = <VideoPixelTestElementFormat.YCbCr420_12BPC_161616: 802>
YCbCr420_16BPC_161616 = <VideoPixelTestElementFormat.YCbCr420_16BPC_161616: 803>
Inherited Members
enum.Enum
name
value
builtins.int
conjugate
bit_length
bit_count
to_bytes
from_bytes
as_integer_ratio
real
imag
numerator
denominator
class VideoPixelTestAlignment(enum.IntEnum):

Class VideoPixelTestColorDepth describes available supported alignment.

Inherited Members
enum.Enum
name
value
builtins.int
conjugate
bit_length
bit_count
to_bytes
from_bytes
as_integer_ratio
real
imag
numerator
denominator
class VideoPixelTestExportFormat(enum.IntEnum):

Class VideoPixelTestColorDepth describes available supported files format.

Inherited Members
enum.Enum
name
value
builtins.int
conjugate
bit_length
bit_count
to_bytes
from_bytes
as_integer_ratio
real
imag
numerator
denominator
class VideoPixelTestParam:

Class VideoPixelTestParam describes parameters for video pixel test.

VideoPixelTestParam(json_obj)
image_width: int

Set and get frame width as number of elements.

Returns:

object of int type

image_height: int

Set and get frame height as number of elements.

Returns:

object of int type

color_depth

Set and get color depth of the image.

Returns:

object VideoPixelTestColorDepth

element_format

Set and get element format used to encode the pixel data.

Returns:

object VideoPixelTestElementFormat

frame_data: Union[bytearray, List[int], str, NoneType]

Set and get pixel data of image.

Returns:

object bytearray | list[int] | None | str

alignment

Set and get type of alignment.

Returns:

object VideoPixelTestAlignment

frames_number: int

Set and get length of the video test as number of frames.

Returns:

object VideoPixelTestAlignment

frames_number_mismatch: int

Set and get number of frame that are allowed to be considered as 'failed' before the entire test is considered as 'failed'.

Returns:

object VideoPixelTestAlignment

pixel_tolerance: int

Set and get number of pixels that allowed to be considered as 'failed' before the frame is considered as 'failed'.

Returns:

object VideoPixelTestAlignment

max_auto_save_failed: int

Set and get maximum number of frames failed frames saved per test run.

Returns:

object VideoPixelTestAlignment

failed_frame_folder

Set and get full path to the folder where failed frames are to be saved without trailing backslash.

Returns:

object str

max_export_failed_frames: int

Set and get number of failed frames to be exported from the video test.

Returns:

object int

export_data_format

Set and get file format.

Returns:

object VideoPixelTestExportFormat