Change misspelled 'parition' to 'partition'
Change-Id: Ic3f70ca00c872bc227c023dbde9c227fea09c3b2
diff --git a/av1/encoder/encodeframe_utils.h b/av1/encoder/encodeframe_utils.h
index 4ff828e..ed1187c 100644
--- a/av1/encoder/encodeframe_utils.h
+++ b/av1/encoder/encodeframe_utils.h
@@ -55,10 +55,10 @@
// Number of sub-partitions in 4-way partition types.
#define SUB_PARTITIONS_PART4 4
-// 4part parition types.
+// 4part partition types.
enum { HORZ4 = 0, VERT4, NUM_PART4_TYPES } UENUM1BYTE(PART4_TYPES);
-// AB parition types.
+// AB partition types.
enum {
HORZ_A = 0,
HORZ_B,
@@ -67,7 +67,7 @@
NUM_AB_PARTS
} UENUM1BYTE(AB_PART_TYPE);
-// Rectangular parition types.
+// Rectangular partition types.
enum { HORZ = 0, VERT, NUM_RECT_PARTS } UENUM1BYTE(RECT_PART_TYPE);
// Structure to keep win flags for HORZ and VERT partition evaluations.
diff --git a/av1/encoder/partition_search.c b/av1/encoder/partition_search.c
index a401a38..b7407f7 100644
--- a/av1/encoder/partition_search.c
+++ b/av1/encoder/partition_search.c
@@ -4501,9 +4501,9 @@
#if CONFIG_RT_ML_PARTITIONING
#define FEATURES 6
#define LABELS 2
-static int ml_predict_var_paritioning(AV1_COMP *cpi, MACROBLOCK *x,
- BLOCK_SIZE bsize, int mi_row,
- int mi_col) {
+static int ml_predict_var_partitioning(AV1_COMP *cpi, MACROBLOCK *x,
+ BLOCK_SIZE bsize, int mi_row,
+ int mi_col) {
AV1_COMMON *const cm = &cpi->common;
const NN_CONFIG *nn_config = NULL;
const float *means = NULL;
@@ -4773,7 +4773,7 @@
#ifndef _COLLECT_GROUND_TRUTH_
if (partition_none_allowed && do_split) {
const int ml_predicted_partition =
- ml_predict_var_paritioning(cpi, x, bsize, mi_row, mi_col);
+ ml_predict_var_partitioning(cpi, x, bsize, mi_row, mi_col);
if (ml_predicted_partition == PARTITION_NONE) do_split = 0;
if (ml_predicted_partition == PARTITION_SPLIT) partition_none_allowed = 0;
}