diff options
author | James Zern <jzern@google.com> | 2022-04-14 13:08:58 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2022-04-18 12:57:28 -0700 |
commit | 90749e866308a0667c0d9afcf90244e5c6c95c0a (patch) | |
tree | a1d64219ba0929b0f9efe33d29e787315c0f4454 | |
parent | 73b8aade83cd7d0fffe29254b931a34ad4621510 (diff) | |
download | libvpx-90749e866308a0667c0d9afcf90244e5c6c95c0a.tar libvpx-90749e866308a0667c0d9afcf90244e5c6c95c0a.tar.gz libvpx-90749e866308a0667c0d9afcf90244e5c6c95c0a.tar.bz2 libvpx-90749e866308a0667c0d9afcf90244e5c6c95c0a.zip |
temporal_filter_sse4,cosmetics: fix some typos
Change-Id: If8318068a32da52d15c0ba595f80092611f4c847
-rw-r--r-- | vp9/encoder/x86/temporal_filter_sse4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vp9/encoder/x86/temporal_filter_sse4.c b/vp9/encoder/x86/temporal_filter_sse4.c index bdbd66051..87e68fb43 100644 --- a/vp9/encoder/x86/temporal_filter_sse4.c +++ b/vp9/encoder/x86/temporal_filter_sse4.c @@ -460,7 +460,7 @@ static void vp9_apply_temporal_filter_luma( if (block_width == 16) { // Special Case: The blockwidth is 16 and we are operating on a row of 16 - // chroma pixels. In this case, we can't use the usualy left-midle-right + // chroma pixels. In this case, we can't use the usual left-middle-right // pattern. We also don't support splitting now. neighbors_first = LUMA_LEFT_COLUMN_NEIGHBORS; neighbors_second = LUMA_RIGHT_COLUMN_NEIGHBORS; @@ -553,7 +553,7 @@ static void vp9_apply_temporal_filter_chroma_8( // Loop variable unsigned int h; - // Initilize weight + // Initialize weight if (blk_fw) { weight = _mm_setr_epi16(blk_fw[0], blk_fw[0], blk_fw[0], blk_fw[0], blk_fw[1], blk_fw[1], blk_fw[1], blk_fw[1]); @@ -827,12 +827,12 @@ void vp9_apply_temporal_filter_sse4_1( assert( (use_whole_blk || (blk_fw[1] >= 0 && blk_fw[2] >= 0 && blk_fw[3] >= 0)) && "subblock filter weight must be positive"); - assert(blk_fw[0] <= 2 && "sublock filter weight must be less than 2"); + assert(blk_fw[0] <= 2 && "subblock filter weight must be less than 2"); assert( (use_whole_blk || (blk_fw[1] <= 2 && blk_fw[2] <= 2 && blk_fw[3] <= 2)) && "subblock filter weight must be less than 2"); - // Precompute the difference sqaured + // Precompute the difference squared for (row = 0; row < block_height; row++) { for (blk_col = 0; blk_col < block_width; blk_col += 16) { store_dist_16(y_src_ptr + blk_col, y_pre_ptr + blk_col, |