OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_img_io.h>
Public Member Functions | |
dpx_in () | |
virtual | ~dpx_in () |
void | open (const char *filename) |
virtual ui32 | read (const line_buf *line, ui32 comp_num) |
void | close () |
size | get_size () |
ui32 | get_num_components () |
ui32 | get_bit_depth (ui32 comp_num) |
bool | get_is_signed (ui32 comp_num) |
point | get_comp_subsampling (ui32 comp_num) |
![]() | |
virtual | ~image_in_base () |
virtual ui32 | read (const line_buf *line, ui32 comp_num)=0 |
virtual void | close () |
Definition at line 239 of file ojph_img_io.h.
|
inline |
Definition at line 242 of file ojph_img_io.h.
References bit_depth, cur_line, file_handle, fname, height, is_byte_swapping_necessary, is_signed, line_buffer, line_buffer_16bit_samples, num_comps, number_of_samples_per_line, subsampling, and width.
|
inlinevirtual |
Definition at line 264 of file ojph_img_io.h.
References close(), line_buffer, and line_buffer_16bit_samples.
|
inlinevirtual |
Reimplemented from ojph::image_in_base.
Definition at line 275 of file ojph_img_io.h.
References file_handle, and fname.
Definition at line 285 of file ojph_img_io.h.
References bit_depth, file_handle, and num_comps.
Referenced by main().
Definition at line 293 of file ojph_img_io.h.
References file_handle, num_comps, and subsampling.
Referenced by main().
|
inline |
Definition at line 289 of file ojph_img_io.h.
References file_handle, is_signed, and num_comps.
Referenced by main().
|
inline |
Definition at line 284 of file ojph_img_io.h.
References file_handle, and num_comps.
|
inline |
Definition at line 283 of file ojph_img_io.h.
References file_handle, height, and width.
Referenced by main().
void ojph::dpx_in::open | ( | const char * | filename | ) |
Definition at line 1458 of file ojph_img_io.cpp.
References ojph::be2le(), bit_depth, bitdepth_for_image_element_1, close(), colormetric_specification_for_image_element_1, cur_line, data_sign_for_image_element_1, descriptor_for_image_element_1, encoding_for_image_element_1, file_handle, fname, get_num_components(), height, image_orientation, is_byte_swapping_necessary, is_signed, line_buffer, line_buffer_16bit_samples, lines_per_image_element, num_comps, number_of_32_bit_words_per_line, number_of_image_elements, number_of_samples_per_line, offset_to_data_for_image_element_1, offset_to_image_data_in_bytes, OJPH_ERROR, packing_for_image_element_1, pixels_per_line, subsampling, total_image_file_size_in_bytes, transfer_characteristic_for_image_element_1, version, and width.
Referenced by main().
Implements ojph::image_in_base.
Definition at line 1700 of file ojph_img_io.cpp.
References ojph::be2le(), bitdepth_for_image_element_1, close(), cur_line, descriptor_for_image_element_1, file_handle, fname, ojph::line_buf::i32, is_byte_swapping_necessary, line_buffer, line_buffer_16bit_samples, num_comps, number_of_32_bit_words_per_line, number_of_samples_per_line, OJPH_ERROR, packing_for_image_element_1, ojph::line_buf::size, and width.
|
private |
Definition at line 307 of file ojph_img_io.h.
Referenced by dpx_in(), get_bit_depth(), and open().
|
private |
Definition at line 331 of file ojph_img_io.h.
|
private |
Definition at line 330 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 306 of file ojph_img_io.h.
|
private |
Definition at line 327 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 328 of file ojph_img_io.h.
|
private |
Definition at line 333 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 299 of file ojph_img_io.h.
Referenced by close(), dpx_in(), get_bit_depth(), get_comp_subsampling(), get_is_signed(), get_num_components(), get_size(), open(), and read().
|
private |
|
private |
Definition at line 303 of file ojph_img_io.h.
Referenced by dpx_in(), get_size(), and open().
|
private |
Definition at line 322 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 316 of file ojph_img_io.h.
|
private |
Definition at line 308 of file ojph_img_io.h.
Referenced by dpx_in(), get_is_signed(), and open().
|
private |
|
private |
|
private |
Definition at line 325 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 304 of file ojph_img_io.h.
Referenced by dpx_in(), get_bit_depth(), get_comp_subsampling(), get_is_signed(), get_num_components(), open(), and read().
|
private |
Definition at line 336 of file ojph_img_io.h.
|
private |
Definition at line 323 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 311 of file ojph_img_io.h.
|
private |
Definition at line 334 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 318 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 332 of file ojph_img_io.h.
|
private |
Definition at line 324 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 309 of file ojph_img_io.h.
Referenced by dpx_in(), get_comp_subsampling(), and open().
|
private |
Definition at line 320 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 329 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 319 of file ojph_img_io.h.
Referenced by open().
|
private |
Definition at line 303 of file ojph_img_io.h.
Referenced by dpx_in(), get_size(), open(), and read().