comparison xvmc_render.h @ 10698:7ab88b24cb81

OSD support, optinal queue, optional use of sleep(), and benchmark mode
author iive
date Mon, 25 Aug 2003 21:41:10 +0000
parents 4eaf6fa120b1
children 470cc9dc1b33
comparison
equal deleted inserted replaced
10697:f0cddd635519 10698:7ab88b24cb81
8 8
9 //the surface should be shown, video driver manipulate this 9 //the surface should be shown, video driver manipulate this
10 #define MP_XVMC_STATE_DISPLAY_PENDING 1 10 #define MP_XVMC_STATE_DISPLAY_PENDING 1
11 //the surface is needed for prediction, codec manipulate this 11 //the surface is needed for prediction, codec manipulate this
12 #define MP_XVMC_STATE_PREDICTION 2 12 #define MP_XVMC_STATE_PREDICTION 2
13 //this surface is needed for subpicture rendering
14 #define MP_XVMC_STATE_OSD_SOURCE 4
13 // 1337 IDCT MCo 15 // 1337 IDCT MCo
14 #define MP_XVMC_RENDER_MAGIC 0x1DC711C0 16 #define MP_XVMC_RENDER_MAGIC 0x1DC711C0
15 17
16 typedef struct{ 18 typedef struct{
17 //these are not changed by decoder! 19 //these are not changed by decoder!
23 int total_number_of_data_blocks; 25 int total_number_of_data_blocks;
24 int mc_type;//XVMC_MPEG1/2/4,XVMC_H263 without XVMC_IDCT 26 int mc_type;//XVMC_MPEG1/2/4,XVMC_H263 without XVMC_IDCT
25 int idct;//does we use IDCT acceleration? 27 int idct;//does we use IDCT acceleration?
26 int chroma_format;//420,422,444 28 int chroma_format;//420,422,444
27 int unsigned_intra;//+-128 for intra pictures after clip 29 int unsigned_intra;//+-128 for intra pictures after clip
28 int reserved1[13];//future extenstions (e.g. gmc,qpel) 30 int reserved1[12];//future extenstions (e.g. gmc,qpel)
31 void * p_osd_target_surface_render;//pointer to the surface where subpicture is rendered
29 XvMCSurface* p_surface;//pointer to rendered surface, never changed 32 XvMCSurface* p_surface;//pointer to rendered surface, never changed
30 33
31 //these are changed by decoder 34 //these are changed by decoder
32 //used by XvMCRenderSurface function 35 //used by XvMCRenderSurface function
33 XvMCSurface* p_past_surface;//pointer to the past surface 36 XvMCSurface* p_past_surface;//pointer to the past surface