source: svn/trunk/newcon3bcm2_21bu/magnum/commonutils/csc/bcsc.h @ 52

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

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 1.9 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2003-2007, 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: bcsc.h $
11 * $brcm_Revision: Hydra_Software_Devel/1 $
12 * $brcm_Date: 5/31/07 7:30p $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /magnum/commonutils/csc/bcsc.h $
19 *
20 * Hydra_Software_Devel/1   5/31/07 7:30p albertl
21 * PR31093:  Initial version.
22 *
23 ***************************************************************************/
24#ifndef BCSC_H__
25#define BCSC_H__
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/*  Given source and display (xR, yR), (xG, yG), (xB, yB), (xW, yW), derive CMP matrix;
32    Output: CMP matrix in array of 12 fixed point coefficients;
33    inputs:
34        pul_SrcRGBW       - Source gamut in (xR, yR), (xG, yG), (xB, yB), (xW, yW) array, 8 values;
35        pul_DispRGBW:     - Display gamut in (xR, yR), (xG, yG), (xB, yB), (xW, yW) array, 8 values;
36        ulXyFractBits     - Fixed-point fractional bits of input gamut values in (x, y) array;
37        ulMatrixFractBits - Fixed-point fractional bits of output matrix coefficients; */
38BERR_Code BCSC_RGBW2CmpMatrix
39        ( uint32_t                              *pul_SrcRGBW,
40          uint32_t                              *pul_DispRGBW,
41          uint32_t                               ulXyFractBits,
42          uint32_t                               ulMatrixFractBits,
43          uint32_t                               ulN,
44          int32_t                               *plCmpMatrix,
45          int32_t                               *plDvoMatrix);
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif /* #ifndef BCSC_H__*/
52
53/* End of file. */
Note: See TracBrowser for help on using the repository browser.