OpenJPEG  2.5.0
Functions
ihdrbox_manager.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "ihdrbox_manager.h"

Functions

ihdrbox_param_tgene_ihdrbox (metadatalist_param_t *metadatalist, Byte_t *jpipstream)
 generate ihdr box More...
 

Function Documentation

◆ gene_ihdrbox()

ihdrbox_param_t* gene_ihdrbox ( metadatalist_param_t metadatalist,
Byte_t jpipstream 
)

generate ihdr box

Parameters
[in]metadatalistmetadata list pointer
[in]jpipstreamJPT/JPP stream
Returns
pointer to generated ihdr box

References big2(), big4(), metadata_param::boxlist, ihdrbox_param::bpc, metadatalist_param::first, gene_boxbyTypeinStream(), get_DBoxlen(), get_DBoxoff(), ihdrbox_param::height, ihdrbox_param::nc, metadata_param::next, search_box(), and ihdrbox_param::width.

Referenced by decode_jpip().