mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +00:00
(ffmpeg core) Struct reordering, alignment
This commit is contained in:
parent
aeeff7f350
commit
1b4cbf3ed5
@ -193,10 +193,9 @@ static GLint mix_loc;
|
|||||||
|
|
||||||
static struct
|
static struct
|
||||||
{
|
{
|
||||||
|
double interpolate_fps;
|
||||||
unsigned width;
|
unsigned width;
|
||||||
unsigned height;
|
unsigned height;
|
||||||
|
|
||||||
double interpolate_fps;
|
|
||||||
unsigned sample_rate;
|
unsigned sample_rate;
|
||||||
|
|
||||||
float aspect;
|
float aspect;
|
||||||
|
@ -19,14 +19,14 @@ enum kbStatus
|
|||||||
|
|
||||||
struct video_buffer
|
struct video_buffer
|
||||||
{
|
{
|
||||||
|
int64_t head;
|
||||||
|
int64_t tail;
|
||||||
video_decoder_context_t *buffer;
|
video_decoder_context_t *buffer;
|
||||||
enum kbStatus *status;
|
enum kbStatus *status;
|
||||||
size_t capacity;
|
|
||||||
slock_t *lock;
|
slock_t *lock;
|
||||||
scond_t *open_cond;
|
scond_t *open_cond;
|
||||||
scond_t *finished_cond;
|
scond_t *finished_cond;
|
||||||
int64_t head;
|
size_t capacity;
|
||||||
int64_t tail;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
video_buffer_t *video_buffer_create(
|
video_buffer_t *video_buffer_create(
|
||||||
|
@ -43,7 +43,6 @@ RETRO_BEGIN_DECLS
|
|||||||
*/
|
*/
|
||||||
struct video_decoder_context
|
struct video_decoder_context
|
||||||
{
|
{
|
||||||
int index;
|
|
||||||
int64_t pts;
|
int64_t pts;
|
||||||
struct SwsContext *sws;
|
struct SwsContext *sws;
|
||||||
AVFrame *source;
|
AVFrame *source;
|
||||||
@ -55,6 +54,7 @@ struct video_decoder_context
|
|||||||
ASS_Track *ass_track_active;
|
ASS_Track *ass_track_active;
|
||||||
#endif
|
#endif
|
||||||
uint8_t *frame_buf;
|
uint8_t *frame_buf;
|
||||||
|
int index;
|
||||||
};
|
};
|
||||||
typedef struct video_decoder_context video_decoder_context_t;
|
typedef struct video_decoder_context video_decoder_context_t;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user