source: svn/trunk/newcon3bcm2_21bu/dta/src/dcc/bcmDccTransportParse.h

Last change on this file was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 3.0 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2002, 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: bcmDccTransportParse.h $
11 * $brcm_Revision: \main\SanJose_MSTV_Devel\1 $
12 * $brcm_Date: 3/12/02 4:45p $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log: $
19 *
20 * \main\SanJose_MSTV_Devel\1   3/12/02 4:45p erikg
21 * Merge from SanJose_MSTV_Devel_erikg_mpegccxport2_2002_03_06_1118_38
22 *
23 * \main\SanJose_MSTV_Devel_erikg_mpegccxport2_2002_03_06_1118_38\3   3/12/02 2:57p erikg
24 * debugged using base platform
25 *
26 * \main\SanJose_MSTV_Devel_erikg_mpegccxport2_2002_03_06_1118_38\2   3/11/02 2:21p erikg
27 * added comments
28 *
29 * \main\SanJose_MSTV_Devel_erikg_mpegccxport2_2002_03_06_1118_38\1   3/7/02 4:21p erikg
30 * more fleshing out
31 *
32 ***************************************************************************/
33
34
35#ifndef BCMDCCTRANSPORTPARSE_H
36#define BCMDCCTRANSPORTPARSE_H
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42
43
44/**************************************************************************
45 *
46 * Function:            find_next_start_code
47 *
48 * Inputs:                     
49 *                                      pInputCur                       - input buffer w/ User Data
50 *                                      InputCurSize            - num bytes of input buffer
51 *
52 * Outputs:             
53 *                                      pStartCodeIndex         - index of start code returned here
54 *
55 * Returns:                     1 iff the next start code was found, 0 otherwise
56 *
57 * Description:
58 *
59 * This function finds the next start code in a buffer.
60 *
61 **************************************************************************/
62int NextStartCode(
63        unsigned char *         pInputCur,
64        unsigned int            InputCurSize,
65        unsigned int *          pStartCodeIndex) ;
66
67
68/**************************************************************************
69 *
70 * Function:            ParseOnePicUserDataForCC
71 *
72 * Inputs:                     
73 *                                      pObj                            - transport object
74 *                                      pInputBuf                       - input buffer w/ User Data
75 *                                      InputBufSize            - num bytes of input buffer
76 *                                      ulPicInfo                       - PicInfo from bcmMPIReadCCStatus
77 *
78 * Outputs:             
79 *                                      p608BufInfo                     - 608 output
80 *                                      pDTVCCBufInfo           - DTVCC output
81 *
82 * Returns:                     dccSuccess or a standard DCCERR error code
83 *
84 * Description:
85 *
86 * This function parses a buffer containing one MPEG picture user data.
87 *
88 **************************************************************************/
89DCCERR
90ParseOnePicUserDataForCC(
91        DCC_TRANSPORT_OBJECT *  pObj,                           /* transport session object */
92        unsigned char *                 pInputBuf,                      /* input buffer, remaining */
93        unsigned int                    InputBufSize,           /* input buffer size, remaining */
94//      unsigned long                   ulPicInfo,                      /* picture info */
95        DCC_OUTBUF_INFO *               p608BufInfo,            /* output buffer info for 608 type */
96        DCC_OUTBUF_INFO *               pDTVCCBufInfo);         /* output buffer info for DTVCC type */
97
98
99
100#ifdef __cplusplus
101}
102#endif
103
104#endif /* BCMDCCTRANSPORTPARSE_H */
105
106
Note: See TracBrowser for help on using the repository browser.