Music Hub ..
A session-wide music playback service
Loading...
Searching...
No Matches
lomiri::MediaHub::EglVideoSinkPrivate Class Reference
Inheritance diagram for lomiri::MediaHub::EglVideoSinkPrivate:
Collaboration diagram for lomiri::MediaHub::EglVideoSinkPrivate:

Public Member Functions

 EglVideoSinkPrivate (uint32_t gl_texture, PlayerKey key, EglVideoSink *q)
 ~EglVideoSinkPrivate ()
bool import_buffer (const BufferData *buf_data)
Public Member Functions inherited from lomiri::MediaHub::VideoSinkPrivate
virtual ~VideoSinkPrivate ()=default

Public Attributes

uint32_t gl_texture
promise< BufferDataprom_buff
future< BufferDatafut_buff
int sock_fd
thread sock_thread
EGLImageKHR egl_image
int buf_fd
PFNEGLCREATEIMAGEKHRPROC _eglCreateImageKHR
PFNEGLDESTROYIMAGEKHRPROC _eglDestroyImageKHR
PFNGLEGLIMAGETARGETTEXTURE2DOESPROC _glEGLImageTargetTexture2DOES
Public Attributes inherited from lomiri::MediaHub::VideoSinkPrivate
QMatrix4x4 m_transformationMatrix

Friends

class EglVideoSink

Detailed Description

Definition at line 45 of file egl_video_sink.cpp.

Constructor & Destructor Documentation

◆ EglVideoSinkPrivate()

lomiri::MediaHub::EglVideoSinkPrivate::EglVideoSinkPrivate ( uint32_t gl_texture,
PlayerKey key,
EglVideoSink * q )
inline

Definition at line 156 of file egl_video_sink.cpp.

References _eglCreateImageKHR, _eglDestroyImageKHR, _glEGLImageTargetTexture2DOES, buf_fd, egl_image, EglVideoSink, fut_buff, gl_texture, MH_DEBUG, prom_buff, sock_fd, and sock_thread.

Here is the call graph for this function:

◆ ~EglVideoSinkPrivate()

lomiri::MediaHub::EglVideoSinkPrivate::~EglVideoSinkPrivate ( )
inline

Definition at line 215 of file egl_video_sink.cpp.

References _eglDestroyImageKHR, buf_fd, egl_image, sock_fd, and sock_thread.

Member Function Documentation

◆ import_buffer()

◆ EglVideoSink

friend class EglVideoSink
friend

Definition at line 47 of file egl_video_sink.cpp.

References EglVideoSink.

Referenced by EglVideoSink, and EglVideoSinkPrivate().

Member Data Documentation

◆ _eglCreateImageKHR

PFNEGLCREATEIMAGEKHRPROC lomiri::MediaHub::EglVideoSinkPrivate::_eglCreateImageKHR

Definition at line 275 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate(), and import_buffer().

◆ _eglDestroyImageKHR

PFNEGLDESTROYIMAGEKHRPROC lomiri::MediaHub::EglVideoSinkPrivate::_eglDestroyImageKHR

Definition at line 276 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate(), and ~EglVideoSinkPrivate().

◆ _glEGLImageTargetTexture2DOES

PFNGLEGLIMAGETARGETTEXTURE2DOESPROC lomiri::MediaHub::EglVideoSinkPrivate::_glEGLImageTargetTexture2DOES

Definition at line 277 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate(), and import_buffer().

◆ buf_fd

int lomiri::MediaHub::EglVideoSinkPrivate::buf_fd

Definition at line 274 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate(), import_buffer(), and ~EglVideoSinkPrivate().

◆ egl_image

EGLImageKHR lomiri::MediaHub::EglVideoSinkPrivate::egl_image

Definition at line 273 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate(), import_buffer(), and ~EglVideoSinkPrivate().

◆ fut_buff

future<BufferData> lomiri::MediaHub::EglVideoSinkPrivate::fut_buff

Definition at line 270 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate().

◆ gl_texture

uint32_t lomiri::MediaHub::EglVideoSinkPrivate::gl_texture

Definition at line 268 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate(), and import_buffer().

◆ prom_buff

promise<BufferData> lomiri::MediaHub::EglVideoSinkPrivate::prom_buff

Definition at line 269 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate().

◆ sock_fd

int lomiri::MediaHub::EglVideoSinkPrivate::sock_fd

Definition at line 271 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate(), and ~EglVideoSinkPrivate().

◆ sock_thread

thread lomiri::MediaHub::EglVideoSinkPrivate::sock_thread

Definition at line 272 of file egl_video_sink.cpp.

Referenced by EglVideoSinkPrivate(), and ~EglVideoSinkPrivate().


The documentation for this class was generated from the following file:
  • /build/media-hub-4.7~20260316060616.27~fbd9644+ubports26.04.1/src/lib/MediaHub/egl_video_sink.cpp