From 41ed7ab45fc693f7d7fc35664c0233f4c32d69bb Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 27 Apr 2016 13:45:23 -0400 Subject: cosmetics: Fix spelling mistakes Signed-off-by: Diego Biurrun --- libswscale/x86/output.asm | 8 ++++---- libswscale/x86/scale.asm | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'libswscale/x86') diff --git a/libswscale/x86/output.asm b/libswscale/x86/output.asm index e1ceded756..71cd72edf4 100644 --- a/libswscale/x86/output.asm +++ b/libswscale/x86/output.asm @@ -50,8 +50,8 @@ SECTION .text ; const uint8_t *dither, int offset) ; ; Scale one or $filterSize lines of source data to generate one line of output -; data. The input is 15-bit in int16_t if $output_size is [8,10] and 19-bit in -; int32_t if $output_size is 16. $filter is 12-bits. $filterSize is a multiple +; data. The input is 15 bits in int16_t if $output_size is [8,10] and 19 bits in +; int32_t if $output_size is 16. $filter is 12 bits. $filterSize is a multiple ; of 2. $offset is either 0 or 3. $dither holds 8 values. ;----------------------------------------------------------------------------- @@ -125,10 +125,10 @@ cglobal yuv2planeX_%1, %3, 8, %2, filter, fltsize, src, dst, w, dither, offset .pixelloop: %assign %%i 0 - ; the rep here is for the 8bit output mmx case, where dither covers + ; the rep here is for the 8-bit output MMX case, where dither covers ; 8 pixels but we can only handle 2 pixels per register, and thus 4 ; pixels per iteration. In order to not have to keep track of where - ; we are w.r.t. dithering, we unroll the mmx/8bit loop x2. + ; we are w.r.t. dithering, we unroll the MMX/8-bit loop x2. %if %1 == 8 %assign %%repcnt 16/mmsize %else diff --git a/libswscale/x86/scale.asm b/libswscale/x86/scale.asm index 440a27b0ba..a4c7e1c00b 100644 --- a/libswscale/x86/scale.asm +++ b/libswscale/x86/scale.asm @@ -39,10 +39,10 @@ SECTION .text ; const int16_t *filter, ; const int32_t *filterPos, int filterSize); ; -; Scale one horizontal line. Input is either 8-bits width or 16-bits width +; Scale one horizontal line. Input is either 8-bit width or 16-bit width ; ($source_width can be either 8, 9, 10 or 16, difference is whether we have to -; downscale before multiplying). Filter is 14-bits. Output is either 15bits -; (in int16_t) or 19bits (in int32_t), as given in $intermediate_nbits. Each +; downscale before multiplying). Filter is 14 bits. Output is either 15 bits +; (in int16_t) or 19 bits (in int32_t), as given in $intermediate_nbits. Each ; output pixel is generated from $filterSize input pixels, the position of ; the first pixel is given in filterPos[nOutputPixel]. ;----------------------------------------------------------------------------- -- cgit v1.2.3