OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_img_io.h>
Public Member Functions | |
raw_out () | |
virtual | ~raw_out () |
void | open (char *filename) |
void | configure (bool is_signed, ui32 bit_depth, ui32 width) |
virtual ui32 | write (const line_buf *line, ui32 comp_num=0) |
virtual void | close () |
![]() | |
virtual | ~image_out_base () |
virtual ui32 | write (const line_buf *line, ui32 comp_num)=0 |
virtual void | close () |
Private Attributes | |
FILE * | fh |
const char * | fname |
bool | is_signed |
ui32 | bit_depth |
ui32 | bytes_per_sample |
si32 | lower_val |
si32 | upper_val |
ui32 | width |
ui8 * | buffer |
ui32 | buffer_size |
Definition at line 675 of file ojph_img_io.h.
|
inline |
Definition at line 678 of file ojph_img_io.h.
References bit_depth, buffer, buffer_size, bytes_per_sample, fh, fname, is_signed, lower_val, upper_val, and width.
|
virtual |
Definition at line 1336 of file ojph_img_io.cpp.
References buffer, buffer_size, and close().
|
inlinevirtual |
Reimplemented from ojph::image_out_base.
Definition at line 694 of file ojph_img_io.h.
Referenced by ~raw_out().
Definition at line 1358 of file ojph_img_io.cpp.
References bit_depth, buffer, buffer_size, bytes_per_sample, fh, is_signed, lower_val, upper_val, and width.
Referenced by main().
void ojph::raw_out::open | ( | char * | filename | ) |
Definition at line 1348 of file ojph_img_io.cpp.
References fh, fname, and OJPH_ERROR.
Referenced by main().
Implements ojph::image_out_base.
Definition at line 1379 of file ojph_img_io.cpp.
References buffer, bytes_per_sample, fh, fname, ojph::line_buf::i32, lower_val, OJPH_ERROR, ojph_unused, upper_val, and width.
|
private |
Definition at line 700 of file ojph_img_io.h.
Referenced by configure(), and raw_out().
|
private |
Definition at line 703 of file ojph_img_io.h.
Referenced by configure(), raw_out(), write(), and ~raw_out().
|
private |
Definition at line 704 of file ojph_img_io.h.
Referenced by configure(), raw_out(), and ~raw_out().
|
private |
Definition at line 700 of file ojph_img_io.h.
Referenced by configure(), raw_out(), and write().
|
private |
Definition at line 697 of file ojph_img_io.h.
Referenced by close(), configure(), open(), raw_out(), and write().
|
private |
|
private |
Definition at line 699 of file ojph_img_io.h.
Referenced by configure(), and raw_out().
|
private |
Definition at line 701 of file ojph_img_io.h.
Referenced by configure(), raw_out(), and write().
|
private |
Definition at line 701 of file ojph_img_io.h.
Referenced by configure(), raw_out(), and write().
|
private |
Definition at line 702 of file ojph_img_io.h.
Referenced by configure(), raw_out(), and write().