📄 fbm_supervisor.c
字号:
/*==========================================================================*/
/* (Copyright (C) 2003 Koninklijke Philips Electronics N.V. */
/* All rights reserved. */
/* This source code and any compilation or derivative thereof is the */
/* proprietary information of Koninklijke Philips Electronics N.V. */
/* and is confidential in nature. */
/* Under no circumstances is this software to be exposed to or placed */
/* under an Open Source License of any type without the expressed */
/* written permission of Koninklijke Philips Electronics N.V. */
/*==========================================================================*/
/*==========================================================================*/
/*
SOURCE_FILE: $RCSfile: fbm_supervisor.c,v $
APPLICATION:
PACKAGE: Video Output
COMPONENT: MPEG Video
VERSION: $Revision: 1.7 $
DATE: $Date: 1998/04/29 12:14:59 $
(C) 1997: Philips Export B.V.
All rights are reserved. Reproduction in whole or in part is
prohibited without the prior written consent of the copyright
owner. The information presented in this document does not
form part of any quotation or contract, is believed to be
accurate and reliable and may be changed without notice.
No liability will be accepted by the publisher for any
consequence of its use. Publication thereof does not convey
nor imply any license under patent- or other industrial or
intellectual property rights.
*/
/*==========================================================================*/
/*==========================================================================*/
/* I N C L U D E S */
/*==========================================================================*/
#include "standard.h"
#include "fbm_sw.h"
#include "fbm_api.h"
#include "fbm_driver_api.h"
#include "fbm_msg.h"
/*==========================================================================*/
/* G L O B A L D A T A D E C L A R A T I O N S */
/*==========================================================================*/
/*==========================================================================*/
/* F U N C T I O N S */
/*==========================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_supervisor
DESCRIPTION: Single entry point of the FBM algorithmic driver
RETURNS:
CALLING SEQUENCE:
*/
int
MV_FBM_supervisor(
ULONG msg_buf[4],
FBM_STATUS* p_fbm_param
)
/*EMP=======================================================================*/
{
switch(msg_buf[0])
{
case FBM_MSG_INIT:
MV_FBM_synchro_VS(msg_buf,p_fbm_param);
break;
case FBM_MSG_DEC_TO_DISP:
MV_FBM_driver_dec_to_disp(msg_buf, p_fbm_param);
break;
case FBM_MSG_SCAN:
MV_FBM_driver_scan(msg_buf, p_fbm_param);
break;
case FBM_MSG_STEP:
MV_FBM_driver_step(msg_buf, p_fbm_param);
break;
case FBM_MSG_RELEASE_RESOURCES:
MV_FBM_task_release_resources();
break;
case FBM_MSG_FREEZE:
MV_FBM_driver_freeze(msg_buf, p_fbm_param);
break;
case FBM_MSG_PLAY:
MV_FBM_driver_play(p_fbm_param);
break;
case FBM_MSG_DECODE_PIP:
p_fbm_param->pip_decoding_requested = TRUE;
break;
case FBM_MSG_SOFT_RESET:
case FBM_MSG_CHANGE_CHANNEL:
case FBM_MSG_ABORT_DECODING:
case FBM_MSG_EOPH:
case FBM_MSG_VIDEO_IN_SYNC:
case FBM_MSG_VS:
case FBM_MSG_EOPD:
MV_FBM_synchro_VS(msg_buf,p_fbm_param);
break;
default:
break;
} /* End switch msg_buf[0] */
return(MV_FBM_OK);
} /* End MV_FBM_supervisor */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -