Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FGS improvements, clean SIMD separation #186

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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