|
OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_img_io.h>
Public Member Functions | |
| raw_in () | |
| virtual | ~raw_in () |
| void | open (const char *filename) |
| virtual ui32 | read (const line_buf *line, ui32 comp_num=0) |
| void | close () |
| void | set_img_props (const size &s, ui32 bit_depth, bool is_signed) |
| ui32 | get_bit_depth () |
| bool | get_is_signed () |
| Public Member Functions inherited from ojph::image_in_base | |
| virtual | ~image_in_base () |
Private Attributes | |
| FILE * | fh |
| const char * | fname |
| ui32 | width |
| ui32 | height |
| ui32 | bit_depth |
| ui32 | bytes_per_sample |
| bool | is_signed |
| ui32 | cur_line |
| void * | buffer |
| size_t | buffer_size |
Definition at line 408 of file ojph_img_io.h.
|
inline |
Definition at line 411 of file ojph_img_io.h.
References bit_depth, buffer, buffer_size, bytes_per_sample, cur_line, fh, fname, height, is_signed, and width.
|
inlinevirtual |
Definition at line 422 of file ojph_img_io.h.
|
inlinevirtual |
Reimplemented from ojph::image_in_base.
Definition at line 431 of file ojph_img_io.h.
|
inline |
Definition at line 435 of file ojph_img_io.h.
|
inline |
Definition at line 436 of file ojph_img_io.h.
| void ojph::raw_in::open | ( | const char * | filename | ) |
Definition at line 1495 of file ojph_img_io.cpp.
References bit_depth, buffer, buffer_size, bytes_per_sample, cur_line, fh, fname, OJPH_ERROR, and width.
Referenced by main().
Implements ojph::image_in_base.
Definition at line 1510 of file ojph_img_io.cpp.
References buffer, bytes_per_sample, close(), fh, fname, ojph::line_buf::i32, is_signed, OJPH_ERROR, ojph_unused, and width.
Definition at line 1591 of file ojph_img_io.cpp.
References bit_depth, fh, ojph::size::h, is_signed, and ojph::size::w.
Referenced by main().
|
private |
Definition at line 441 of file ojph_img_io.h.
Referenced by get_bit_depth(), open(), raw_in(), and set_img_props().
|
private |
|
private |
Definition at line 446 of file ojph_img_io.h.
|
private |
Definition at line 442 of file ojph_img_io.h.
|
private |
Definition at line 444 of file ojph_img_io.h.
|
private |
Definition at line 439 of file ojph_img_io.h.
Referenced by close(), get_bit_depth(), get_is_signed(), open(), raw_in(), read(), and set_img_props().
|
private |
|
private |
Definition at line 441 of file ojph_img_io.h.
Referenced by raw_in().
|
private |
Definition at line 443 of file ojph_img_io.h.
Referenced by get_is_signed(), raw_in(), read(), and set_img_props().
|
private |
Definition at line 441 of file ojph_img_io.h.