Skip to content

Commit

Permalink
Merge pull request #186 from adamjw24/develop_fgs_impr
Browse files Browse the repository at this point in the history
FGS improvements, clean SIMD separation
  • Loading branch information
K-os authored Jun 24, 2024
2 parents c26979f + ae9d70e commit 752bdd0
Show file tree
Hide file tree
Showing 21 changed files with 1,610 additions and 531 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ set( VVDEC_ENABLE_X86_SIMD TRUE CACHE BOOL "enable x86 in
set( VVDEC_ENABLE_ARM_SIMD ${VVDEC_ARM_SIMD_DEFAULT} CACHE BOOL "enable ARM intrinsics" )

set( VVDEC_ENABLE_TRACING FALSE CACHE BOOL "Compile in tracing functionality" )
set( VVDEC_ENABLE_FILM_GRAIN FALSE CACHE BOOL "Build with film grain synthesis support" )
set( VVDEC_ENABLE_FILM_GRAIN TRUE CACHE BOOL "Build with film grain synthesis support" )

include( vvdecCompilerSupport )

Expand Down
25 changes: 14 additions & 11 deletions include/vvdec/vvdec.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,17 +437,20 @@ typedef struct vvdecFrame
*/
typedef struct vvdecParams
{
int threads; // thread count ( default: -1 )
int parseDelay; // number of frames to parse in parallel ( default: -1 )
vvdecRPRUpscaling upscaleOutput; // do internal upscaling of rpl pictures to dest. resolution ( default: 0 )
vvdecLogLevel logLevel; // verbosity level
bool verifyPictureHash; // verify picture, if digest is available, true: check hash in SEI messages if available, false: ignore SEI message
bool removePadding; // copy output pictures to new buffer to remove padding (stride==width) ( default: false )
vvdecSIMD_Extension simd; // set specific simd optimization (default: max. availalbe)
void *opaque; // opaque pointer for private user data ( can be used to carry application specific data or contexts )
vvdecErrHandlingFlags errHandlingFlags; // set of flags defining how to handle bitstream errors
int parseThreads; // DEPRECATED. Use `parseDelay` instead. This will be removed in the future. Until then, this value is copied to parseDelay if set.
int padding2; // reserved space for future parameters
int threads; // thread count ( default: -1 )
int parseDelay; // number of frames to parse in parallel ( default: -1 )
vvdecRPRUpscaling upscaleOutput; // do internal upscaling of rpl pictures to dest. resolution ( default: 0 )
vvdecLogLevel logLevel; // verbosity level
bool verifyPictureHash; // verify picture, if digest is available, true: check hash in SEI messages if available, false: ignore SEI message
bool removePadding; // copy output pictures to new buffer to remove padding (stride==width) ( default: false )
vvdecSIMD_Extension simd; // set specific simd optimization (default: max. availalbe)
void *opaque; // opaque pointer for private user data ( can be used to carry application specific data or contexts )
vvdecErrHandlingFlags errHandlingFlags; // set of flags defining how to handle bitstream errors
int parseThreads; // DEPRECATED. Use `parseDelay` instead. This will be removed in the future. Until then, this value is copied to parseDelay if set.
bool filmGrainSynthesis; // set film grain synthesis using Film Grain Charactersitics SEI ( default: true )
int8_t padding2_1; // reserved space for future parameters
int8_t padding2_2;
int8_t padding2_3;
int padding3;
int padding4;
} vvdecParams;
Expand Down
Loading

0 comments on commit 752bdd0

Please sign in to comment.