apv_decode: expose the current frame header

We need to know the quantization matrix.
This commit is contained in:
Lynne
2026-05-19 17:43:53 +09:00
parent 46e67ad945
commit 54b618ab5c
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -375,6 +375,7 @@ static int apv_decode(AVCodecContext *avctx, AVFrame *output,
if (err < 0)
return err;
apv->cur_raw_frame = input;
apv->output_frame = output;
atomic_store_explicit(&apv->tile_errors, 0, memory_order_relaxed);
+2
View File
@@ -24,6 +24,7 @@
#include "apv.h"
#include "apv_dsp.h"
#include "cbs_apv.h"
#include "cbs.h"
#include "get_bits.h"
@@ -100,6 +101,7 @@ typedef struct APVDecodeContext {
CodedBitstreamFragment au;
APVDerivedTileInfo tile_info;
APVRawFrame *cur_raw_frame;
AVPacket *pkt;
AVFrame *output_frame;