aboutsummaryrefslogtreecommitdiff
path: root/av1/common/av1_common_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'av1/common/av1_common_int.h')
-rw-r--r--av1/common/av1_common_int.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/av1/common/av1_common_int.h b/av1/common/av1_common_int.h
index fd2ec069f..f3f2823ef 100644
--- a/av1/common/av1_common_int.h
+++ b/av1/common/av1_common_int.h
@@ -301,7 +301,7 @@ typedef struct SequenceHeader {
aom_bit_depth_t bit_depth; // AOM_BITS_8 in profile 0 or 1,
// AOM_BITS_10 or AOM_BITS_12 in profile 2 or 3.
uint8_t use_highbitdepth; // If true, we need to use 16bit frame buffers.
- uint8_t monochrome; // Monochorme video
+ uint8_t monochrome; // Monochrome video
aom_color_primaries_t color_primaries;
aom_transfer_characteristics_t transfer_characteristics;
aom_matrix_coefficients_t matrix_coefficients;
@@ -461,11 +461,11 @@ typedef struct CommonTileParams {
*/
int min_log2_rows;
/*!
- * Min num of tile columns possible based on frame width.
+ * Max num of tile columns possible based on frame width.
*/
int max_log2_cols;
/*!
- * Max num of tile columns possible based on frame width.
+ * Max num of tile rows possible based on frame height.
*/
int max_log2_rows;
/*!
@@ -660,7 +660,7 @@ struct CommonQuantParams {
*/
/**@{*/
/*!
- * Global dquantization matrix table.
+ * Global dequantization matrix table.
*/
const qm_val_t *giqmatrix[NUM_QM_LEVELS][3][TX_SIZES_ALL];
/*!
@@ -760,7 +760,7 @@ typedef struct AV1Common {
/*!
* AV1 allows two types of frame scaling operations:
* 1. Frame super-resolution: that allows coding a frame at lower resolution
- * and after decoding the frame, normatively uscales and restores the frame --
+ * and after decoding the frame, normatively scales and restores the frame --
* inside the coding loop.
* 2. Frame resize: that allows coding frame at lower/higher resolution, and
* then non-normatively upscale the frame at the time of rendering -- outside
@@ -1374,7 +1374,7 @@ static INLINE void set_mi_row_col(MACROBLOCKD *xd, const TileInfo *const tile,
xd->is_chroma_ref = chroma_ref;
if (chroma_ref) {
// To help calculate the "above" and "left" chroma blocks, note that the
- // current block may cover multiple luma blocks (eg, if partitioned into
+ // current block may cover multiple luma blocks (e.g., if partitioned into
// 4x4 luma blocks).
// First, find the top-left-most luma block covered by this chroma block
MB_MODE_INFO **base_mi =
@@ -1871,9 +1871,7 @@ static INLINE int is_valid_seq_level_idx(AV1_LEVEL seq_level_idx) {
// The following levels are currently undefined.
seq_level_idx != SEQ_LEVEL_2_2 && seq_level_idx != SEQ_LEVEL_2_3 &&
seq_level_idx != SEQ_LEVEL_3_2 && seq_level_idx != SEQ_LEVEL_3_3 &&
- seq_level_idx != SEQ_LEVEL_4_2 && seq_level_idx != SEQ_LEVEL_4_3 &&
- seq_level_idx != SEQ_LEVEL_7_0 && seq_level_idx != SEQ_LEVEL_7_1 &&
- seq_level_idx != SEQ_LEVEL_7_2 && seq_level_idx != SEQ_LEVEL_7_3);
+ seq_level_idx != SEQ_LEVEL_4_2 && seq_level_idx != SEQ_LEVEL_4_3);
}
/*!\endcond */