OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_img_io.h>
Public Member Functions | |
ppm_out () | |
virtual | ~ppm_out () |
void | open (char *filename) |
void | configure (ui32 width, ui32 height, ui32 num_components, ui32 bit_depth) |
virtual ui32 | write (const line_buf *line, ui32 comp_num) |
virtual void | close () |
![]() | |
virtual | ~image_out_base () |
Private Attributes | |
FILE * | fh |
const char * | fname |
ui32 | width |
ui32 | height |
ui32 | num_components |
ui32 | bit_depth |
ui32 | bytes_per_sample |
ui8 * | buffer |
ui32 | buffer_size |
ui32 | cur_line |
ui32 | samples_per_line |
ui32 | bytes_per_line |
Definition at line 318 of file ojph_img_io.h.
|
inline |
Definition at line 321 of file ojph_img_io.h.
References bit_depth, buffer, buffer_size, bytes_per_line, bytes_per_sample, cur_line, fh, fname, height, num_components, samples_per_line, and width.
|
inlinevirtual |
Definition at line 331 of file ojph_img_io.h.
|
inlinevirtual |
Reimplemented from ojph::image_out_base.
Definition at line 342 of file ojph_img_io.h.
Referenced by ~ppm_out().
Definition at line 291 of file ojph_img_io.cpp.
References bit_depth, bytes_per_line, bytes_per_sample, fh, height, num_components, OJPH_ERROR, samples_per_line, and width.
Referenced by main().
void ojph::ppm_out::open | ( | char * | filename | ) |
Definition at line 231 of file ojph_img_io.cpp.
References bit_depth, buffer, buffer_size, bytes_per_sample, cur_line, fh, fname, height, num_components, OJPH_ERROR, OJPH_WARN, and width.
Referenced by main().
Implements ojph::image_out_base.
Definition at line 308 of file ojph_img_io.cpp.
References ojph::be2le(), bit_depth, buffer, bytes_per_sample, fh, fname, ojph::line_buf::i32, num_components, OJPH_ERROR, samples_per_line, and width.
|
private |
Definition at line 348 of file ojph_img_io.h.
Referenced by configure(), open(), ppm_out(), and write().
|
private |
Definition at line 349 of file ojph_img_io.h.
Referenced by open(), ppm_out(), write(), and ~ppm_out().
|
private |
Definition at line 350 of file ojph_img_io.h.
|
private |
Definition at line 351 of file ojph_img_io.h.
Referenced by configure(), and ppm_out().
|
private |
Definition at line 348 of file ojph_img_io.h.
Referenced by configure(), open(), ppm_out(), and write().
|
private |
Definition at line 351 of file ojph_img_io.h.
|
private |
Definition at line 345 of file ojph_img_io.h.
Referenced by close(), configure(), open(), ppm_out(), and write().
|
private |
|
private |
Definition at line 347 of file ojph_img_io.h.
Referenced by configure(), open(), and ppm_out().
|
private |
Definition at line 347 of file ojph_img_io.h.
Referenced by configure(), open(), ppm_out(), and write().
|
private |
Definition at line 351 of file ojph_img_io.h.
Referenced by configure(), ppm_out(), and write().
|
private |
Definition at line 347 of file ojph_img_io.h.
Referenced by configure(), open(), ppm_out(), and write().