|
Argus Camera Sample
Argus Camera Sample
|
This class handles creation of a thread scanning for supported images/videos, loading them and writing the content to an EGLStream. More...
Public Types | |
| enum | Command { COMMAND_NONE, COMMAND_SHUTDOWN, COMMAND_NEXT, COMMAND_PREV, COMMAND_START, COMMAND_TOGGLE_PLAY_BACK, COMMAND_REWIND, COMMAND_STOP } |
| typedef std::list< GalleryItem * > | GalleryItemList |
Public Member Functions | |
| GalleryThread () | |
| ~GalleryThread () | |
| bool | initialize () |
| bool | shutdown () |
| bool | execute (Command command) |
| Execute a command. | |
Private Member Functions | |
| virtual bool | threadInitialize () |
| virtual bool | threadExecute () |
| virtual bool | threadShutdown () |
| bool | buildItemList () |
| Builds a list of gallery items by scanning the output path for image and video files. | |
| bool | start () |
| Start. | |
| bool | stop () |
| Stop. | |
| bool | startDisplay () |
| bool | pauseDisplay () |
| bool | togglePlayBack () |
| bool | rewind () |
| EGLStreamKHR | getOutputStream () const |
| Get the current output stream. | |
Private Attributes | |
| ConditionVariable | m_cmdCond |
| Mutex | m_cmdMutex |
| command condition variable | |
| std::list< Ordered< Command > > | m_cmdList |
| command mutex | |
| GLContext | m_context |
| command list, written by parent thread | |
| EGLSurface | m_eglOutputSurface |
| EGLStreamHolder | m_eglImageOutputStream |
| GLuint | m_textureID |
| GLuint | m_copyProgram |
| GLuint | m_vbo |
| GalleryItemList | m_itemList |
| GalleryItemList::iterator | m_curItem |
This class handles creation of a thread scanning for supported images/videos, loading them and writing the content to an EGLStream.
Definition at line 407 of file Gallery.cpp.
| typedef std::list<GalleryItem*> ArgusSamples::GalleryThread::GalleryItemList |
Definition at line 428 of file Gallery.cpp.
Definition at line 416 of file Gallery.cpp.
| ArgusSamples::GalleryThread::GalleryThread | ( | ) |
Definition at line 489 of file Gallery.cpp.
| ArgusSamples::GalleryThread::~GalleryThread | ( | ) |
Definition at line 498 of file Gallery.cpp.
|
private |
Builds a list of gallery items by scanning the output path for image and video files.
The list is sorted with the newest files first.
Definition at line 537 of file Gallery.cpp.
| bool ArgusSamples::GalleryThread::execute | ( | Command | command | ) |
Execute a command.
Definition at line 520 of file Gallery.cpp.
|
inlineprivate |
Get the current output stream.
Definition at line 469 of file Gallery.cpp.
| bool ArgusSamples::GalleryThread::initialize | ( | ) |
Definition at line 503 of file Gallery.cpp.
|
private |
Definition at line 794 of file Gallery.cpp.
|
private |
Definition at line 815 of file Gallery.cpp.
| bool ArgusSamples::GalleryThread::shutdown | ( | ) |
Definition at line 512 of file Gallery.cpp.
|
private |
|
private |
Definition at line 742 of file Gallery.cpp.
|
private |
|
privatevirtual |
Definition at line 825 of file Gallery.cpp.
|
privatevirtual |
Definition at line 635 of file Gallery.cpp.
|
privatevirtual |
Definition at line 885 of file Gallery.cpp.
|
private |
Definition at line 805 of file Gallery.cpp.
|
private |
Definition at line 436 of file Gallery.cpp.
|
private |
command mutex
Definition at line 438 of file Gallery.cpp.
|
private |
command condition variable
Definition at line 437 of file Gallery.cpp.
|
private |
command list, written by parent thread
Definition at line 440 of file Gallery.cpp.
|
private |
Definition at line 446 of file Gallery.cpp.
|
private |
Definition at line 450 of file Gallery.cpp.
|
private |
Definition at line 444 of file Gallery.cpp.
|
private |
Definition at line 443 of file Gallery.cpp.
|
private |
Definition at line 449 of file Gallery.cpp.
|
private |
Definition at line 445 of file Gallery.cpp.
|
private |
Definition at line 447 of file Gallery.cpp.
1.8.1