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

📄 av_play.h

📁 一个两碟控制的VCD的代码,两碟之间的转动及连续播放,已大量生产的CODE.
💻 H
字号:
/* Copyright 1996, ESS Technology, Inc.					*//* SCCSID @(#)av_play.h	1.4 12/3/97 *//* * $Log$ */#ifndef __AV_PLAY_H__#define __AV_PLAY_H__/*------------------------------------------------------------------------ Function prototypes------------------------------------------------------------------------*//* NORMAL MODE */int av_play_cdda_audio(int track_start, int start_mmssff, int end_mmssff);int av_play_motion_video(int start_mmssff, int end_mmssff);int av_play_still(int start_mmssff, int end_mmssff, int type);/* TRICK MODE */int av_play_slow_motion(int field_number);int av_play_fast_forwart(int skip_mmssff, int end_mmssff);int av_play_fast_rewind(int skip_mmssff, int end_mmssff);int av_play_pause();/* RETURN TO NORMAL MODE FROM TRICK MODE */int av_play_resume();/* clear decoder buffer */void clear_dec(void);void av_play_video_only();void av_play_audio_only();void av_mute_audio(int flag);	/* 0 -> not mute, otherwise mute */void av_reset();	/* is called when we try to stop decoding. */int reset_video_mode();#ifdef DVD_VCDvoid av_sys_power_down();#endif/*------------------------------------------------------------------------   Global Variables------------------------------------------------------------------------*/extern int	   vcx_fast_speed_done;/*------------------------------------------------------------------------  Function: av_play_cdda_audio  Parameters:      start_mmssff :           the start time in BCD's minute, second and frame format.      end_mmssff:          the end time in BCD's minute, second and frame format.  Description:      This function will play a section of audio CD from start_mmssff      to end_mmssff. When this section is finish, the end_of_play      variable will be set to 1.--------------------------------------------------------------------------  Function: av_play_motion_video  Parameters:      start_mmssff :           the start time in BCD's minute, second and frame format.      end_mmssff:          the end time in BCD's minute, second and frame format.  Description:      This function will play a section of motion video from start_mmssff      to end_mmssff. When this section is finish, the end_of_play      variable will be set to 1.-------------------------------------------------------------------------  Function: av_play_still  Parameters:      start_mmssff :           the start time in BCD's minute, second and frame format.      end_mmssff:          the end time in BCD's minute, second and frame format.      type : value should be "0xe1" or "0xe2".  Description:      This function will play a section of still video from start_mmssff      to end_mmssff. When this section is finish, the end_of_play      variable will be set to 1.--------------------------------------------------------------------------  Function:av_play_pause   Description:      This function will pause the playing section.--------------------------------------------------------------------------  Function: av_play_resume  Description:      This function will take the player from trick mode to normal      mode.      trick mode includes FF/FR, slow motion, step and pause.--------------------------------------------------------------------------  Function: av_play_slow_motion  Parameters:      field_length : The number of field time that a picture should be                     display. For a normal speed NTSC picture, the		     field_length is 2. If we want to make the slow		     motion to 1/2 speed of normal speed, we need to		     set field_length value to 4.  Description:      Plays slow motion.--------------------------------------------------------------------------  Function: av_play_mute  Parameters:      flag :	The audio will be mute if the flag value is not 0.  Description:--------------------------------------------------------------------------  Function:av_play_step  Description:      When this function is called, the player will display a new       decoded picture.--------------------------------------------------------------------------  Function: av_play_fast_forward/av_play_fast_rewind  Parameters:      mmssff:	The jump time after an I frame is displayed. The format                of mmssff is BCD's 0xmmssff format.      end_mmssff: When the end_mmssff is played, the vcx_fast_speed_done                  variable will be set to 1. The called should check		  this variable and decide what to do.  Description:      This function will cause the decoder to a fast forward/rewind  mode.--------------------------------------------------------------------------------------------------------------------------------------------------*/#endif

⌨️ 快捷键说明

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