⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pts.h

📁 ESS3890+SL原代码(1*16内存)
💻 H
字号:
/* Copyright 1996, ESS Technology, Inc.                                 *//* SCCSID @(#)pts.h	4.4 11/05/04 *//* Based on pts.h	3.1 08/27/01 *//* * $Log$ */#ifdef MPEG_AV_SYNC#define RESYNC_ON_INIT          896#define RESYNC_INFINITE         (ABV_size * 15/16)/* We store the most significant 32 bits of the PTS.   Also we measure in 45 Khz. For NTSC, successive pictures   should therefore differ in PTS by 3003.*/typedef struct {    uint pts;    int  wrptr;} PTS_entry;GBLDEF(int do_av_sync, 0);GBLDEF(volatile unsigned first_APTS,    -1);  /* First Audio pts */GBLDEF(volatile unsigned first_VPTS,    -1);  /* First video pts*/GBLDEF(int PTS_per_frame, 1501);               /* 3003/2 */GBLDEF(int PTS_units_per_256_ABV_dwords, 1646);/* 256*32*45000/224000 */GBLDEF(volatile  int I_at_abv, -1);           /* ABV wrptr when obtaining APTS*/GBLDEF(volatile  int I_at_vbv, -1);GBLDEF(int PTS_diff, 0);GBLDEF0(unsigned PTS_vid_current);            /* current Video dts */GBLDEF0(volatile int take_out_time);GBLDEF0(int PCM_resync);GBLDEF0(unsigned video_delay);                /* video delay */GBLDEF0(int audio_too_early);        /* If audio data is too much, we better*//* For customer */GBLDEF(int  default_av_offset, 2063);         /* Audio/Video sync offset */GBLDEF(int  default_av_margin, 6750);         /* Audio/Video resync margin*/#endif#if defined(ABNORMAL_VCD) || defined(ANTI_SHOCK)GBLDEF0	(int PTS_start); /* start of track PTS_vid */#endifGBLDEF0(unsigned PTS_aud);  /* Audio pts */GBLDEF0(unsigned PTS_vid);  /* Video pts */GBLDEF0(unsigned PTS_last); /* Last pts type; 1=A, 2=V */GBLDEF(int PTS_xsit, -1);       /* Take note: pts type changed! */GBLDEF(int PTS_units_per_256_audio_samples, 240);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -