summaryrefslogtreecommitdiffstats
path: root/libavcodec/vp9.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2016-08-02 07:55:31 +0200
committerAnton Khirnov <anton@khirnov.net>2016-08-11 10:54:44 +0200
commit1730a67ab99de0648dd55e81ea7fec12ab70225c (patch)
tree232cb02caace8db403fad9a2f5284131c2adcf07 /libavcodec/vp9.h
parent5b995452a63ed754545a0ac90be79fac63b3390d (diff)
downloadffmpeg-streaming-1730a67ab99de0648dd55e81ea7fec12ab70225c.zip
ffmpeg-streaming-1730a67ab99de0648dd55e81ea7fec12ab70225c.tar.gz
vp9: add frame threading
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vp9.h')
-rw-r--r--libavcodec/vp9.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/vp9.h b/libavcodec/vp9.h
index e591298..25bb2d1 100644
--- a/libavcodec/vp9.h
+++ b/libavcodec/vp9.h
@@ -271,6 +271,9 @@ typedef struct VP9Block {
int row, row7, col, col7;
uint8_t *dst[3];
ptrdiff_t y_stride, uv_stride;
+
+ enum BlockLevel bl;
+ enum BlockPartition bp;
} VP9Block;
typedef struct VP9Context {
@@ -283,6 +286,14 @@ typedef struct VP9Context {
VP9Block *b;
VP9Block *b_base;
+ int alloc_width;
+ int alloc_height;
+
+ int pass;
+ int uses_2pass;
+ int last_uses_2pass;
+ int setup_finished;
+
// bitstream header
uint8_t profile;
uint8_t keyframe, last_keyframe;
OpenPOWER on IntegriCloud