blob: 6a323e3d4fa02921273201ffa2957fb89f60a315 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* PARSEC HEADER: SYSS_REFFRAME.H
*/
#ifndef _SYSS_REFFRAME_H_
#define _SYSS_REFFRAME_H_
// init reference frame counting
void SYSs_InitRefFrameCount();
// get current reference frame count
refframe_t SYSs_GetRefFrameCount();
// wait for specified number of reference frames
void SYSs_Wait( refframe_t refframes );
// called once per frame to pass control to a platform-specific handler
int SYSs_Yield();
#include "e_global_sv.h"
#include "sl_timer.h"
// helper macros --------------------------------------------------------------
//
#define REFFRAMES_TO_USEC( x ) ( ( x ) * 1000000 ) / FRAME_MEASURE_TIMEBASE;
#endif // !_SYSS_REFFRAME_H_
|