summaryrefslogtreecommitdiff
path: root/libavcodec/dv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-23 11:31:07 +0200
committerAnton Khirnov <anton@khirnov.net>2022-09-05 08:08:08 +0200
commit828ec6ef4306d046749817fd6890e11f3289928b (patch)
treebb6874c178b538956597221ffc3acf0903071417 /libavcodec/dv.h
parent4e73ed836641e85c5efbcb0d42a811645c74ac95 (diff)
downloadffmpeg-828ec6ef4306d046749817fd6890e11f3289928b.tar.gz
lavc/dvenc: stop using DVVideoContext
Move the parts of it used by the encoder into a new DVEncContext and remove DVVideoContext.
Diffstat (limited to 'libavcodec/dv.h')
-rw-r--r--libavcodec/dv.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/libavcodec/dv.h b/libavcodec/dv.h
index 6430688795..859a4e6545 100644
--- a/libavcodec/dv.h
+++ b/libavcodec/dv.h
@@ -27,36 +27,13 @@
#ifndef AVCODEC_DV_H
#define AVCODEC_DV_H
-#include "avcodec.h"
#include "dv_profile.h"
-#include "me_cmp.h"
-#include "idctdsp.h"
typedef struct DVwork_chunk {
uint16_t buf_offset;
uint16_t mb_coordinates[5];
} DVwork_chunk;
-typedef struct DVVideoContext {
- AVClass *avclass;
- const AVDVProfile *sys;
- const AVFrame *frame;
- AVCodecContext *avctx;
- uint8_t *buf;
-
- uint8_t dv_zigzag[2][64];
-
- void (*get_pixels)(int16_t *block, const uint8_t *pixels, ptrdiff_t linesize);
- void (*fdct[2])(int16_t *block);
- void (*idct_put[2])(uint8_t *dest, ptrdiff_t stride, int16_t *block);
- me_cmp_func ildct_cmp;
- DVwork_chunk work_chunks[4 * 12 * 27];
- uint32_t idct_factor[2 * 4 * 16 * 64];
- IDCTDSPContext idsp;
-
- int quant_deadzone;
-} DVVideoContext;
-
enum dv_section_type {
dv_sect_header = 0x1f,
dv_sect_subcode = 0x3f,