|
static void | fill_after_frame (unsigned height, unsigned array_width, unsigned array_height, kvz_pixel *data) |
|
static int | read_and_fill_frame_data (FILE *file, unsigned width, unsigned height, unsigned bytes_per_sample, unsigned array_width, kvz_pixel *data) |
|
static void | swap_16b_buffer_bytes (kvz_pixel *input, int size) |
|
static void | shift_to_bitdepth (kvz_pixel *input, int size, int from_bitdepth, int to_bitdepth) |
|
static void | shift_to_bitdepth_and_spread (kvz_pixel *input, int size, int from_bitdepth, int to_bitdepth) |
|
static bool | machine_is_big_endian () |
|
static void | mask_to_bitdepth (kvz_pixel *buf, unsigned length, unsigned bitdepth) |
|
static int | yuv_io_read_plane (FILE *file, unsigned in_width, unsigned in_height, unsigned in_bitdepth, unsigned out_width, unsigned out_height, unsigned out_bitdepth, kvz_pixel *out_buf) |
|
static int | read_frame_header (FILE *input) |
|
int | yuv_io_read (FILE *file, unsigned in_width, unsigned out_width, unsigned in_bitdepth, unsigned out_bitdepth, kvz_picture *img_out, unsigned file_format) |
| Read a single frame from a file.
|
|
int | yuv_io_seek (FILE *file, unsigned frames, unsigned input_width, unsigned input_height, unsigned file_format) |
| Seek forward in a YUV file.
|
|
int | yuv_io_write (FILE *file, const kvz_picture *img, unsigned output_width, unsigned output_height) |
| Write a single frame to a file.
|
|