Refer to transitions in the presence-or-lack-thereof of progressive flags on MPEG...
[HandBrake.git] / libhb / lang.h
blob36bf2bf1ee909fda66705e5655a8a627cb4608e9
1 /* $Id: lang.h,v 1.1 2004/08/02 07:19:05 titer Exp $
3 This file is part of the HandBrake source code.
4 Homepage: <http://handbrake.m0k.org/>.
5 It may be used under the terms of the GNU General Public License. */
7 #ifndef HB_LANG_H
8 #define HB_LANG_H
10 typedef struct iso639_lang_t
12 char * eng_name; /* Description in English */
13 char * native_name; /* Description in native language */
14 char * iso639_1; /* ISO-639-1 (2 characters) code */
15 char * iso639_2; /* ISO-639-2/t (3 character) code */
16 char * iso639_2b; /* ISO-639-2/b code (if different from above) */
18 } iso639_lang_t;
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 /* find language associated with ISO-639-1 language code */
24 iso639_lang_t * lang_for_code( int code );
26 /* find language associated with ISO-639-2 language code */
27 iso639_lang_t * lang_for_code2( const char *code2 );
29 /* ISO-639-1 code for language */
30 int lang_to_code(const iso639_lang_t *lang);
32 iso639_lang_t * lang_for_english( const char * english );
33 #ifdef __cplusplus
35 #endif
36 #endif