mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
apv_decode: expose the current frame header
We need to know the quantization matrix.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user