|
Params & | fps (float v) |
| FPS of output frames setting here will reset intervals_ and force decoding at target FPS This can be used if user just want to decode at a steady fps.
|
|
Params & | setSampleTimestamps (const std::vector< double > ×tamps) |
| Sample output frames at a specified list of timestamps Timestamps must be in increasing order, and timestamps past the end of the video will be ignored Setting here will reset intervals_.
|
|
Params & | pixelFormat (AVPixelFormat pixelFormat) |
| Pixel format of output buffer, default PIX_FMT_RGB24.
|
|
Params & | keyFrames (bool keyFrames) |
| Return all key-frames.
|
|
Params & | streamIndex (int index) |
| Index of video stream to process, defaults to the first video stream.
|
|
Params & | maxOutputFrames (int count) |
| Only output this many frames, default to no limit.
|
|
Params & | outputWidth (int width) |
| Output frame width, default to video width.
|
|
Params & | outputHeight (int height) |
| Output frame height, default to video height.
|
|
|
bool | keyFrames_ = false |
|
AVPixelFormat | pixelFormat_ = AVPixelFormat::AV_PIX_FMT_RGB24 |
|
int | streamIndex_ = -1 |
|
int | maximumOutputFrames_ = -1 |
|
int | video_res_type_ = VideoResType::USE_WIDTH_HEIGHT |
|
int | crop_height_ = -1 |
|
int | crop_width_ = -1 |
|
int | height_min_ = -1 |
|
int | width_min_ = -1 |
|
int | scale_w_ = -1 |
|
int | scale_h_ = -1 |
|
int | decode_type_ = DecodeType::DO_TMP_JITTER |
|
int | num_of_required_frame_ = -1 |
|
std::vector< SampleInterval > | intervals_ = {{0, SpecialFps::SAMPLE_ALL_FRAMES}} |
|
Definition at line 70 of file video_decoder.h.
The documentation for this class was generated from the following file: