aboutsummaryrefslogtreecommitdiff
path: root/Src/h264dec/lcommon/inc/quant_params.h
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/h264dec/lcommon/inc/quant_params.h
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
Diffstat (limited to 'Src/h264dec/lcommon/inc/quant_params.h')
-rw-r--r--Src/h264dec/lcommon/inc/quant_params.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/Src/h264dec/lcommon/inc/quant_params.h b/Src/h264dec/lcommon/inc/quant_params.h
new file mode 100644
index 00000000..c35682c0
--- /dev/null
+++ b/Src/h264dec/lcommon/inc/quant_params.h
@@ -0,0 +1,55 @@
+/*!
+ ***************************************************************************
+ * \file
+ * quant_params.h
+ *
+ * \author
+ * Alexis Michael Tourapis
+ *
+ * \brief
+ * Headerfile for Quantization parameters
+ **************************************************************************
+ */
+
+#ifndef _QUANT_PARAMS_H_
+#define _QUANT_PARAMS_H_
+
+struct level_quant_params {
+ int OffsetComp;
+ int ScaleComp;
+ int InvScaleComp;
+};
+
+typedef struct level_quant_params LevelQuantParams;
+
+struct quant_params {
+ int AdaptRndWeight;
+ int AdaptRndCrWeight;
+
+ LevelQuantParams *****q_params_4x4;
+ LevelQuantParams *****q_params_8x8;
+
+ int *qp_per_matrix;
+ int *qp_rem_matrix;
+
+ short **OffsetList4x4input;
+ short **OffsetList8x8input;
+ short ***OffsetList4x4;
+ short ***OffsetList8x8;
+};
+
+struct quant_methods {
+ int block_y;
+ int block_x;
+ int qp;
+ int* ACLevel;
+ int* ACRun;
+ int **fadjust;
+ LevelQuantParams **q_params;
+ int *coeff_cost;
+ const byte (*pos_scan)[2];
+ const byte *c_cost;
+};
+
+#endif
+