|
OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_params.h>
Public Member Functions | |
| param_siz (local::param_siz *p) | |
| void | set_image_extent (point extent) |
| void | set_tile_size (size s) |
| void | set_image_offset (point offset) |
| void | set_tile_offset (point offset) |
| void | set_num_components (ui32 num_comps) |
| void | set_component (ui32 comp_num, const point &downsampling, ui32 bit_depth, bool is_signed) |
| point | get_image_extent () const |
| point | get_image_offset () const |
| size | get_tile_size () const |
| point | get_tile_offset () const |
| ui32 | get_num_components () const |
| ui32 | get_bit_depth (ui32 comp_num) const |
| bool | is_signed (ui32 comp_num) const |
| point | get_downsampling (ui32 comp_num) const |
| ui32 | get_recon_width (ui32 comp_num) const |
| ui32 | get_recon_height (ui32 comp_num) const |
Private Attributes | |
| local::param_siz * | state |
Definition at line 68 of file ojph_params.h.
|
inline |
Definition at line 71 of file ojph_params.h.
References state.
Referenced by ojph::codestream::access_siz().
Definition at line 129 of file ojph_params.cpp.
References ojph::local::param_siz::get_bit_depth(), and state.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), get_j2c_bit_depth(), main(), and TEST().
Definition at line 141 of file ojph_params.cpp.
References ojph::local::param_siz::get_downsampling(), and state.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), get_j2c_downsampling_x(), get_j2c_downsampling_y(), and main().
| point ojph::param_siz::get_image_extent | ( | ) | const |
Definition at line 99 of file ojph_params.cpp.
References ojph::point::point(), state, ojph::local::param_siz::Xsiz, and ojph::local::param_siz::Ysiz.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), ojph::local::codestream::finalize_alloc(), LLVMFuzzerTestOneInput(), main(), and ojph::local::codestream::pre_alloc().
| point ojph::param_siz::get_image_offset | ( | ) | const |
Definition at line 105 of file ojph_params.cpp.
References ojph::point::point(), state, ojph::local::param_siz::XOsiz, and ojph::local::param_siz::YOsiz.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), ojph::local::codestream::finalize_alloc(), LLVMFuzzerTestOneInput(), main(), and ojph::local::codestream::pre_alloc().
| ui32 ojph::param_siz::get_num_components | ( | ) | const |
Definition at line 123 of file ojph_params.cpp.
References ojph::local::param_siz::Csiz, and state.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), ojph::local::codestream::finalize_alloc(), get_j2c_bit_depth(), get_j2c_downsampling_x(), get_j2c_downsampling_y(), get_j2c_is_signed(), get_j2c_num_components(), LLVMFuzzerTestOneInput(), main(), ojph::local::codestream::pre_alloc(), and TEST().
Definition at line 153 of file ojph_params.cpp.
References ojph::local::param_siz::get_recon_height(), and state.
Referenced by get_j2c_height(), LLVMFuzzerTestOneInput(), main(), and TEST().
Definition at line 147 of file ojph_params.cpp.
References ojph::local::param_siz::get_recon_width(), and state.
Referenced by get_j2c_width(), LLVMFuzzerTestOneInput(), main(), and TEST().
| point ojph::param_siz::get_tile_offset | ( | ) | const |
Definition at line 117 of file ojph_params.cpp.
References ojph::point::point(), state, ojph::local::param_siz::XTOsiz, and ojph::local::param_siz::YTOsiz.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), ojph::local::codestream::finalize_alloc(), and ojph::local::codestream::pre_alloc().
| size ojph::param_siz::get_tile_size | ( | ) | const |
Definition at line 111 of file ojph_params.cpp.
References ojph::size::size(), state, ojph::local::param_siz::XTsiz, and ojph::local::param_siz::YTsiz.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), ojph::local::codestream::finalize_alloc(), and ojph::local::codestream::pre_alloc().
| bool ojph::param_siz::is_signed | ( | ui32 | comp_num | ) | const |
Definition at line 135 of file ojph_params.cpp.
References ojph::local::param_siz::is_signed(), and state.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), get_j2c_is_signed(), main(), and set_component().
| void ojph::param_siz::set_component | ( | ui32 | comp_num, |
| const point & | downsampling, | ||
| ui32 | bit_depth, | ||
| bool | is_signed ) |
Definition at line 92 of file ojph_params.cpp.
References is_signed(), ojph::local::param_siz::set_comp_info(), and state.
Referenced by LLVMFuzzerTestOneInput(), main(), and TEST().
| void ojph::param_siz::set_image_extent | ( | point | extent | ) |
Definition at line 62 of file ojph_params.cpp.
References ojph::local::param_siz::set_image_extent(), and state.
Referenced by LLVMFuzzerTestOneInput(), main(), and TEST().
| void ojph::param_siz::set_image_offset | ( | point | offset | ) |
Definition at line 74 of file ojph_params.cpp.
References ojph::local::param_siz::set_image_offset(), and state.
| void ojph::param_siz::set_num_components | ( | ui32 | num_comps | ) |
Definition at line 86 of file ojph_params.cpp.
References ojph::local::param_siz::set_num_components(), and state.
Referenced by LLVMFuzzerTestOneInput(), main(), and TEST().
| void ojph::param_siz::set_tile_offset | ( | point | offset | ) |
Definition at line 80 of file ojph_params.cpp.
References ojph::local::param_siz::set_tile_offset(), and state.
| void ojph::param_siz::set_tile_size | ( | size | s | ) |
Definition at line 68 of file ojph_params.cpp.
References ojph::local::param_siz::set_tile_size(), and state.
|
private |
Definition at line 97 of file ojph_params.h.
Referenced by get_bit_depth(), get_downsampling(), get_image_extent(), get_image_offset(), get_num_components(), get_recon_height(), get_recon_width(), get_tile_offset(), get_tile_size(), is_signed(), param_siz(), set_component(), set_image_extent(), set_image_offset(), set_num_components(), set_tile_offset(), and set_tile_size().