summaryrefslogtreecommitdiff
path: root/decoder.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-05 09:39:47 +0100
committerJochen Dolze <vdr@dolze.de>2010-03-05 09:39:47 +0100
commita73c755a421cd3b20dd9923c863a74ec860ad9ed (patch)
tree908121f0038cce0125ac0473aaa6fe6a9aee4b63 /decoder.h
parent4810e07340050c6651262da3deda8cb565c01c71 (diff)
downloadvdr-plugin-markad-a73c755a421cd3b20dd9923c863a74ec860ad9ed.tar.gz
vdr-plugin-markad-a73c755a421cd3b20dd9923c863a74ec860ad9ed.tar.bz2
Changed H264 handlingv0.0.5
Diffstat (limited to 'decoder.h')
-rw-r--r--decoder.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/decoder.h b/decoder.h
index c1e7f53..c14a48f 100644
--- a/decoder.h
+++ b/decoder.h
@@ -42,11 +42,16 @@ class cMarkAdDecoder
{
private:
int recvnumber;
+ int16_t *audiobuf;
+ int audiobufsize;
+
AVCodecContext *ac3_context;
AVCodecContext *mp2_context;
AVCodecContext *video_context;
AVFrame *video_frame;
+ int8_t *last_qscale_table;
+
bool SetAudioInfos(MarkAdContext *maContext, AVCodecContext *Audio_Context);
void PAR2DAR(AVRational a, AVRational *erg);
@@ -56,7 +61,7 @@ public:
bool DecodeVideo(MarkAdContext *maContext, uchar *pkt, int plen);
bool DecodeMP2(MarkAdContext *maContext, uchar *espkt, int eslen);
bool DecodeAC3(MarkAdContext *maContext, uchar *espkt, int eslen);
- cMarkAdDecoder(int recvnumber, bool useH264, bool hasAC3);
+ cMarkAdDecoder(int recvnumber, bool useH264, bool useMP2, bool hasAC3);
~cMarkAdDecoder();
};