⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 j2g_fiddle.h

📁 JPEG2000实现的源码
💻 H
字号:
/*****************************************************************************/
/* Copyright 2000, Hewlett-Packard Company                                   */
/* All rights reserved                                                       */
/* File: "j2g_fiddle.h"                                                      */
/* Description: Private header file for \"j2g_fiddle.c\"; provides a         */
/*              superficial, yet sufficient structural model for any         */
/*              JPEG2000 codestream.                                         */
/* Author: David Taubman                                                     */
/* Affiliation: Hewlett-Packard and                                          */
/*              The University of New South Wales, Australia                 */
/* Version: VM6.0                                                            */
/* Last Revised: 27 January, 2000                                            */
/*****************************************************************************/

#ifndef J2G_FIDDLE_H
#define J2G_FIDDLE_H
#include <ifc.h>

/*****************************************************************************/
/*                                  j2g_marker                               */
/*****************************************************************************/

typedef
  struct j2g_marker {
    std_ushort marker_code;
    int total_bytes;
    std_byte *buf;
    std_byte *buf_handle; /* Deallocate using the handle. */
    struct j2g_marker *next;
  } j2g_marker, *j2g_marker_ptr;

/*****************************************************************************/
/*                                  j2g_packet                               */
/*****************************************************************************/

typedef
  struct j2g_packet {
    int head_bytes;
    int packet_bytes;
    std_byte *buf;
    std_byte *buf_handle; /* Deallocate using the handle. */
    struct j2g_packet *next;
  } j2g_packet, *j2g_packet_ptr;

/*****************************************************************************/
/*                                  j2g_tilepart                             */
/*****************************************************************************/

typedef
  struct j2g_tilepart {
    int tnum;
    int tpart;
    int num_tparts;
    int uses_eph, uses_resync;
    std_uint tile_length;
    j2g_marker_ptr markers;
    j2g_packet_ptr packets;
    int num_packets;
    struct j2g_tilepart *next;
  } j2g_tilepart, *j2g_tilepart_ptr;

/*****************************************************************************/
/*                                 j2g_codestream                            */
/*****************************************************************************/

typedef
  struct j2g_codestream {
    j2g_marker_ptr global_markers;
    j2g_tilepart_ptr tileparts;
    int global_eph, global_resync;
    int total_tiles;
    int total_tileparts;
    int total_packets;
  } j2g_codestream, *j2g_codestream_ptr;

#endif /* J2G_FIDDLE_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -