diff options
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/vp9_common.h | 4 | ||||
-rw-r--r-- | vp9/common/vp9_header.h | 40 | ||||
-rw-r--r-- | vp9/common/vp9_onyxc_int.h | 7 |
3 files changed, 4 insertions, 47 deletions
diff --git a/vp9/common/vp9_common.h b/vp9/common/vp9_common.h index b6252d93e..bd062ff9b 100644 --- a/vp9/common/vp9_common.h +++ b/vp9/common/vp9_common.h @@ -60,4 +60,8 @@ static INLINE int multiple16(int value) { return (value + 15) & ~15; } +// TODO(dkovalev): remove later +#define HEADER_SIZE_IN_BYTES 4 + + #endif // VP9_COMMON_VP9_COMMON_H_ diff --git a/vp9/common/vp9_header.h b/vp9/common/vp9_header.h deleted file mode 100644 index c51ce135d..000000000 --- a/vp9/common/vp9_header.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2010 The WebM project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#ifndef VP9_COMMON_VP9_HEADER_H_ -#define VP9_COMMON_VP9_HEADER_H_ - -/* 24 bits total */ -typedef struct { - unsigned int type: 1; - unsigned int version: 3; - unsigned int show_frame: 1; - - /* Allow 2^20 bytes = 8 megabits for first partition */ - - unsigned int first_partition_length_in_bytes: 19; - -#ifdef PACKET_TESTING - unsigned int frame_number; - unsigned int update_gold: 1; - unsigned int uses_gold: 1; - unsigned int update_last: 1; - unsigned int uses_last: 1; -#endif - -} VP9_HEADER; - -#ifdef PACKET_TESTING -#define VP9_HEADER_SIZE 8 -#else -#define VP9_HEADER_SIZE 3 -#endif - -#endif // VP9_COMMON_VP9_HEADER_H_ diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h index acca8479b..d2f9961b9 100644 --- a/vp9/common/vp9_onyxc_int.h +++ b/vp9/common/vp9_onyxc_int.h @@ -24,10 +24,6 @@ #include "vp9/common/vp9_postproc.h" #endif -/*#ifdef PACKET_TESTING*/ -#include "vp9/common/vp9_header.h" -/*#endif*/ - /* Create/destroy static data structures. */ void vp9_initialize_common(void); @@ -262,9 +258,6 @@ typedef struct VP9Common { int near_boffset[3]; int version; -#ifdef PACKET_TESTING - VP9_HEADER oh; -#endif double bitrate; double framerate; |