Mercurial > mplayer.hg
comparison libmpcodecs/vf.h @ 28515:134689b7b548
Add MP_IMGTYPE_NUMBERED which gives access to the kind of mp_image_t that
are numbered and have a "in use" flag which is necessary for proper
buffer management as e.g. H.264 direct-rendering needs and is already used
successfully for the -vo vdpau work-in-progress.
author | reimar |
---|---|
date | Sat, 14 Feb 2009 08:22:49 +0000 |
parents | 245a232deb93 |
children | 0f1b5b68af32 |
comparison
equal
deleted
inserted
replaced
28514:a796d60147fd | 28515:134689b7b548 |
---|---|
14 int (*open)(struct vf_instance_s* vf,char* args); | 14 int (*open)(struct vf_instance_s* vf,char* args); |
15 // Ptr to a struct dscribing the options | 15 // Ptr to a struct dscribing the options |
16 const void* opts; | 16 const void* opts; |
17 } vf_info_t; | 17 } vf_info_t; |
18 | 18 |
19 #define NUM_NUMBERED_MPI 50 | |
20 | |
19 typedef struct vf_image_context_s { | 21 typedef struct vf_image_context_s { |
20 mp_image_t* static_images[2]; | 22 mp_image_t* static_images[2]; |
21 mp_image_t* temp_images[1]; | 23 mp_image_t* temp_images[1]; |
22 mp_image_t* export_images[1]; | 24 mp_image_t* export_images[1]; |
25 mp_image_t* numbered_images[NUM_NUMBERED_MPI]; | |
23 int static_idx; | 26 int static_idx; |
24 } vf_image_context_t; | 27 } vf_image_context_t; |
25 | 28 |
26 typedef struct vf_format_context_t { | 29 typedef struct vf_format_context_t { |
27 int have_configured; | 30 int have_configured; |