]> granicus.if.org Git - libvpx/blobdiff - vp10/common/alloccommon.h
VP9Common -> VP10Common
[libvpx] / vp10 / common / alloccommon.h
index e2df9e42448324ceb5d6aa96582eac1f6355734d..5cfe6602d3efbb8a2cbcca8e5a3776be2d59ab47 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 
-#ifndef VP9_COMMON_VP9_ALLOCCOMMON_H_
-#define VP9_COMMON_VP9_ALLOCCOMMON_H_
+#ifndef VP10_COMMON_ALLOCCOMMON_H_
+#define VP10_COMMON_ALLOCCOMMON_H_
 
 #define INVALID_IDX -1  // Invalid buffer index.
 
 extern "C" {
 #endif
 
-struct VP9Common;
+struct VP10Common;
 struct BufferPool;
 
-void vp10_remove_common(struct VP9Common *cm);
+void vp10_remove_common(struct VP10Common *cm);
 
-int vp10_alloc_context_buffers(struct VP9Common *cm, int width, int height);
-void vp10_init_context_buffers(struct VP9Common *cm);
-void vp10_free_context_buffers(struct VP9Common *cm);
+int vp10_alloc_context_buffers(struct VP10Common *cm, int width, int height);
+void vp10_init_context_buffers(struct VP10Common *cm);
+void vp10_free_context_buffers(struct VP10Common *cm);
 
 void vp10_free_ref_frame_buffers(struct BufferPool *pool);
-void vp10_free_postproc_buffers(struct VP9Common *cm);
+void vp10_free_postproc_buffers(struct VP10Common *cm);
 
-int vp10_alloc_state_buffers(struct VP9Common *cm, int width, int height);
-void vp10_free_state_buffers(struct VP9Common *cm);
+int vp10_alloc_state_buffers(struct VP10Common *cm, int width, int height);
+void vp10_free_state_buffers(struct VP10Common *cm);
 
-void vp10_set_mb_mi(struct VP9Common *cm, int width, int height);
+void vp10_set_mb_mi(struct VP10Common *cm, int width, int height);
 
-void vp10_swap_current_and_last_seg_map(struct VP9Common *cm);
+void vp10_swap_current_and_last_seg_map(struct VP10Common *cm);
 
 #ifdef __cplusplus
 }  // extern "C"
 #endif
 
-#endif  // VP9_COMMON_VP9_ALLOCCOMMON_H_
+#endif  // VP10_COMMON_ALLOCCOMMON_H_