Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Update libraries, binary and header file (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
U1X6WK committed Jul 14, 2023
1 parent 9d28398 commit 03efc65
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/ffmpeg/dependency/DistributedEncoderAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#define IP_ADDRESS_LEN 16
#define MAX_SESSION_COUNT 32
#define MAX_REGION_COUNT 512
#define ALIGN64(X) ((uint32_t)(((uint32_t)(X))+63) & (uint32_t)(~ (uint32_t)63))

//!
//! \enum DispatchType
Expand Down Expand Up @@ -100,6 +101,13 @@ typedef enum
PixelColor_YUV444
}PixelColorFormat;

typedef enum
{
InputYUVFormat_NONE = 0,
InputYUVFormat_P010,
InputYUVFormat_V210,
}InputYUVFormat;

//!
//! \enum: ParamType
//! \brief: parameter types from this library
Expand Down Expand Up @@ -210,6 +218,7 @@ typedef struct ENCODERPARAM{
int32_t gpu_node; //!< GPU node to encode frames
bool in_parallel; //!< multiple tiles encoding in parallel
bool native_mode; //!< flag of native mode for encoder
InputYUVFormat input_yuv_format; //!< Input YUV format,
uint32_t gpucopy; //!< GPU copy trigger for MSDK
}EncoderParam;

Expand All @@ -222,6 +231,8 @@ typedef struct INPUTFRAME{
PixelColorFormat format; //!< pixel color format
PictureType picType; //!< picture type,e.g. I/P/B/...
bool useSharedMem; //!< if the data is using shared memory or not
uint8_t hScaleFactor; //!< horizontal scaling factor of encode frame to input frame
uint8_t vScaleFactor; //!< vertical scaling factor of encode frame to input frame
}InputFrame;

// SEI related structures
Expand Down
Binary file modified src/ffmpeg/dependency/WorkerServer
Binary file not shown.
Binary file modified src/ffmpeg/dependency/libDistributedEncoder.so
Binary file not shown.
Binary file modified src/ffmpeg/dependency/libEncoder.so
Binary file not shown.

0 comments on commit 03efc65

Please sign in to comment.