Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
bc_dts_defs.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  BC_REG_CONFIG
 
struct  BC_PIB_EXT_MPEG
 
struct  BC_PIB_EXT_H264
 
struct  BC_PIB_EXT_VC1
 
struct  BC_PIC_INFO_BLOCK
 
struct  BC_DTS_PROC_OUT
 
struct  BC_DTS_STATUS
 

Macros

#define BC_BIT(_x)   (1 << (_x))
 
#define BC_REG_KEY_MAIN_PATH   "Software\\Broadcom\\MediaPC\\70010"
 
#define BC_REG_KEY_FWPATH   "FirmwareFilePath"
 
#define BC_REG_KEY_SEC_OPT   "DbgOptions"
 
#define ALIGN(x)   __declspec(align(x))
 
#define DTS_DFLT_RESOLUTION(x)   (x<<11)
 
#define DTS_DFLT_CLOCK(x)   (x<<19)
 
#define BC_MPEG_VALID_PANSCAN   (1)
 
#define H264_VALID_PANSCAN   (1)
 
#define H264_VALID_SPS_CROP   (2)
 
#define H264_VALID_VUI   (4)
 
#define VC1_VALID_PANSCAN   (1)
 
#define MAX_UD_SIZE   1792 /* 1920 - 128 */
 
#define BC_SWAP32(_v)
 
#define WM_AGENT_TRAYICON_DECODER_OPEN   10001
 
#define WM_AGENT_TRAYICON_DECODER_CLOSE   10002
 
#define WM_AGENT_TRAYICON_DECODER_START   10003
 
#define WM_AGENT_TRAYICON_DECODER_STOP   10004
 
#define WM_AGENT_TRAYICON_DECODER_RUN   10005
 
#define WM_AGENT_TRAYICON_DECODER_PAUSE   10006
 

Typedefs

typedef enum BC_STATUS(* dts_pout_callback )(void *shnd, uint32_t width, uint32_t height, uint32_t stride, void *pOut)
 

Enumerations

enum  BC_STATUS {
  BC_STS_SUCCESS = 0, BC_STS_INV_ARG = 1, BC_STS_BUSY = 2, BC_STS_NOT_IMPL = 3,
  BC_STS_PGM_QUIT = 4, BC_STS_NO_ACCESS = 5, BC_STS_INSUFF_RES = 6, BC_STS_IO_ERROR = 7,
  BC_STS_NO_DATA = 8, BC_STS_VER_MISMATCH = 9, BC_STS_TIMEOUT = 10, BC_STS_FW_CMD_ERR = 11,
  BC_STS_DEC_NOT_OPEN = 12, BC_STS_ERR_USAGE = 13, BC_STS_IO_USER_ABORT = 14, BC_STS_IO_XFR_ERROR = 15,
  BC_STS_DEC_NOT_STARTED = 16, BC_STS_FWHEX_NOT_FOUND = 17, BC_STS_FMT_CHANGE = 18, BC_STS_HIF_ACCESS = 19,
  BC_STS_CMD_CANCELLED = 20, BC_STS_FW_AUTH_FAILED = 21, BC_STS_BOOTLOADER_FAILED = 22, BC_STS_CERT_VERIFY_ERROR = 23,
  BC_STS_DEC_EXIST_OPEN = 24, BC_STS_PENDING = 25, BC_STS_CLK_NOCHG = 26, BC_STS_ERROR = -1
}
 
enum  BC_SW_OPTIONS { BC_OPT_DOSER_OUT_ENCRYPT = BC_BIT(3), BC_OPT_LINK_OUT_ENCRYPT = BC_BIT(29) }
 
enum  DtsDeviceOpenMode { DTS_PLAYBACK_MODE = 0, DTS_DIAG_MODE, DTS_MONITOR_MODE, DTS_HWINIT_MODE }
 
enum  DtsDeviceFixMode {
  DTS_LOAD_NEW_FW = BC_BIT(8), DTS_LOAD_FILE_PLAY_FW = BC_BIT(9), DTS_DISK_FMT_BD = BC_BIT(10), DTS_SKIP_TX_CHK_CPB = BC_BIT(16),
  DTS_ADAPTIVE_OUTPUT_PER = BC_BIT(17), DTS_INTELLIMAP = BC_BIT(18), DTS_PLAYBACK_DROP_RPT_MODE = BC_BIT(22)
}
 
enum  FW_FILE_VER { BC_FW_VER_020402 = ((12<<16) | (2<<8) | (0)) }
 
enum  DtsOpenDecStreamTypes { BC_STREAM_TYPE_ES = 0, BC_STREAM_TYPE_PES = 1, BC_STREAM_TYPE_TS = 2, BC_STREAM_TYPE_ES_TSTAMP = 6 }
 
enum  DtsSetVideoParamsAlgo { BC_VID_ALGO_H264 = 0, BC_VID_ALGO_MPEG2 = 1, BC_VID_ALGO_VC1 = 4, BC_VID_ALGO_VC1MP = 7 }
 
enum  _BC_OUTPUT_FORMAT { MODE420 = 0x0, MODE422_YUY2 = 0x1, MODE422_UYVY = 0x2 }
 
enum  POUT_OPTIONAL_IN_FLAGS_ {
  BC_POUT_FLAGS_YV12 = 0x01, BC_POUT_FLAGS_STRIDE = 0x02, BC_POUT_FLAGS_SIZE = 0x04, BC_POUT_FLAGS_INTERLACED = 0x08,
  BC_POUT_FLAGS_INTERLEAVED = 0x10, BC_POUT_FLAGS_FMT_CHANGE = 0x10000, BC_POUT_FLAGS_PIB_VALID = 0x20000, BC_POUT_FLAGS_ENCRYPTED = 0x40000,
  BC_POUT_FLAGS_FLD_BOT = 0x80000
}
 

Macro Definition Documentation

#define ALIGN (   x)    __declspec(align(x))

Definition at line 96 of file bc_dts_defs.h.

#define BC_BIT (   _x)    (1 << (_x))

Definition at line 32 of file bc_dts_defs.h.

#define BC_MPEG_VALID_PANSCAN   (1)

Definition at line 164 of file bc_dts_defs.h.

#define BC_REG_KEY_FWPATH   "FirmwareFilePath"

Definition at line 71 of file bc_dts_defs.h.

#define BC_REG_KEY_MAIN_PATH   "Software\\Broadcom\\MediaPC\\70010"

Definition at line 70 of file bc_dts_defs.h.

#define BC_REG_KEY_SEC_OPT   "DbgOptions"

Definition at line 72 of file bc_dts_defs.h.

#define BC_SWAP32 (   _v)
Value:
((((_v) & 0xFF000000)>>24)| \
(((_v) & 0x00FF0000)>>8)| \
(((_v) & 0x0000FF00)<<8)| \
(((_v) & 0x000000FF)<<24))

Definition at line 558 of file bc_dts_defs.h.

#define DTS_DFLT_CLOCK (   x)    (x<<19)

Definition at line 133 of file bc_dts_defs.h.

#define DTS_DFLT_RESOLUTION (   x)    (x<<11)

Definition at line 131 of file bc_dts_defs.h.

#define H264_VALID_PANSCAN   (1)

Definition at line 184 of file bc_dts_defs.h.

#define H264_VALID_SPS_CROP   (2)

Definition at line 185 of file bc_dts_defs.h.

#define H264_VALID_VUI   (4)

Definition at line 186 of file bc_dts_defs.h.

#define MAX_UD_SIZE   1792 /* 1920 - 128 */

Definition at line 474 of file bc_dts_defs.h.

#define VC1_VALID_PANSCAN   (1)

Definition at line 216 of file bc_dts_defs.h.

#define WM_AGENT_TRAYICON_DECODER_CLOSE   10002

Definition at line 565 of file bc_dts_defs.h.

#define WM_AGENT_TRAYICON_DECODER_OPEN   10001

Definition at line 564 of file bc_dts_defs.h.

#define WM_AGENT_TRAYICON_DECODER_PAUSE   10006

Definition at line 569 of file bc_dts_defs.h.

#define WM_AGENT_TRAYICON_DECODER_RUN   10005

Definition at line 568 of file bc_dts_defs.h.

#define WM_AGENT_TRAYICON_DECODER_START   10003

Definition at line 566 of file bc_dts_defs.h.

#define WM_AGENT_TRAYICON_DECODER_STOP   10004

Definition at line 567 of file bc_dts_defs.h.

Typedef Documentation

typedef enum BC_STATUS(* dts_pout_callback)(void *shnd, uint32_t width, uint32_t height, uint32_t stride, void *pOut)

Definition at line 469 of file bc_dts_defs.h.

Enumeration Type Documentation

Enumerator:
MODE420 
MODE422_YUY2 
MODE422_UYVY 

Definition at line 395 of file bc_dts_defs.h.

enum BC_STATUS
Enumerator:
BC_STS_SUCCESS 
BC_STS_INV_ARG 
BC_STS_BUSY 
BC_STS_NOT_IMPL 
BC_STS_PGM_QUIT 
BC_STS_NO_ACCESS 
BC_STS_INSUFF_RES 
BC_STS_IO_ERROR 
BC_STS_NO_DATA 
BC_STS_VER_MISMATCH 
BC_STS_TIMEOUT 
BC_STS_FW_CMD_ERR 
BC_STS_DEC_NOT_OPEN 
BC_STS_ERR_USAGE 
BC_STS_IO_USER_ABORT 
BC_STS_IO_XFR_ERROR 
BC_STS_DEC_NOT_STARTED 
BC_STS_FWHEX_NOT_FOUND 
BC_STS_FMT_CHANGE 
BC_STS_HIF_ACCESS 
BC_STS_CMD_CANCELLED 
BC_STS_FW_AUTH_FAILED 
BC_STS_BOOTLOADER_FAILED 
BC_STS_CERT_VERIFY_ERROR 
BC_STS_DEC_EXIST_OPEN 
BC_STS_PENDING 
BC_STS_CLK_NOCHG 
BC_STS_ERROR 

Definition at line 34 of file bc_dts_defs.h.

Enumerator:
BC_OPT_DOSER_OUT_ENCRYPT 
BC_OPT_LINK_OUT_ENCRYPT 

Definition at line 84 of file bc_dts_defs.h.

Enumerator:
DTS_LOAD_NEW_FW 
DTS_LOAD_FILE_PLAY_FW 
DTS_DISK_FMT_BD 
DTS_SKIP_TX_CHK_CPB 
DTS_ADAPTIVE_OUTPUT_PER 
DTS_INTELLIMAP 
DTS_PLAYBACK_DROP_RPT_MODE 

Definition at line 119 of file bc_dts_defs.h.

Enumerator:
DTS_PLAYBACK_MODE 
DTS_DIAG_MODE 
DTS_MONITOR_MODE 
DTS_HWINIT_MODE 

Definition at line 111 of file bc_dts_defs.h.

Enumerator:
BC_STREAM_TYPE_ES 
BC_STREAM_TYPE_PES 
BC_STREAM_TYPE_TS 
BC_STREAM_TYPE_ES_TSTAMP 

Definition at line 144 of file bc_dts_defs.h.

Enumerator:
BC_VID_ALGO_H264 
BC_VID_ALGO_MPEG2 
BC_VID_ALGO_VC1 
BC_VID_ALGO_VC1MP 

Definition at line 154 of file bc_dts_defs.h.

Enumerator:
BC_FW_VER_020402 

Definition at line 136 of file bc_dts_defs.h.

enum POUT_OPTIONAL_IN_FLAGS - Optional flags for ProcOut Interface. : Copy Data in YV12 format : Stride size is valid. : Take size information from Application : copy only half the bytes : interleaved frame @: * : Data is not VALID when this flag is set : PIB Information valid : Data is encrypted. : Bottom Field data

Enumerator:
BC_POUT_FLAGS_YV12 
BC_POUT_FLAGS_STRIDE 
BC_POUT_FLAGS_SIZE 
BC_POUT_FLAGS_INTERLACED 
BC_POUT_FLAGS_INTERLEAVED 
BC_POUT_FLAGS_FMT_CHANGE 
BC_POUT_FLAGS_PIB_VALID 
BC_POUT_FLAGS_ENCRYPTED 
BC_POUT_FLAGS_FLD_BOT 

Definition at line 454 of file bc_dts_defs.h.