ycrcb2rgb: Modified enum names
Modified source files and doxygen report. Signed-off-by: Durga challa <vnsldurg@xilinx.com> Acked-by: Srikanth Vemula <svemula@xilinx.com>
This commit is contained in:
parent
ba1f755cf4
commit
04d8f7e208
3 changed files with 12 additions and 12 deletions
|
@ -161,7 +161,7 @@ int YCrCb2Rgb_Update_Example(u16 DeviceId)
|
|||
|
||||
/* Setup CoefIn for XYCC_STANDARD_ITU_601_SD, 16_to_240_for_TV
|
||||
* and data width of 8-bits.
|
||||
* enum Standards are:
|
||||
* enum XYcc_Standards are:
|
||||
* 0 = XYCC_STANDARD_ITU_601_SD
|
||||
* 1 = XYCC_STANDARD_ITU_709_NTSC
|
||||
* 2 = XYCC_STANDARD_ITU_709_PAL
|
||||
|
|
|
@ -899,12 +899,12 @@ void XYCrCb2Rgb_GetCoefs(XYCrCb2Rgb *InstancePtr,
|
|||
* from the selected video standard.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgbb instance.
|
||||
* @param StandardSel needs to be set from enum Standards value as :
|
||||
* @param StandardSel needs to be set from enum XYcc_Standards value as :
|
||||
* 0 = XYCC_STANDARD_ITU_601_SD
|
||||
* 1 = XYCC_STANDARD_ITU_709_NTSC
|
||||
* 2 = XYCC_STANDARD_ITU_709_PAL
|
||||
* 3 = XYCC_STANDARD_YUV.
|
||||
* @param InputRange needs to be set from enum OutputRanges value as:
|
||||
* @param InputRange needs to be set from enum XYcc_OutputRanges value as:
|
||||
* 0 = XYCC_TV_16_TO_240,
|
||||
* 1 = XYCC_STUDIO_16_TO_235,
|
||||
* 2 = XYCC_GRAPHICS_0_TO_255.
|
||||
|
@ -922,8 +922,8 @@ void XYCrCb2Rgb_GetCoefs(XYCrCb2Rgb *InstancePtr,
|
|||
*
|
||||
******************************************************************************/
|
||||
void XYCrCb2Rgb_Select_Standard(XYCrCb2Rgb *InstancePtr,
|
||||
enum Standards StandardSel,
|
||||
enum OutputRanges InputRange, u32 DataWidth,
|
||||
enum XYcc_Standards StandardSel,
|
||||
enum XYcc_OutputRanges InputRange, u32 DataWidth,
|
||||
struct XYCrCb2Rgb_Coef_Inputs *CoefIn)
|
||||
{
|
||||
|
||||
|
@ -1174,7 +1174,7 @@ u32 XYCrCb2Rgb_Coefficient_Translation(XYCrCb2Rgb *InstancePtr,
|
|||
* conversion coefficients as well as the clipping and clamping values.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgb instance.
|
||||
* @param Range needs to be set from the enum OutputRanges values as:
|
||||
* @param Range needs to be set from the enum XYcc_OutputRanges values as:
|
||||
* 0 = XYCC_TV_16_TO_240,
|
||||
* 1 = XYCC_STUDIO_16_TO_235,
|
||||
* 2 = XYCC_GRAPHICS_0_TO_255.
|
||||
|
@ -1185,7 +1185,7 @@ u32 XYCrCb2Rgb_Coefficient_Translation(XYCrCb2Rgb *InstancePtr,
|
|||
*
|
||||
*****************************************************************************/
|
||||
void XYCrCb2Rgb_Select_OutputRange(XYCrCb2Rgb *InstancePtr,
|
||||
enum OutputRanges Range)
|
||||
enum XYcc_OutputRanges Range)
|
||||
{
|
||||
/* Verify arguments. */
|
||||
Xil_AssertVoid(InstancePtr != NULL);
|
||||
|
|
|
@ -216,7 +216,7 @@ enum {
|
|||
* These constants specify different types of standards used to represent
|
||||
* standard color encoding.
|
||||
*/
|
||||
enum Standards {
|
||||
enum XYcc_Standards {
|
||||
XYCC_STANDARD_ITU_601_SD = 0, /**< Standard ITU 601 SD. */
|
||||
XYCC_STANDARD_ITU_709_NTSC, /**< Standard ITU 709 NTSC. */
|
||||
XYCC_STANDARD_ITU_709_PAL, /**< Standard ITU 709 PAL. */
|
||||
|
@ -233,7 +233,7 @@ enum Standards {
|
|||
* These constants specify different ranges used for studio equipment,
|
||||
* television and computer graphics respectively.
|
||||
*/
|
||||
enum OutputRanges {
|
||||
enum XYcc_OutputRanges {
|
||||
XYCC_TV_16_TO_240 = 0, /**< 16 to 240, for Television. */
|
||||
XYCC_STUDIO_16_TO_235, /**< 16 to 235, for Studio Equipment. */
|
||||
XYCC_GRAPHICS_0_TO_255 /**< 0 to 255, for Computer Graphics. */
|
||||
|
@ -762,8 +762,8 @@ void XYCrCb2Rgb_GetCoefs(XYCrCb2Rgb *InstancePtr,
|
|||
struct XYCrCb2Rgb_Coefficients *Coef);
|
||||
|
||||
void XYCrCb2Rgb_Select_Standard(XYCrCb2Rgb *InstancePtr,
|
||||
enum Standards StandardSel,
|
||||
enum OutputRanges InputRange, u32 DataWidth,
|
||||
enum XYcc_Standards StandardSel,
|
||||
enum XYcc_OutputRanges InputRange, u32 DataWidth,
|
||||
struct XYCrCb2Rgb_Coef_Inputs *CoefIn);
|
||||
|
||||
u32 XYCrCb2Rgb_Coefficient_Translation(XYCrCb2Rgb *InstancePtr,
|
||||
|
@ -772,7 +772,7 @@ u32 XYCrCb2Rgb_Coefficient_Translation(XYCrCb2Rgb *InstancePtr,
|
|||
u32 DataWidth, u32 MWidth);
|
||||
|
||||
void XYCrCb2Rgb_Select_OutputRange(XYCrCb2Rgb *InstancePtr,
|
||||
enum OutputRanges Range);
|
||||
enum XYcc_OutputRanges Range);
|
||||
|
||||
/* Self-test function implemented in xycrcb2rgb_selftest.c */
|
||||
int XYCrCb2Rgb_SelfTest(XYCrCb2Rgb *InstancePtr);
|
||||
|
|
Loading…
Add table
Reference in a new issue