5.3.2.25. Struct video_reader_t

5.3.2.25.1. Struct Documentation

struct video_reader_t

Video reader structure.

Public Members

enum video_codec_e codec_type

Video decoder type (VCDC_FFMPEG_IO or VCDC_VCODECS_IO).

void *metadata

Internal metadata used by the video decoder.

size_t frame_start

Start frame number (first frame is frame 0).

size_t frame_end

Last frame number.

size_t frame_skip

Number of frames to skip between two frames (0 means no frame is skipped).

size_t frame_current

Current frame number (always starts to 0, even if frame_start > 0).

char path[2048]

Path to the video or images.

uint8_t ***fra_buffer

Buffer containing the all frames in memory (may be allocated or not depending on the implementation).

size_t fra_count

Number of frames in fra_buffer array.

size_t loop_size

Number of times the video sequence should be played in loop (1 means that the video sequence is played once).

size_t cur_loop

Current loop.