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

static 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)
 
static const char * get_file_extension (const char *filename)
 
static bool is_matching (const char *ref, const char *other)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ get_arguments()

static 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 
)
static

◆ get_file_extension()

static const char * get_file_extension ( const char *  filename)
static

Definition at line 137 of file ojph_expand.cpp.

References OJPH_ERROR.

Referenced by main().

◆ is_matching()

static bool is_matching ( const char *  ref,
const char *  other 
)
static

Definition at line 150 of file ojph_expand.cpp.

Referenced by main().

◆ main()