summaryrefslogtreecommitdiffstats
path: root/media/libvpx/vp9/common/vp9_rtcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'media/libvpx/vp9/common/vp9_rtcd.c')
-rw-r--r--media/libvpx/vp9/common/vp9_rtcd.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/media/libvpx/vp9/common/vp9_rtcd.c b/media/libvpx/vp9/common/vp9_rtcd.c
new file mode 100644
index 000000000..2dfa09f50
--- /dev/null
+++ b/media/libvpx/vp9/common/vp9_rtcd.c
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2011 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.
+ */
+#include "./vpx_config.h"
+#define RTCD_C
+#include "./vp9_rtcd.h"
+#include "vpx_ports/vpx_once.h"
+
+void vp9_rtcd() {
+ // TODO(JBB): Remove this once, by insuring that both the encoder and
+ // decoder setup functions are protected by once();
+ once(setup_rtcd_internal);
+}