Preliminary PS5 Streaming

This commit is contained in:
Florian Märkl 2020-12-16 18:47:50 +01:00
commit aa9939e93c
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
11 changed files with 848 additions and 32 deletions

View file

@ -61,7 +61,7 @@ CHIAKI_EXPORT void chiaki_aligned_free(void *ptr);
typedef enum
{
// values must not change
CHIAKI_TARGET_PS4_UNKNOWN = 0,
CHIAKI_TARGET_PS4_UNKNOWN = 0,
CHIAKI_TARGET_PS4_8 = 800,
CHIAKI_TARGET_PS4_9 = 900,
CHIAKI_TARGET_PS4_10 = 1000,
@ -82,6 +82,13 @@ static inline bool chiaki_target_is_ps5(ChiakiTarget target) { return target >=
*/
CHIAKI_EXPORT ChiakiErrorCode chiaki_lib_init();
typedef enum
{
CHIAKI_CODEC_H264 = 0,
CHIAKI_CODEC_H265,
CHIAKI_CODEC_H265_HDR
} ChiakiCodec;
#ifdef __cplusplus
}
#endif

View file

@ -48,6 +48,7 @@ typedef struct chiaki_connect_video_profile_t
unsigned int height;
unsigned int max_fps;
unsigned int bitrate;
ChiakiCodec codec;
} ChiakiConnectVideoProfile;
typedef enum {