iul_misc.h
1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*****************************************************************************
*
* Filename:
* ---------
* iul_misc.h
*
* Project:
* --------
* N/A
*
* Description:
* ------------
* Image Utility Library: miscellaneous APIs
*
* Author:
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by ClearCase. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* $Log$
*
* 05 24 2011 rey.su
* removed!
* Remove the include of kal_release.h and kal_non_specific_general_types.h.
*
* 11 23 2010 rey.su
* removed!
* .
*
* 10 26 2010 rey.su
* removed!
* .
*
* 10 18 2010 rey.su
* removed!
* Rey: RHR "add" stage.
*
* removed!
* removed!
*
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by ClearCase. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
/// Deprecation Notice: 2010.10.20
/// This file will be deprecated on 11A and later SW branches.
/// Users must use new APIs after W1112.
#ifndef __IUL_MISC_H__
#define __IUL_MISC_H__
#include "iul_img_misc.h"
#include "kal_general_types.h"
/**
* Get the encode process of a JPEG image.
*
* @param file STFSAL pointer to the JPEG image
*
* @return
* IUL_JPEG_ENCODE_PROCESS_BASELINE: baseline
* IUL_JPEG_ENCODE_PROCESS_PROGRESSIVE: progressive
* IUL_JPEG_ENCODE_PROCESS_UNRECOGNIZED: other unsupported encode process, such as lossless
* 0: file access error
*
* @remarks
* The file MUST be provided with a read buffer using the API FSAL_SetBuffer,
* otherwise, an assertion will be invoked.
*
* @date 2008.07.18
*/
kal_uint32 iul_get_jpeg_encode_process(STFSAL *file);
#endif /// __IUL_MISC_H__