The VideoPlayerImpl class VideoPlayerImpl is the interface for video player and the impl class is supposed to be used for the video player. More...
#include <VideoPlayerImpl.h>
Public Member Functions | |
VideoPlayerImpl ()=default | |
Construct a new Video Player Impl object. | |
Q_DISABLE_COPY (VideoPlayerImpl) | |
Construct a new q disable copy object. | |
virtual int | total_frame () const =0 |
total_frame get the total frame of the video | |
virtual int | current_frame ()=0 |
current_frame get the current frame of the video | |
virtual bool | rollto_nextFrame (CVImage &container)=0 |
rollto_nextFrame roll to the next frame | |
virtual bool | peek_frame (CVImage &container, int frame_request)=0 |
peek_frame peek the frame of the video | |
virtual VideoPlayerInfo | current_video_info () const =0 |
current_video_info get the current video information | |
virtual void | escapeFrame ()=0 |
escapeFrame escape the current frame | |
virtual void | jumpToFrame (int frame_request)=0 |
jumpToFrame jump to the frame of the video | |
virtual bool | open (const char *filename, VideoPlayerOpenErrorCode &error_code)=0 |
open open the video file | |
virtual bool | isOpened () const =0 |
isOpened check if the video is opened | |
virtual void | close ()=0 |
close close the video file | |
VideoPlayerImpl ()=default | |
Construct a new Video Player Impl object. | |
Q_DISABLE_COPY (VideoPlayerImpl) | |
Copy is not acceptable for video. | |
virtual int | total_frame () const =0 |
total_frame get the total frame of the video | |
virtual int | current_frame ()=0 |
current_frame get the current frame of the video | |
virtual bool | rollto_nextFrame (CVImage &container)=0 |
rollto_nextFrame roll to the next frame | |
virtual bool | peek_frame (CVImage &container, int frame_request)=0 |
peek_frame peek the frame of the video | |
virtual VideoPlayerInfo | current_video_info () const =0 |
current_video_info get the current video information | |
virtual void | escapeFrame ()=0 |
escapeFrame escape the current frame | |
virtual void | jumpToFrame (int frame_request)=0 |
jumpToFrame jump to the frame of the video | |
virtual bool | open (const char *filename, VideoPlayerOpenErrorCode &error_code)=0 |
open open the video file | |
virtual bool | isOpened () const =0 |
isOpened check if the video is opened | |
virtual void | close ()=0 |
close close the video file | |
The VideoPlayerImpl class VideoPlayerImpl is the interface for video player and the impl class is supposed to be used for the video player.
|
pure virtual |
close close the video file
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
close close the video file
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
current_frame get the current frame of the video
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
current_frame get the current frame of the video
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
current_video_info get the current video information
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
current_video_info get the current video information
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
escapeFrame escape the current frame
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
escapeFrame escape the current frame
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
isOpened check if the video is opened
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
isOpened check if the video is opened
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
jumpToFrame jump to the frame of the video
frame_request | the frame requested |
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
jumpToFrame jump to the frame of the video
frame_request | the frame requested |
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
open open the video file
filename | the file name to open |
error_code | the error code |
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
open open the video file
filename | the file name to open |
error_code | the error code |
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
peek_frame peek the frame of the video
container | the container to store the frame |
frame_request | the frame requested |
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
peek_frame peek the frame of the video
container | the container to store the frame |
frame_request | the frame requested |
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
rollto_nextFrame roll to the next frame
container | the container to store the frame |
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
rollto_nextFrame roll to the next frame
container | the container to store the frame |
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
total_frame get the total frame of the video
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.
|
pure virtual |
total_frame get the total frame of the video
Implemented in VideoPlayerOpencvImpl, and VideoPlayerOpencvImpl.