Opencv 3.1 project on GR-PEACH board
Fork of gr-peach-opencv-project by
GR-PEACH_video/inc/video_decoder.h@170:54ff26da7eb6, 2017-07-04 (annotated)
- Committer:
- thedo
- Date:
- Tue Jul 04 06:23:13 2017 +0000
- Revision:
- 170:54ff26da7eb6
- Parent:
- 166:3a9487d57a5c
project opencv 3.1 on GR PEACH board, no use SD card.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thedo | 166:3a9487d57a5c | 1 | /******************************************************************************* |
thedo | 166:3a9487d57a5c | 2 | * DISCLAIMER |
thedo | 166:3a9487d57a5c | 3 | * This software is supplied by Renesas Electronics Corporation and is only |
thedo | 166:3a9487d57a5c | 4 | * intended for use with Renesas products. No other uses are authorized. This |
thedo | 166:3a9487d57a5c | 5 | * software is owned by Renesas Electronics Corporation and is protected under |
thedo | 166:3a9487d57a5c | 6 | * all applicable laws, including copyright laws. |
thedo | 166:3a9487d57a5c | 7 | * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING |
thedo | 166:3a9487d57a5c | 8 | * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT |
thedo | 166:3a9487d57a5c | 9 | * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE |
thedo | 166:3a9487d57a5c | 10 | * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. |
thedo | 166:3a9487d57a5c | 11 | * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS |
thedo | 166:3a9487d57a5c | 12 | * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE |
thedo | 166:3a9487d57a5c | 13 | * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR |
thedo | 166:3a9487d57a5c | 14 | * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE |
thedo | 166:3a9487d57a5c | 15 | * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
thedo | 166:3a9487d57a5c | 16 | * Renesas reserves the right, without notice, to make changes to this software |
thedo | 166:3a9487d57a5c | 17 | * and to discontinue the availability of this software. By using this software, |
thedo | 166:3a9487d57a5c | 18 | * you agree to the additional terms and conditions found by accessing the |
thedo | 166:3a9487d57a5c | 19 | * following link: |
thedo | 166:3a9487d57a5c | 20 | * http://www.renesas.com/disclaimer |
thedo | 166:3a9487d57a5c | 21 | * Copyright (C) 2012 - 2015 Renesas Electronics Corporation. All rights reserved. |
thedo | 166:3a9487d57a5c | 22 | *******************************************************************************/ |
thedo | 166:3a9487d57a5c | 23 | /**************************************************************************//** |
thedo | 166:3a9487d57a5c | 24 | * @file video_decoder.h |
thedo | 166:3a9487d57a5c | 25 | * @version 1.00 |
thedo | 166:3a9487d57a5c | 26 | * $Rev: 199 $ |
thedo | 166:3a9487d57a5c | 27 | * $Date:: 2014-05-23 16:33:52 +0900#$ |
thedo | 166:3a9487d57a5c | 28 | * @brief Video decoder function header |
thedo | 166:3a9487d57a5c | 29 | ******************************************************************************/ |
thedo | 166:3a9487d57a5c | 30 | |
thedo | 166:3a9487d57a5c | 31 | #ifndef VIDEO_DECODER_H |
thedo | 166:3a9487d57a5c | 32 | #define VIDEO_DECODER_H |
thedo | 166:3a9487d57a5c | 33 | |
thedo | 166:3a9487d57a5c | 34 | /****************************************************************************** |
thedo | 166:3a9487d57a5c | 35 | Includes <System Includes> , "Project Includes" |
thedo | 166:3a9487d57a5c | 36 | ******************************************************************************/ |
thedo | 166:3a9487d57a5c | 37 | #include <stdlib.h> |
thedo | 166:3a9487d57a5c | 38 | #include <string.h> |
thedo | 166:3a9487d57a5c | 39 | |
thedo | 166:3a9487d57a5c | 40 | #include "r_vdec.h" |
thedo | 166:3a9487d57a5c | 41 | #include "r_vdec_user.h" |
thedo | 166:3a9487d57a5c | 42 | |
thedo | 166:3a9487d57a5c | 43 | |
thedo | 166:3a9487d57a5c | 44 | /****************************************************************************** |
thedo | 166:3a9487d57a5c | 45 | Macro definitions |
thedo | 166:3a9487d57a5c | 46 | ******************************************************************************/ |
thedo | 166:3a9487d57a5c | 47 | |
thedo | 166:3a9487d57a5c | 48 | /****************************************************************************** |
thedo | 166:3a9487d57a5c | 49 | Typedef definitions |
thedo | 166:3a9487d57a5c | 50 | ******************************************************************************/ |
thedo | 166:3a9487d57a5c | 51 | /*! Video color system */ |
thedo | 166:3a9487d57a5c | 52 | typedef enum { |
thedo | 166:3a9487d57a5c | 53 | GRPH_COL_SYS_UNKNOWN = -1, /*!< Unknown */ |
thedo | 166:3a9487d57a5c | 54 | GRPH_COL_SYS_NTSC_358 = 0, /*!< NTSC-3.58 */ |
thedo | 166:3a9487d57a5c | 55 | GRPH_COL_SYS_NTSC_443 = 1, /*!< NTSC-4.43 */ |
thedo | 166:3a9487d57a5c | 56 | GRPH_COL_SYS_PAL_443 = 2, /*!< PAL-4.43 */ |
thedo | 166:3a9487d57a5c | 57 | GRPH_COL_SYS_PAL_M = 3, /*!< PAL-M */ |
thedo | 166:3a9487d57a5c | 58 | GRPH_COL_SYS_PAL_N = 4, /*!< PAL-N */ |
thedo | 166:3a9487d57a5c | 59 | GRPH_COL_SYS_SECAM = 5, /*!< SECAM */ |
thedo | 166:3a9487d57a5c | 60 | GRPH_COL_SYS_NTSC_443_60 = 6, /*!< NTSC-4.43 (60Hz) */ |
thedo | 166:3a9487d57a5c | 61 | GRPH_COL_SYS_PAL_60 = 7, /*!< PAL-60 */ |
thedo | 166:3a9487d57a5c | 62 | GRPH_COL_SYS_NUM = 8 |
thedo | 166:3a9487d57a5c | 63 | } graphics_col_sys_t; |
thedo | 166:3a9487d57a5c | 64 | |
thedo | 166:3a9487d57a5c | 65 | |
thedo | 166:3a9487d57a5c | 66 | /****************************************************************************** |
thedo | 166:3a9487d57a5c | 67 | Exported global functions (to be accessed by other files) |
thedo | 166:3a9487d57a5c | 68 | ******************************************************************************/ |
thedo | 166:3a9487d57a5c | 69 | vdec_error_t GRAPHICS_VideoDecoderInit (const vdec_adc_vinsel_t adc_vinsel, const vdec_channel_t channel, graphics_col_sys_t col_sys); |
thedo | 166:3a9487d57a5c | 70 | |
thedo | 166:3a9487d57a5c | 71 | |
thedo | 166:3a9487d57a5c | 72 | #endif /* VIDEO_DECODER_H */ |