| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2003-2010, 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: bvdb_viddispmode_priv.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/5 $ |
|---|
| 12 | * $brcm_Date: 1/27/10 11:06a $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/commonutils/vdb/3548/B0/bvdb_viddispmode_priv.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/5 1/27/10 11:06a jerrylim |
|---|
| 21 | * SW3548-2726: Set clipping max to real maximu so the first comparison |
|---|
| 22 | * can be alwasys passed. And messages added in PIP display search |
|---|
| 23 | * function for easier debugging |
|---|
| 24 | * |
|---|
| 25 | * Hydra_Software_Devel/4 2/25/09 5:58p jessem |
|---|
| 26 | * PR 52520: Added support to BVDB_GetVideoDisplayMode. |
|---|
| 27 | * |
|---|
| 28 | * Hydra_Software_Devel/3 2/17/09 6:52p jessem |
|---|
| 29 | * PR 50031, PR 51848: Added config 8. Added BVDB_GetNumberOfConfigs() and |
|---|
| 30 | * BVDB_GetMemoryAllocation() functions to VDB API and support for these |
|---|
| 31 | * new functions. |
|---|
| 32 | * |
|---|
| 33 | * Hydra_Software_Devel/2 10/17/08 3:04p jessem |
|---|
| 34 | * PR 46299: Replaced old A0 config support with 800MHZ WXGA and 1080P |
|---|
| 35 | * configs support. |
|---|
| 36 | * |
|---|
| 37 | * Hydra_Software_Devel/1 10/2/08 3:48p jessem |
|---|
| 38 | * PR 46299: Initial version |
|---|
| 39 | * |
|---|
| 40 | * |
|---|
| 41 | ***************************************************************************/ |
|---|
| 42 | #ifndef __BVDB_DISP_MODE_H__ |
|---|
| 43 | #define __BVDB_DISP_MODE_H__ |
|---|
| 44 | |
|---|
| 45 | #include "bvdb.h" |
|---|
| 46 | |
|---|
| 47 | #ifdef __cplusplus |
|---|
| 48 | } |
|---|
| 49 | #endif |
|---|
| 50 | |
|---|
| 51 | #define BVDB_P_MHEG_PIG_1_DEST_HEIGHT_MIN_PERCENT 20 |
|---|
| 52 | #define BVDB_P_MHEG_PIG_1_DEST_WIDTH_MIN_PERCENT 20 |
|---|
| 53 | #define BVDB_P_MHEG_PIG_1_DEST_HEIGHT_MAX_PERCENT 99 |
|---|
| 54 | #define BVDB_P_MHEG_PIG_1_DEST_WIDTH_MAX_PERCENT 99 |
|---|
| 55 | |
|---|
| 56 | #define BVDB_P_MHEG_PIG_2_DEST_HEIGHT_MIN_PERCENT 50 |
|---|
| 57 | #define BVDB_P_MHEG_PIG_2_DEST_WIDTH_MIN_PERCENT 50 |
|---|
| 58 | #define BVDB_P_MHEG_PIG_2_DEST_HEIGHT_MAX_PERCENT 99 |
|---|
| 59 | #define BVDB_P_MHEG_PIG_2_DEST_WIDTH_MAX_PERCENT 99 |
|---|
| 60 | |
|---|
| 61 | /* Giving 100 max will make first comparison to get passed, so each display mode |
|---|
| 62 | * will be free to pick up any clipping size in percentage */ |
|---|
| 63 | #define BVDB_P_MAX_SRC_CLIP_HEIGHT_AMOUNT 100 /* percent */ |
|---|
| 64 | #define BVDB_P_MAX_SRC_CLIP_WIDTH_AMOUNT 100 /* percent */ |
|---|
| 65 | |
|---|
| 66 | BERR_Code BVDB_P_GetVideoDispModeInfo |
|---|
| 67 | ( BVDB_VideoDisplayMode *pstVidDispMode, |
|---|
| 68 | BVDB_VideoDisplayModeInfo *pstInfo ); |
|---|
| 69 | |
|---|
| 70 | #ifdef __cplusplus |
|---|
| 71 | } |
|---|
| 72 | #endif |
|---|
| 73 | |
|---|
| 74 | #endif /* __BVDB_DISP_MODE_H__ */ |
|---|