OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph_expand.cpp File Reference
#include <ctime>
#include <iostream>
#include <cstdlib>
#include "ojph_arg.h"
#include "ojph_mem.h"
#include "ojph_img_io.h"
#include "ojph_file.h"
#include "ojph_codestream.h"
#include "ojph_params.h"
#include "ojph_message.h"

Go to the source code of this file.

Classes

struct  ui32_list_interpreter
 

Functions

bool get_arguments (int argc, char *argv[], char *&input_filename, char *&output_filename, ojph::ui32 &skipped_res_for_read, ojph::ui32 &skipped_res_for_recon, bool &resilient)
 
const char * get_file_extension (const char *filename)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ get_arguments()

bool get_arguments ( int  argc,
char *  argv[],
char *&  input_filename,
char *&  output_filename,
ojph::ui32 skipped_res_for_read,
ojph::ui32 skipped_res_for_recon,
bool &  resilient 
)

◆ get_file_extension()

const char * get_file_extension ( const char *  filename)

Definition at line 135 of file ojph_expand.cpp.

References OJPH_ERROR.

Referenced by main().

◆ main()