Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6120 → Rev 6121

/contrib/media/fplay/fplay.h
16,6 → 16,15
#define HAS_RIGHT (1<<2)
#define HAS_BOTTOM (1<<3)
 
typedef struct
{
enum AVPixelFormat format;
AVPicture picture;
int planar;
double pts;
volatile int ready;
}vframe_t;
 
struct render
{
vst_t *vst;
111,13 → 120,14
 
mutex_t gpu_lock; /* gpu access lock. libdrm not yet thread safe :( */
 
vframe_t vframe[4]; /* decoder workset */
int vfx; /* index of decoded frame */
int dfx; /* index of renderd frame */
 
void *hwCtx; /* hardware context */
int hwdec; /* hardware decoder */
};
 
 
 
#define DECODER_THREAD 1
#define AUDIO_THREAD 2
#define VIDEO_THREAD 4
155,7 → 165,6
::"a"(68),"b"(14),"c"(event));
}
 
int fplay_vaapi_init(void);
void va_convert_picture(vst_t *vst, int width, int height, AVPicture *pic);
 
int init_fontlib();