source: svn/newcon3bcm2_21bu/BSEAV/lib/scte_127/bapp_gs.h @ 46

Last change on this file since 46 was 46, checked in by megakiss, 11 years ago

459Mhz로 OTC 주파수 변경

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2008, Broadcom Corporation
3 *     All Rights Reserved
4 *     Confidential Property of Broadcom Corporation
5 *
6 *  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7 *  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8 *  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9 *
10 * $brcm_Workfile:  $
11 * $brcm_Revision:  $
12 * $brcm_Date: $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log:  $
19 *
20 ***************************************************************************/
21#ifndef BAPP_GSE_H__
22#define BAPP_GSE_H__
23
24#include "scte_127.h"
25/* mapping to BAVC_Polarity */
26typedef enum GS_FIELD__ {
27        GS_FIELD_TOP,
28        GS_FIELD_BOT
29} GS_FIELD;
30
31#define GS_BUF_SIZE             4               /* 4 bytes each line */
32#define NUM_GS_BUF              5               /* maximux 5 lines */
33
34typedef struct 
35{
36        unsigned int    lines;
37        unsigned int    data[NUM_GS_BUF];
38} gs_field_buf_t;
39
40typedef struct bapp_gs *bapp_gs_t;
41
42bapp_gs_t bapp_gs_open(void* p_opaque_app);
43bool bapp_gs_init(bapp_gs_t p_gs); 
44void bapp_gs_enable(bapp_gs_t p_gs, bool enable);
45void bapp_gs_close(bapp_gs_t p_gs);
46uint32_t bapp_gs_set(bapp_gs_t p_gs, GS_FIELD field, gs_field_buf_t *pGESData);
47void bapp_gs_status(bapp_gs_t p_gs);
48uint32_t bapp_gs_set_scte_127 ( bapp_gs_t p_gs, scte_127_data *line_data);
49uint32_t bapp_gs_set_scte_127_list(bapp_gs_t p_gs, int count, pscte_127_data line_list[]);
50bool bapp_gs_reset(bapp_gs_t p_gs);
51
52#endif /* BAPP_GSE_H__ */
Note: See TracBrowser for help on using the repository browser.