aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp9.h
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-25 13:19:52 +0100
committerClément Bœsch <u@pkh.me>2017-03-27 21:38:21 +0200
commit37814a21cb7dfbaca56b518b09eb0f85a0fe70fb (patch)
tree638e7e463cc6162e7e77d675f3dbf51dcf2da08e /libavcodec/vp9.h
parent875f6955769bcb7caf083c1796ed6f3b2108c49e (diff)
downloadffmpeg-37814a21cb7dfbaca56b518b09eb0f85a0fe70fb.tar.gz
lavc/vp9: consistent use of typedef instead of struct
Diffstat (limited to 'libavcodec/vp9.h')
-rw-r--r--libavcodec/vp9.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/libavcodec/vp9.h b/libavcodec/vp9.h
index 0097385e1c..ef277b1d1d 100644
--- a/libavcodec/vp9.h
+++ b/libavcodec/vp9.h
@@ -248,23 +248,22 @@ typedef struct VP9DSPContext {
vp9_scaled_mc_func smc[5][4][2];
} VP9DSPContext;
-
-struct VP9mvrefPair {
+typedef struct VP9mvrefPair {
VP56mv mv[2];
int8_t ref[2];
-};
+} VP9mvrefPair;
-struct VP9Filter {
+typedef struct VP9Filter {
uint8_t level[8 * 8];
uint8_t /* bit=col */ mask[2 /* 0=y, 1=uv */][2 /* 0=col, 1=row */]
[8 /* rows */][4 /* 0=16, 1=8, 2=4, 3=inner4 */];
-};
+} VP9Filter;
typedef struct VP9Frame {
ThreadFrame tf;
AVBufferRef *extradata;
uint8_t *segmentation_map;
- struct VP9mvrefPair *mv;
+ VP9mvrefPair *mv;
int uses_2pass;
AVBufferRef *hwaccel_priv_buf;
@@ -454,7 +453,7 @@ typedef struct VP9Context {
// whole-frame cache
uint8_t *intra_pred_data[3];
- struct VP9Filter *lflvl;
+ VP9Filter *lflvl;
DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer)[135 * 144 * 2];
// block reconstruction intermediates
@@ -486,7 +485,7 @@ void ff_vp9_fill_mv(VP9Context *s, VP56mv *mv, int mode, int sb);
void ff_vp9_adapt_probs(VP9Context *s);
void ff_vp9_decode_block(AVCodecContext *ctx, int row, int col,
- struct VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff,
+ VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff,
enum BlockLevel bl, enum BlockPartition bp);
#endif /* AVCODEC_VP9_H */