📄 fbm_api.h
字号:
/*==========================================================================*/
/* (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_api.h,v $
APPLICATION:
PACKAGE: Video Output
COMPONENT: MPEG Video
VERSION: $Revision: 1.8 $
DATE: $Date: 1998/04/29 12:13:42 $
(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.
*/
/*==========================================================================*/
#ifndef _FBM_API_INCLUDED
#define _FBM_API_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
/*==========================================================================*/
/* I N C L U D E S */
/*==========================================================================*/
#include "mv_dec.h"
/*==========================================================================*/
/* G L O B A L D A T A D E C L A R A T I O N S */
/*==========================================================================*/
/*==========================================================================*/
/* G L O B A L F U N C T I O N P R O T O T Y P E S */
/*==========================================================================*/
/*EMPF======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_change_channel
DESCRIPTION:
FBM freezes on current channel. Returns when FBM ready to handle data
form new channel
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_change_channel(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_dec_to_disp
DESCRIPTION:
Program to FBM dec_to_disp param
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_dec_to_disp(
MV_DEC_TO_DISP in_dec_to_disp
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_play
DESCRIPTION:
Launch play command to FBM
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_play(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_scan
DESCRIPTION:
Launch scan command to FBM
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_scan(
MV_DEC_SCAN_MODE in_scan_mode
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_freeze
DESCRIPTION:
Launch freeze command to FBM
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_freeze(
MV_DEC_FREEZE_MODE in_freeze_mode
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_api_abort_decoding
DESCRIPTION:
Abort decoding triggered by the application
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_api_abort_decoding(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_soft_reset
DESCRIPTION:
soft reset triggered by the application
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_soft_reset(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_vs_notification
DESCRIPTION:
Notify FBM that a Vs has occurred
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_vs_notification(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_insync_notification
DESCRIPTION:
Notify FBM that a in_sync has occurred
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_in_sync_notification(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_set_error_concealment_copy
DESCRIPTION:
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_set_error_concealment_copy(
USHORT in_error_case
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_set_error_concealment_freeze
DESCRIPTION:
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_set_error_concealment_freeze(
USHORT in_error_case
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_video_in_sync_handler
DESCRIPTION:
Informs FBM-tasks after occurance of the video-in-sync interrupt
RETURNS:
CALLING SEQUENCE:
*/
extern void
MV_FBM_video_in_sync_handler(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_init
DESCRIPTION:
Perform initialization of FBM driver
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_init(
MV_DEC_BUFFERS *in_buffers /* In: application allocated buffers */
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_release_resources
DESCRIPTION:
Release all the resoources used by the FBM package
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_release_resources(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_task_release_resources
DESCRIPTION:
FBM task deletes its message queues then commit suicide
RETURNS:
MV_FBM_OK
MV_FBM_NOT_OK
CALLING SEQUENCE:
*/
extern int
MV_FBM_task_release_resources(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_set_defaults
PACKAGE: MV_FBM
SCOPE: PLATFORM
DESCRIPTION:
Sets the video decoder package to default settings.
The status variable as reset to init value.
CALLING SEQUENCE:
*/
extern void
MV_FBM_set_defaults(
void
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_decode_pip
PACKAGE: MV_FBM
SCOPE: PLATFORM
DESCRIPTION:
Program decode PIP to FBM
CALLING SEQUENCE:
*/
extern int /* Returns: <description> */
MV_FBM_decode_pip(
unsigned long in_still_pict_y_odd_addr,
unsigned long in_still_pict_y_even_addr,
unsigned long in_still_pict_c_odd_addr,
unsigned long in_still_pict_c_even_addr
);
/*EMP=======================================================================*/
/*MPF=======================================================================*/
/*
FUNCTION NAME: MV_FBM_step
PACKAGE: MV_FBM
SCOPE:
DESCRIPTION:
Program step command to FBM
CALLING SEQUENCE:
*/
int /* Returns: <description> */
MV_FBM_step(
MV_DEC_STEP_MODE in_step_mode
);
/*EMP=======================================================================*/
/*EEMP======================================================================*/
#ifdef __cplusplus
}
#endif
#endif /* _FBM_API_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -