Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 40600e6

Browse files
committed
Update libraries, binary and header file (#52)
1 parent 8b4670e commit 40600e6

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

src/ffmpeg/dependency/DistributedEncoderAPI.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
#define IP_ADDRESS_LEN 16
4343
#define MAX_SESSION_COUNT 32
4444
#define MAX_REGION_COUNT 512
45+
#define ALIGN64(X) ((uint32_t)(((uint32_t)(X))+63) & (uint32_t)(~ (uint32_t)63))
4546

4647
//!
4748
//! \enum DispatchType
@@ -100,6 +101,13 @@ typedef enum
100101
PixelColor_YUV444
101102
}PixelColorFormat;
102103

104+
typedef enum
105+
{
106+
InputYUVFormat_NONE = 0,
107+
InputYUVFormat_P010,
108+
InputYUVFormat_V210,
109+
}InputYUVFormat;
110+
103111
//!
104112
//! \enum: ParamType
105113
//! \brief: parameter types from this library
@@ -210,6 +218,7 @@ typedef struct ENCODERPARAM{
210218
int32_t gpu_node; //!< GPU node to encode frames
211219
bool in_parallel; //!< multiple tiles encoding in parallel
212220
bool native_mode; //!< flag of native mode for encoder
221+
InputYUVFormat input_yuv_format; //!< Input YUV format,
213222
uint32_t gpucopy; //!< GPU copy trigger for MSDK
214223
}EncoderParam;
215224

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

227238
// SEI related structures

src/ffmpeg/dependency/WorkerServer

-7.49 KB
Binary file not shown.
752 Bytes
Binary file not shown.
152 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)