Re: [FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: fixed a decoding corruption issue

2022-11-03 Thread Xiang, Haihao
On Thu, 2022-11-03 at 02:21 +, Wang, Fei W wrote: > On Wed, 2022-11-02 at 15:35 -0400, Ruijing Dong wrote: > > In av1_spec.pdf page 38/669, there is a sentence below: > > > > if ( frame_type == KEY_FRAME && show_frame ) { > >for ( i = 0; i < NUM_REF_FRAMES; i++) { > > RefValid[ i ] =

Re: [FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: fixed a decoding corruption issue

2022-11-02 Thread Wang, Fei W
On Wed, 2022-11-02 at 15:35 -0400, Ruijing Dong wrote: > In av1_spec.pdf page 38/669, there is a sentence below: > > if ( frame_type == KEY_FRAME && show_frame ) { >for ( i = 0; i < NUM_REF_FRAMES; i++) { > RefValid[ i ] = 0 > .. >} >.. > } > > This shows that the

[FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: fixed a decoding corruption issue

2022-11-02 Thread Ruijing Dong
In av1_spec.pdf page 38/669, there is a sentence below: if ( frame_type == KEY_FRAME && show_frame ) { for ( i = 0; i < NUM_REF_FRAMES; i++) { RefValid[ i ] = 0 .. } .. } This shows that the condition of invalidating current DPB frames should be the coming frame_type