#include <yuvstream.h>
Public Member Functions | |
| YUVStream () | |
| ~YUVStream () | |
| int | open_read (char *path) |
| int | open_write (char *path, char *pipe) |
| void | close_fd () |
| int | read_frame (uint8_t *yuv[3]) |
| int | read_frame_raw (uint8_t *data, long frame_size) |
| int | write_frame (uint8_t *yuv[3]) |
| int | write_frame_raw (uint8_t *data, long frame_size) |
| int | make_index () |
| int | seek_frame (int64_t frame_number) |
| int | read_header () |
| int | write_header () |
| int | get_interlace () |
| void | set_interlace (int width) |
| int | get_width () |
| void | set_width (int width) |
| int | get_height () |
| void | set_height (int height) |
| double | get_frame_rate () |
| void | set_frame_rate (double frame_rate) |
| double | get_aspect_ratio () |
| void | set_aspect_ratio (double aspect_ratio) |
Public Attributes | |
| int64_t | frame_count |
| int | stream_fd |
Private Attributes | |
| y4m_stream_info_t | stream_info |
| y4m_frame_info_t | frame_info |
| Pipe * | stream_pipe |
| ArrayList< off_t > * | frame_index |
Definition at line 13 of file yuvstream.h.
|
|
Definition at line 10 of file yuvstream.C. References frame_count, frame_index, frame_info, stream_fd, stream_info, and stream_pipe. |
|
|
Definition at line 19 of file yuvstream.C. References close_fd(), frame_index, frame_info, and stream_info. |
|
|
Definition at line 76 of file yuvstream.C. References Pipe::close(), stream_fd, and stream_pipe. Referenced by FileYUV::close_file(), and ~YUVStream(). |
|
|
Definition at line 265 of file yuvstream.C. References get_height(), get_width(), and stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 253 of file yuvstream.C. References stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 246 of file yuvstream.C. References stream_info. Referenced by get_aspect_ratio(), make_index(), FileYUV::open_file(), FileYUV::read_frame(), set_aspect_ratio(), and FileYUV::write_frames(). |
|
|
Definition at line 231 of file yuvstream.C. References stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 239 of file yuvstream.C. References stream_info. Referenced by get_aspect_ratio(), make_index(), FileYUV::open_file(), FileYUV::read_frame(), set_aspect_ratio(), and FileYUV::write_frames(). |
|
|
Definition at line 150 of file yuvstream.C. References frame_count, frame_index, get_height(), get_width(), read_frame(), and stream_fd. Referenced by open_read(). |
|
|
Definition at line 27 of file yuvstream.C. References frame_index, make_index(), read_header(), and stream_fd. Referenced by FileYUV::open_file(). |
|
||||||||||||
|
Definition at line 53 of file yuvstream.C. References Pipe::fd, Pipe::open_write(), stream_fd, and stream_pipe. Referenced by FileYUV::open_file(). |
|
|
Definition at line 87 of file yuvstream.C. References frame_info, stream_fd, and stream_info. Referenced by make_index(), and FileYUV::read_frame(). |
|
||||||||||||
|
Definition at line 101 of file yuvstream.C. References frame_info, stream_fd, and stream_info. Referenced by FileYUV::read_frame(). |
|
|
Definition at line 212 of file yuvstream.C. References stream_fd, and stream_info. Referenced by open_read(). |
|
|
Definition at line 189 of file yuvstream.C. References frame_count, frame_index, and stream_fd. Referenced by FileYUV::set_video_position(). |
|
|
Definition at line 275 of file yuvstream.C. References get_height(), get_width(), and stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 258 of file yuvstream.C. References stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 249 of file yuvstream.C. References stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 235 of file yuvstream.C. References stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 242 of file yuvstream.C. References stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 121 of file yuvstream.C. References frame_info, stream_fd, and stream_info. Referenced by FileYUV::close_file(), and FileYUV::write_frames(). |
|
||||||||||||
|
Definition at line 130 of file yuvstream.C. References frame_info, stream_fd, and stream_info. Referenced by FileYUV::write_frames(). |
|
|
Definition at line 221 of file yuvstream.C. References stream_fd, and stream_info. Referenced by FileYUV::open_file(). |
|
|
Definition at line 49 of file yuvstream.h. Referenced by make_index(), FileYUV::open_file(), seek_frame(), and YUVStream(). |
|
|
Definition at line 56 of file yuvstream.h. Referenced by make_index(), open_read(), seek_frame(), YUVStream(), and ~YUVStream(). |
|
|
Definition at line 54 of file yuvstream.h. Referenced by read_frame(), read_frame_raw(), write_frame(), write_frame_raw(), YUVStream(), and ~YUVStream(). |
|
|
Definition at line 51 of file yuvstream.h. Referenced by close_fd(), make_index(), open_read(), open_write(), read_frame(), read_frame_raw(), read_header(), seek_frame(), write_frame(), write_frame_raw(), write_header(), and YUVStream(). |
|
|
Definition at line 53 of file yuvstream.h. Referenced by get_aspect_ratio(), get_frame_rate(), get_height(), get_interlace(), get_width(), read_frame(), read_frame_raw(), read_header(), set_aspect_ratio(), set_frame_rate(), set_height(), set_interlace(), set_width(), write_frame(), write_frame_raw(), write_header(), YUVStream(), and ~YUVStream(). |
|
|
Definition at line 55 of file yuvstream.h. Referenced by close_fd(), open_write(), and YUVStream(). |
1.4.4