Document
APPLICATION NOTE
SH7268/SH7269 Group
Digital Video Decoder Driver User's Manual
Introduction
R01AN0779EJ0100 Rev.1.00 Apr 18, 2013
This document explains the usage of SH7268/SH7269 Digital Video Decoder (hereafter referred to as ‘VDEC’) Driver.
Target Device
SH7268/SH7269
Contents
1. 2. 3. 4. Overview ........................................................................................................................................... 2 API..................................................................................................................................................... 5 User-defined Functions ................................................................................................................... 44 Example Usage ............................................................................................................................... 45
R01AN0779EJ0100 Rev.1.00 Apr 18, 2013
Page 1 of 58
http://www.Datasheet4U.com
APPLICATION NOTE
1. 1.1 Overview Environment
This program was developed and tested in the following environments. • CPU ⎯ SH7269 • Development Environment ⎯ HEW (SuperH RISC engine microcomputer software integrated development environment) Version 4.09.00.007 ⎯ Renesas SuperH RISC engine Standard Toolchain Version 9.4.1.0 • SH C/C++ Compiler Version 9.04.01 • SH Assembler Version 7.01.02 • SH C/C++ Standard Library Generator Version 3.00.03 • Optimizing Linkage Editor Version 10.01.00 • Evaluation Board ⎯ SH7269 CPU board (Part number: R0K572690C000BR) ⎯ SH7269 VDC4 board (Part number: R0K572690B000BR)
1.2
Features
Table 1 Digital Video Decoder Driver Functions
The following table lists the features supported by this driver program.
Item Function Input video signal
Sync separation
Burst controlled oscillator (BCO) Y/C separation Chroma decoding
Digital clamp
Output adjustment
• Video Signal Composite video signal (CVBS) • A/D convertor for video signal input VIN1 and VIN2 pin input selection Programmable gain amplifier (PGA) • Noise reduction LPF • Auto level control sync slicer • Horizontal auto frequency control (AFC) • Vertical count-down • Interla ce detection • Auto gain control (AGC) / peak limiter control • Colo r sub-carrier reproduction • Color system detection • NTSC 2D, PAL 2D, SECAM 1D • Supporting NTSC, PAL and SECAM • Color killer • Auto color control (ACC) • TINT correction, R-Y axis correction • Pedestal clamp (Y) • Center clamp (Cb/Cr) • Noise detection • Contrast and color adjustment
R01AN0779EJ0100 Rev.1.00 Apr 18, 2013
Page 2 of 58
SH7268/SH7269 Group
Digital Video Decoder Driver User's Manual
1.3
File Configuration
Table 2 File Configuration
The file configuration of this driver is shown below.
File Name vdec_api.c vdec_api.h vdec_para.c vdec_user.h
Description Source file for VDEC driver functions. Header file including the prototype declarations for the VDEC driver calls and definitions of constants. Source file checking arguments. Header file for com.