mirror of
https://github.com/mpv-player/mpv
synced 2025-04-11 04:01:31 +00:00
OSD support, optinal queue, optional use of sleep(), and benchmark mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10699 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fa0f8ea2a4
commit
1902b5896c
850
libvo/vo_xvmc.c
850
libvo/vo_xvmc.c
File diff suppressed because it is too large
Load Diff
@ -10,6 +10,8 @@
|
|||||||
#define MP_XVMC_STATE_DISPLAY_PENDING 1
|
#define MP_XVMC_STATE_DISPLAY_PENDING 1
|
||||||
//the surface is needed for prediction, codec manipulate this
|
//the surface is needed for prediction, codec manipulate this
|
||||||
#define MP_XVMC_STATE_PREDICTION 2
|
#define MP_XVMC_STATE_PREDICTION 2
|
||||||
|
//this surface is needed for subpicture rendering
|
||||||
|
#define MP_XVMC_STATE_OSD_SOURCE 4
|
||||||
// 1337 IDCT MCo
|
// 1337 IDCT MCo
|
||||||
#define MP_XVMC_RENDER_MAGIC 0x1DC711C0
|
#define MP_XVMC_RENDER_MAGIC 0x1DC711C0
|
||||||
|
|
||||||
@ -25,7 +27,8 @@ typedef struct{
|
|||||||
int idct;//does we use IDCT acceleration?
|
int idct;//does we use IDCT acceleration?
|
||||||
int chroma_format;//420,422,444
|
int chroma_format;//420,422,444
|
||||||
int unsigned_intra;//+-128 for intra pictures after clip
|
int unsigned_intra;//+-128 for intra pictures after clip
|
||||||
int reserved1[13];//future extenstions (e.g. gmc,qpel)
|
int reserved1[12];//future extenstions (e.g. gmc,qpel)
|
||||||
|
void * p_osd_target_surface_render;//pointer to the surface where subpicture is rendered
|
||||||
XvMCSurface* p_surface;//pointer to rendered surface, never changed
|
XvMCSurface* p_surface;//pointer to rendered surface, never changed
|
||||||
|
|
||||||
//these are changed by decoder
|
//these are changed by decoder
|
||||||
|
Loading…
Reference in New Issue
Block a user