Project Name  Version 1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
jh_decoder.h
Go to the documentation of this file.
1 /******************************************************************************
2  * This program is protected under international and U.S. copyright laws as *
3  * an unpublished work. This program is confidential and proprietary to the *
4  * copyright owners. Reproduction or disclosure, in whole or in part, or the *
5  * production of derivative works therefrom without the express permission of *
6  * the copyright owners is prohibited. *
7  * *
8  * Copyright (C) 2011-2012 by Dolby Laboratories. *
9  * All rights reserved. *
10  ******************************************************************************/
11 
17 #ifndef _JH_DECODER_H
18 #define _JH_DECODER_H
19 
20 #include "jh_datatypes.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
33 typedef struct jh_decoder_params_ts {
34  int num;
35  int denom;
36  int columns;
37  int rows;
38  int loglum;
40 
53  void* buffer,
54  int size,
55  jh_monitor_t *monitor,
57  const jh_decoder_params_t *decoder_params,
58  jh_error_t* error
60 );
61 
67 void jh_dispose_image(
68  jh_image_t* image
69 );
70 
74 const char* jh_decoder_version();
75 
80 int jh_is_hdr(
81  void* buffer,
82  int size
83 );
84 
88 int jh_get_size(
89  void* buffer,
90  int size,
91  int *columns,
92  int *rows,
93  int *channels,
94  jh_error_t* error
96 );
97 
102  const jh_decoder_params_t *decoder_params,
103  int *mem,
105  jh_error_t *error
107 );
108  /* end of defgroup decodint */
110 
111 #ifdef __cplusplus
112 }
113 #endif
114 
115 #endif /*_JH_DECODER_H*/