Renesas / GR-PEACH_video

Dependents:   Trace_Program2 GR-PEACH_Camera_in_barcode GR-PEACH_LCD_sample GR-PEACH_LCD_4_3inch_sample ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers video_decoder.h Source File

video_decoder.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002 * DISCLAIMER
00003 * This software is supplied by Renesas Electronics Corporation and is only
00004 * intended for use with Renesas products. No other uses are authorized. This
00005 * software is owned by Renesas Electronics Corporation and is protected under
00006 * all applicable laws, including copyright laws.
00007 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
00008 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
00009 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
00010 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
00011 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
00012 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
00013 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
00014 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
00015 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
00016 * Renesas reserves the right, without notice, to make changes to this software
00017 * and to discontinue the availability of this software. By using this software,
00018 * you agree to the additional terms and conditions found by accessing the
00019 * following link:
00020 * http://www.renesas.com/disclaimer
00021 * Copyright (C) 2012 - 2015 Renesas Electronics Corporation. All rights reserved.
00022 *******************************************************************************/
00023 /**************************************************************************//**
00024 * @file         video_decoder.h
00025 * @version      1.00
00026 * $Rev: 199 $
00027 * $Date:: 2014-05-23 16:33:52 +0900#$
00028 * @brief        Video decoder function header
00029 ******************************************************************************/
00030 
00031 #ifndef VIDEO_DECODER_H
00032 #define VIDEO_DECODER_H
00033 
00034 /******************************************************************************
00035 Includes   <System Includes> , "Project Includes"
00036 ******************************************************************************/
00037 #include    <stdlib.h>
00038 #include    <string.h>
00039 
00040 #include    "r_vdec.h"
00041 #include    "r_vdec_user.h"
00042 
00043 
00044 /******************************************************************************
00045 Macro definitions
00046 ******************************************************************************/
00047 
00048 /******************************************************************************
00049 Typedef definitions
00050 ******************************************************************************/
00051 /*! Video color system */
00052 typedef enum {
00053     GRPH_COL_SYS_UNKNOWN         = -1,       /*!< Unknown */
00054     GRPH_COL_SYS_NTSC_358        = 0,        /*!< NTSC-3.58 */
00055     GRPH_COL_SYS_NTSC_443        = 1,        /*!< NTSC-4.43 */
00056     GRPH_COL_SYS_PAL_443         = 2,        /*!< PAL-4.43 */
00057     GRPH_COL_SYS_PAL_M           = 3,        /*!< PAL-M */
00058     GRPH_COL_SYS_PAL_N           = 4,        /*!< PAL-N */
00059     GRPH_COL_SYS_SECAM           = 5,        /*!< SECAM */
00060     GRPH_COL_SYS_NTSC_443_60     = 6,        /*!< NTSC-4.43 (60Hz) */
00061     GRPH_COL_SYS_PAL_60          = 7,        /*!< PAL-60 */
00062     GRPH_COL_SYS_NUM            = 8
00063 } graphics_col_sys_t ;
00064 
00065 
00066 /******************************************************************************
00067 Exported global functions (to be accessed by other files)
00068 ******************************************************************************/
00069 vdec_error_t  GRAPHICS_VideoDecoderInit (const vdec_adc_vinsel_t  adc_vinsel, const vdec_channel_t  channel, graphics_col_sys_t  col_sys);
00070 
00071 
00072 #endif  /* VIDEO_DECODER_H */