| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2005-2006, 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: bxvd_img.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/15 $ |
|---|
| 12 | * $brcm_Date: 7/25/06 8:41a $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/portinginterface/xvd/7401/bxvd_img.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/15 7/25/06 8:41a pblanco |
|---|
| 21 | * PR22673: Removed platform specific FW images externs and moved them to |
|---|
| 22 | * platform_xxxx.h files. |
|---|
| 23 | * |
|---|
| 24 | * Hydra_Software_Devel/14 7/6/06 9:41a pblanco |
|---|
| 25 | * PR21943: Fixed conditional compilation for 7401 B0, broken when |
|---|
| 26 | * conditionalizing for 7118. |
|---|
| 27 | * |
|---|
| 28 | * Hydra_Software_Devel/13 7/5/06 3:20p pblanco |
|---|
| 29 | * PR21943: Conditionalization for 7118 |
|---|
| 30 | * |
|---|
| 31 | * Hydra_Software_Devel/12 5/15/06 1:43p pblanco |
|---|
| 32 | * PR20017: Moved external references for relocatable FW arrays here. |
|---|
| 33 | * |
|---|
| 34 | * Hydra_Software_Devel/11 2/2/06 4:04p pblanco |
|---|
| 35 | * PR19123: More code cleanup. Changed all instances of uAvcInstance to |
|---|
| 36 | * uDecoderInstance and removed last remaining references to the old |
|---|
| 37 | * decoder context array. |
|---|
| 38 | * |
|---|
| 39 | * Hydra_Software_Devel/10 1/20/06 12:31p pblanco |
|---|
| 40 | * PR19123: Conditionalized externs for FW image arrays. |
|---|
| 41 | * |
|---|
| 42 | * Hydra_Software_Devel/9 1/20/06 9:35a pblanco |
|---|
| 43 | * PR19123: Changed Reset7401 to Reset740x. |
|---|
| 44 | * |
|---|
| 45 | * Hydra_Software_Devel/8 1/19/06 11:03a pblanco |
|---|
| 46 | * PR19123: Fixed FW array external names for 7400. |
|---|
| 47 | * |
|---|
| 48 | * Hydra_Software_Devel/7 1/18/06 10:03a pblanco |
|---|
| 49 | * PR19123: Initial porting work for 7400 FW loading and initialization. |
|---|
| 50 | * |
|---|
| 51 | * Hydra_Software_Devel/6 1/13/06 11:42a pblanco |
|---|
| 52 | * PR16052: Initial 7400 porting changes. |
|---|
| 53 | * |
|---|
| 54 | * Hydra_Software_Devel/5 8/24/05 1:15p pblanco |
|---|
| 55 | * PR16052: Added AVC instance argument to function prototypes. |
|---|
| 56 | * |
|---|
| 57 | * Hydra_Software_Devel/4 7/26/05 10:17a pblanco |
|---|
| 58 | * PR16052: Added prototype for BXVD_P_Reset7401. |
|---|
| 59 | * |
|---|
| 60 | * Hydra_Software_Devel/3 7/26/05 8:25a pblanco |
|---|
| 61 | * PR16052: Removed relative include path for bimg.h |
|---|
| 62 | * |
|---|
| 63 | * Hydra_Software_Devel/2 7/21/05 3:06p pblanco |
|---|
| 64 | * PR16052: Added function prototype for BXVD_P_ChipInit. |
|---|
| 65 | * |
|---|
| 66 | * Hydra_Software_Devel/1 7/15/05 1:14p pblanco |
|---|
| 67 | * PR16052: Initial checkin. |
|---|
| 68 | * |
|---|
| 69 | * |
|---|
| 70 | ***************************************************************/ |
|---|
| 71 | #ifndef BXVD_IMG_H__ |
|---|
| 72 | #define BXVD_IMG_H__ |
|---|
| 73 | |
|---|
| 74 | #include "bxvd.h" |
|---|
| 75 | #include "bxvd_platform.h" /* platform specific FW image externs */ |
|---|
| 76 | |
|---|
| 77 | #define BXVD_IMG_ID_DEC_INNER 0x01 |
|---|
| 78 | #define BXVD_IMG_ID_DEC_OUTER 0x02 |
|---|
| 79 | #define BXVD_IMG_ID_DEC_INNER_AVD_0 0x04 |
|---|
| 80 | #define BXVD_IMG_ID_DEC_OUTER_AVD_0 0x08 |
|---|
| 81 | #define BXVD_IMG_ID_DEC_INNER_AVD_1 0x0A |
|---|
| 82 | #define BXVD_IMG_ID_DEC_OUTER_AVD_1 0x0C |
|---|
| 83 | |
|---|
| 84 | #define BIMG_EOF (uint32_t)(-1) |
|---|
| 85 | #define BIMG_SKIP (uint32_t)(-2) |
|---|
| 86 | |
|---|
| 87 | #define BXVD_IMG_CHUNK_SIZE (48*1024) |
|---|
| 88 | |
|---|
| 89 | BERR_Code BXVD_P_ChipInit(BXVD_Handle hXvd, uint32_t uDecoderInstance); |
|---|
| 90 | BERR_Code BXVD_P_Reset740x(BXVD_Handle hXvd, uint32_t uDecoderInstance); |
|---|
| 91 | |
|---|
| 92 | #endif /* BXVD_IMG_H__ */ |
|---|
| 93 | |
|---|