mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 07:50:58 +02:00
Add buffering for SH4
Signed-off-by: max_10 <max_10@gmx.de>
Origin commit data
------------------
Branch: master
Commit: fdbe7eafd6
Author: samsamsam <samsamsam@o2.pl>
Date: 2018-04-14 (Sat, 14 Apr 2018)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -29,6 +29,7 @@ typedef enum
|
||||
OUTPUT_GET_FRAME_COUNT,
|
||||
OUTPUT_GET_PROGRESSIVE,
|
||||
OUTPUT_SET_BUFFER_SIZE,
|
||||
OUTPUT_GET_BUFFER_SIZE,
|
||||
} OutputCmd_t;
|
||||
|
||||
typedef struct
|
||||
|
@@ -23,7 +23,7 @@ typedef struct
|
||||
unsigned int Height;
|
||||
unsigned char Version;
|
||||
unsigned int InfoFlags;
|
||||
ssize_t (* WriteV) (int, const struct iovec *, size_t);
|
||||
ssize_t (* WriteV) (int, const struct iovec *, int);
|
||||
} WriterAVCallData_t;
|
||||
|
||||
|
||||
@@ -88,8 +88,9 @@ Writer_t *getWriter(char *encoding);
|
||||
|
||||
Writer_t *getDefaultVideoWriter();
|
||||
Writer_t *getDefaultAudioWriter();
|
||||
ssize_t write_with_retry(int fd, const void *buf, size_t size);
|
||||
ssize_t writev_with_retry(int fd, const struct iovec *iov, size_t ic);
|
||||
ssize_t write_with_retry(int fd, const void *buf, int size);
|
||||
ssize_t writev_with_retry(int fd, const struct iovec *iov, int ic);
|
||||
|
||||
ssize_t WriteWithRetry(Context_t *context, int pipefd, int fd, const void *buf, size_t size);
|
||||
ssize_t WriteWithRetry(Context_t *context, int pipefd, int fd, const void *buf, int size);
|
||||
void FlusPipe(int pipefd);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user