mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-05-01 06:13:08 +08:00
ffv1enc_vulkan: perform non-RGB prediction in 16-bits
This commit is contained in:
@@ -78,9 +78,15 @@ layout (push_constant, scalar) uniform pushConstants {
|
||||
|
||||
#include "rangecoder.glsl"
|
||||
|
||||
#if !defined(RGB)
|
||||
#define TYPE int16_t
|
||||
#define VTYPE2 i16vec2
|
||||
#define VTYPE3 i16vec3
|
||||
#else
|
||||
#define TYPE int32_t
|
||||
#define VTYPE2 i32vec2
|
||||
#define VTYPE3 i32vec3
|
||||
#endif
|
||||
|
||||
struct SliceContext {
|
||||
RangeCoder c;
|
||||
|
||||
Reference in New Issue
Block a user