You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
vulkan_ffv1: fix PCM + cached symbol reader
writeout_rgb requires that all subgroups are active.
This commit is contained in:
@ -56,6 +56,11 @@ int get_isymbol(inout RangeCoder c, uint state_off)
|
|||||||
|
|
||||||
void decode_line_pcm(inout SliceContext sc, ivec2 sp, int w, int y, int p, int bits)
|
void decode_line_pcm(inout SliceContext sc, ivec2 sp, int w, int y, int p, int bits)
|
||||||
{
|
{
|
||||||
|
#ifdef CACHED_SYMBOL_READER
|
||||||
|
if (gl_LocalInvocationID.x > 0)
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef RGB
|
#ifndef RGB
|
||||||
if (p > 0 && p < 3) {
|
if (p > 0 && p < 3) {
|
||||||
w >>= chroma_shift.x;
|
w >>= chroma_shift.x;
|
||||||
@ -235,8 +240,6 @@ void decode_slice(inout SliceContext sc, const uint slice_idx)
|
|||||||
/* PCM coding */
|
/* PCM coding */
|
||||||
#ifndef GOLOMB
|
#ifndef GOLOMB
|
||||||
if (sc.slice_coding_mode == 1) {
|
if (sc.slice_coding_mode == 1) {
|
||||||
if (gl_LocalInvocationID.x > 0)
|
|
||||||
return;
|
|
||||||
#ifndef RGB
|
#ifndef RGB
|
||||||
for (int p = 0; p < planes; p++) {
|
for (int p = 0; p < planes; p++) {
|
||||||
int h = sc.slice_dim.y;
|
int h = sc.slice_dim.y;
|
||||||
|
Reference in New Issue
Block a user