Project Name
Version 1.0
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
src
jh_encoder.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_ENCODER_H
18
#define _JH_ENCODER_H
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
#include "
jh_datatypes.h
"
25
34
typedef
struct
jh_encoder_params_ts
{
35
jh_rect_t
r
;
36
unsigned
base_quality
;
37
unsigned
subband_quality
;
38
float
samp2nits
;
39
int
fast_calculation
;
41
float
noise_floor
;
44
float
chroma_minmax
[4];
46
int
reserved
;
47
}
jh_encoder_params_t
;
48
49
53
int
jh_encode
(
54
const
jh_encoder_params_t
*encoder_params,
55
jh_monitor_t
*monitor,
57
jh_image_t
*hdri,
59
jh_image_t
*sdri,
60
jh_stream_t
*stream,
61
jh_error_t
* error
63
);
64
68
int
jh_enc_memory_estimate
(
69
const
size_t
pixels,
70
const
jh_encoder_params_t
*encoder_params,
71
int
*mem,
73
jh_error_t
*error
75
);
76
80
const
char
*
jh_encoder_version
();
81
85
int
jh_encoder_set_default
(
86
jh_encoder_params_t
*params,
87
jh_error_t
*error
89
);
90
/* end of defgroup encodint */
92
93
#ifdef __cplusplus
94
}
95
#endif
96
97
#endif
/*_JH_ENCODER_H*/
Generated on Wed Jul 18 2012 17:06:52 for Project Name by
1.8.1.2