summaryrefslogtreecommitdiff
path: root/vp8/decoder
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2023-06-07 12:21:38 -0400
committerJerome Jiang <jianj@google.com>2023-06-07 12:39:07 -0400
commitbcd491a6be2b163c7293674dd91d8ca1f4cb56f0 (patch)
treead66b8eb5de5be488f3758e0f2de6f225fb46893 /vp8/decoder
parent7b66c730a2edd3e232dce5e8ef2522ff83928a90 (diff)
downloadlibvpx-bcd491a6be2b163c7293674dd91d8ca1f4cb56f0.tar
libvpx-bcd491a6be2b163c7293674dd91d8ca1f4cb56f0.tar.gz
libvpx-bcd491a6be2b163c7293674dd91d8ca1f4cb56f0.tar.bz2
libvpx-bcd491a6be2b163c7293674dd91d8ca1f4cb56f0.zip
Fix a few typos
segement -> segment dont -> don't useage -> usage devide -> divide Bug: webm:1803 Change-Id: I0153380b0003825c4b62cf323d4f2bc837c8a264
Diffstat (limited to 'vp8/decoder')
-rw-r--r--vp8/decoder/decodeframe.c6
-rw-r--r--vp8/decoder/threading.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/vp8/decoder/decodeframe.c b/vp8/decoder/decodeframe.c
index 1c1566766..d014cf966 100644
--- a/vp8/decoder/decodeframe.c
+++ b/vp8/decoder/decodeframe.c
@@ -63,7 +63,7 @@ void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd) {
/* Decide whether to use the default or alternate baseline Q value. */
if (xd->segmentation_enabled) {
/* Abs Value */
- if (xd->mb_segement_abs_delta == SEGMENT_ABSDATA) {
+ if (xd->mb_segment_abs_delta == SEGMENT_ABSDATA) {
QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id];
/* Delta Value */
@@ -829,7 +829,7 @@ static void init_frame(VP8D_COMP *pbi) {
/* reset the segment feature data to 0 with delta coding (Default state). */
memset(xd->segment_feature_data, 0, sizeof(xd->segment_feature_data));
- xd->mb_segement_abs_delta = SEGMENT_DELTADATA;
+ xd->mb_segment_abs_delta = SEGMENT_DELTADATA;
/* reset the mode ref deltasa for loop filter */
memset(xd->ref_lf_deltas, 0, sizeof(xd->ref_lf_deltas));
@@ -995,7 +995,7 @@ int vp8_decode_frame(VP8D_COMP *pbi) {
xd->update_mb_segmentation_data = (unsigned char)vp8_read_bit(bc);
if (xd->update_mb_segmentation_data) {
- xd->mb_segement_abs_delta = (unsigned char)vp8_read_bit(bc);
+ xd->mb_segment_abs_delta = (unsigned char)vp8_read_bit(bc);
memset(xd->segment_feature_data, 0, sizeof(xd->segment_feature_data));
diff --git a/vp8/decoder/threading.c b/vp8/decoder/threading.c
index 9ea6a4f34..6ccb080cf 100644
--- a/vp8/decoder/threading.c
+++ b/vp8/decoder/threading.c
@@ -56,7 +56,7 @@ static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd,
mbd->dst = xd->dst;
mbd->segmentation_enabled = xd->segmentation_enabled;
- mbd->mb_segement_abs_delta = xd->mb_segement_abs_delta;
+ mbd->mb_segment_abs_delta = xd->mb_segment_abs_delta;
memcpy(mbd->segment_feature_data, xd->segment_feature_data,
sizeof(xd->segment_feature_data));