summaryrefslogtreecommitdiffstats
path: root/decoder/impeg2d_globals.h
diff options
context:
space:
mode:
authorVenkatarama Avadhani <venkatarama.avadhani@ittiam.com>2015-03-11 10:08:57 +0530
committerHarish Mahendrakar <harish.mahendrakar@ittiam.com>2015-04-07 18:19:15 +0530
commitaed24eee7ddfc93f1436b0c1679431bd286879b4 (patch)
tree9399f32cdfa15ac9720ded9c8a8093876ba03376 /decoder/impeg2d_globals.h
parent839aea316dc98d258d75f7e2878b21db032a82c1 (diff)
downloadandroid_external_libmpeg2-aed24eee7ddfc93f1436b0c1679431bd286879b4.tar.gz
android_external_libmpeg2-aed24eee7ddfc93f1436b0c1679431bd286879b4.tar.bz2
android_external_libmpeg2-aed24eee7ddfc93f1436b0c1679431bd286879b4.zip
Initial version
Change-Id: I5a9473876e596e7461e91f971b0243f694f7e8fb
Diffstat (limited to 'decoder/impeg2d_globals.h')
-rw-r--r--decoder/impeg2d_globals.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/decoder/impeg2d_globals.h b/decoder/impeg2d_globals.h
new file mode 100644
index 0000000..5b9c093
--- /dev/null
+++ b/decoder/impeg2d_globals.h
@@ -0,0 +1,43 @@
+/******************************************************************************
+ *
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ *****************************************************************************
+ * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
+*/
+#ifndef __IMPEG2D_GLOBALS_H__
+#define __IMPEG2D_GLOBALS_H__
+
+typedef struct
+{
+ UWORD16 mvy_cf;
+ UWORD16 mv_num_cf;
+ UWORD16 frm_wd_cf;
+ UWORD16 src_wd_cf;
+ UWORD32 rows;
+ UWORD32 dst_wd;
+ UWORD32 dst_offset_scale;
+}mc_type_consts_t;
+
+extern const mc_type_consts_t gas_impeg2d_mc_params_luma[][2];
+extern const mc_type_consts_t gas_impeg2d_mc_params_chroma[][2];
+
+extern const dec_mb_params_t gas_impeg2d_func_frm_fw_or_bk[];
+extern const dec_mb_params_t gas_impeg2d_func_fld_fw_or_bk[];
+
+extern const dec_mb_params_t gas_impeg2d_func_frm_bi_direct[];
+extern const dec_mb_params_t gas_impeg2d_func_fld_bi_direct[];
+
+#endif /* __IMPEG2D_GLOBALS_H__ */