summaryrefstree
path: root/kernel/drivers/media/tdmb/mtv319/mtv319_ficdec.h
blob: dd44dfe27d5c4a0a5bd65f5e10c16c998bc57bcf (plain)
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
/*
 *
 * File name: mtv319_ficdec.h
 *
 * Description : RAONTECH FIC Decoder API header file.
 *
 * Copyright (C) (2013, RAONTECH)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation version 2.
 *
 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
 * kind, whether express or implied; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef __MTV319_FICDEC_H__
#define __MTV319_FICDEC_H__

#ifdef __cplusplus
extern "C"{
#endif

#include "mtv319.h"
#include "tdmb.h"

#define RTV_MAX_NUM_SUB_CH		64
#define RTV_MAX_ENSEMBLE_LABEL_SIZE	16
#define RTV_MAX_SERVICE_LABEL_SIZE	16

enum E_RTV_FIC_DEC_RET_TYPE {
	RTV_FIC_RET_GOING = 0,
	RTV_FIC_RET_DONE,
	RTV_FIC_RET_CRC_ERR,
	RTV_FIC_RET_SEMI_DONE
};

void rtvFICDEC_GetEnsembleInfo(struct ensemble_info_type *ensble,
				ULONG freq_khz);
enum E_RTV_FIC_DEC_RET_TYPE rtvFICDEC_Decode(U8 *fic_buf, UINT fic_size);
void rtvFICDEC_Init(void);



#ifdef __cplusplus
}
#endif

#endif /* __MTV319_FICDEC_H__ */