Ardour  9.0-pre0-582-g084a23a80d
VideoImageFrame Class Reference

a single video-frame to be displayed in the video timeline More...

#include <video_image_frame.h>

Inheritance diagram for VideoImageFrame:
[legend]

Public Member Functions

 VideoImageFrame (PublicEditor &, ArdourCanvas::Container &, int, int, std::string, std::string)
 
virtual ~VideoImageFrame ()
 
void set_position (samplepos_t)
 
void set_videoframe (samplepos_t, int rightend=-1)
 
samplepos_t get_video_frame_number ()
 
int get_height ()
 
int get_width ()
 
int get_rightend ()
 
samplepos_t get_req_frame ()
 
std::string get_video_server_url ()
 
std::string get_video_filename ()
 
void http_download_done (char *)
 

Public Attributes

PBD::Signal< void()> ImgChanged
 

Protected Member Functions

void reposition ()
 
void exposeimg ()
 
void fill_frame (const uint8_t r, const uint8_t g, const uint8_t b)
 
void draw_line ()
 
void draw_x ()
 
void cut_rightend ()
 
void http_get (samplepos_t fn)
 
void http_get_again (samplepos_t fn)
 

Protected Attributes

PublicEditoreditor
 
ArdourCanvas::Container_parent
 
ArdourCanvas::Imageimage
 
std::shared_ptr< ArdourCanvas::Image::Dataimg
 
int clip_width
 
int clip_height
 
int rightend
 
std::string video_server_url
 
std::string video_filename
 
double unit_position
 
samplepos_t sample_position
 
samplepos_t video_frame_number
 
samplepos_t req_video_frame_number
 
samplepos_t want_video_frame_number
 
bool queued_request
 
pthread_mutex_t request_lock
 
pthread_mutex_t queue_lock
 
pthread_t thread_id_tt
 
bool thread_active
 

Detailed Description

a single video-frame to be displayed in the video timeline

Definition at line 44 of file video_image_frame.h.

Constructor & Destructor Documentation

◆ VideoImageFrame()

VideoImageFrame::VideoImageFrame ( PublicEditor ,
ArdourCanvas::Container ,
int  ,
int  ,
std::string  ,
std::string   
)

◆ ~VideoImageFrame()

virtual VideoImageFrame::~VideoImageFrame ( )
virtual

Member Function Documentation

◆ cut_rightend()

void VideoImageFrame::cut_rightend ( )
protected

◆ draw_line()

void VideoImageFrame::draw_line ( )
protected

◆ draw_x()

void VideoImageFrame::draw_x ( )
protected

◆ exposeimg()

void VideoImageFrame::exposeimg ( )
protected

◆ fill_frame()

void VideoImageFrame::fill_frame ( const uint8_t  r,
const uint8_t  g,
const uint8_t  b 
)
protected

◆ get_height()

int VideoImageFrame::get_height ( )
inline

Definition at line 54 of file video_image_frame.h.

◆ get_req_frame()

samplepos_t VideoImageFrame::get_req_frame ( )
inline

Definition at line 57 of file video_image_frame.h.

◆ get_rightend()

int VideoImageFrame::get_rightend ( )
inline

Definition at line 56 of file video_image_frame.h.

◆ get_video_filename()

std::string VideoImageFrame::get_video_filename ( )
inline

Definition at line 59 of file video_image_frame.h.

◆ get_video_frame_number()

samplepos_t VideoImageFrame::get_video_frame_number ( )
inline

Definition at line 52 of file video_image_frame.h.

◆ get_video_server_url()

std::string VideoImageFrame::get_video_server_url ( )
inline

Definition at line 58 of file video_image_frame.h.

◆ get_width()

int VideoImageFrame::get_width ( )
inline

Definition at line 55 of file video_image_frame.h.

◆ http_download_done()

void VideoImageFrame::http_download_done ( char *  )

◆ http_get()

void VideoImageFrame::http_get ( samplepos_t  fn)
protected

◆ http_get_again()

void VideoImageFrame::http_get_again ( samplepos_t  fn)
protected

◆ reposition()

void VideoImageFrame::reposition ( )
protected

◆ set_position()

void VideoImageFrame::set_position ( samplepos_t  )

◆ set_videoframe()

void VideoImageFrame::set_videoframe ( samplepos_t  ,
int  rightend = -1 
)

Member Data Documentation

◆ _parent

ArdourCanvas::Container* VideoImageFrame::_parent
protected

Definition at line 67 of file video_image_frame.h.

◆ clip_height

int VideoImageFrame::clip_height
protected

Definition at line 72 of file video_image_frame.h.

◆ clip_width

int VideoImageFrame::clip_width
protected

Definition at line 71 of file video_image_frame.h.

◆ editor

PublicEditor& VideoImageFrame::editor
protected

Definition at line 66 of file video_image_frame.h.

◆ image

ArdourCanvas::Image* VideoImageFrame::image
protected

Definition at line 68 of file video_image_frame.h.

◆ img

std::shared_ptr<ArdourCanvas::Image::Data> VideoImageFrame::img
protected

Definition at line 69 of file video_image_frame.h.

◆ ImgChanged

PBD::Signal<void()> VideoImageFrame::ImgChanged

Definition at line 62 of file video_image_frame.h.

◆ queue_lock

pthread_mutex_t VideoImageFrame::queue_lock
protected

Definition at line 99 of file video_image_frame.h.

◆ queued_request

bool VideoImageFrame::queued_request
protected

Definition at line 96 of file video_image_frame.h.

◆ req_video_frame_number

samplepos_t VideoImageFrame::req_video_frame_number
protected

Definition at line 94 of file video_image_frame.h.

◆ request_lock

pthread_mutex_t VideoImageFrame::request_lock
protected

Definition at line 98 of file video_image_frame.h.

◆ rightend

int VideoImageFrame::rightend
protected

Definition at line 73 of file video_image_frame.h.

◆ sample_position

samplepos_t VideoImageFrame::sample_position
protected

Definition at line 79 of file video_image_frame.h.

◆ thread_active

bool VideoImageFrame::thread_active
protected

Definition at line 102 of file video_image_frame.h.

◆ thread_id_tt

pthread_t VideoImageFrame::thread_id_tt
protected

Definition at line 101 of file video_image_frame.h.

◆ unit_position

double VideoImageFrame::unit_position
protected

Definition at line 78 of file video_image_frame.h.

◆ video_filename

std::string VideoImageFrame::video_filename
protected

Definition at line 76 of file video_image_frame.h.

◆ video_frame_number

samplepos_t VideoImageFrame::video_frame_number
protected

Definition at line 80 of file video_image_frame.h.

◆ video_server_url

std::string VideoImageFrame::video_server_url
protected

Definition at line 75 of file video_image_frame.h.

◆ want_video_frame_number

samplepos_t VideoImageFrame::want_video_frame_number
protected

Definition at line 95 of file video_image_frame.h.


The documentation for this class was generated from the following file: