History

Fix indentation to consistently use spaces instead of tabs

Also get rid of other stray tabs in scripts.

Martin Storsjö committed 11 years ago

Commit c31e4e21 parent e0d43a87 files · +62 −62Browse files

Showing the changes to codec/processing (2 of 7 files). Show all

Unified · Split

2 files
  1. codec/processing/src/arm/down_sample_neon.S +31 −31
  2. codec/processing/src/downsample/downsample.h +2 −2
codec/processing/src/arm/down_sample_neon.S+31−31
@@ -342,20 +342,20 @@ WELS_ASM_FUNC_BEGIN DyadicBilinearOneThirdDownsampler_neon · 341 unmodified lines
342342 stmdb sp!, {r4-r8, lr}
343343
344344 //Get the width and height
345− ldr r4, [sp, #24] //src_width
346− ldr r5, [sp, #28] //src_height
345+ ldr r4, [sp, #24] //src_width
346+ ldr r5, [sp, #28] //src_height
347347
348− //Initialize the register
349− mov r6, r2
350− mov r8, r0
351− mov lr, #0
348+ //Initialize the register
349+ mov r6, r2
350+ mov r8, r0
351+ mov lr, #0
352352
353− //Save the tailer for the un-aligned size
354− mla r7, r1, r5, r0
355− vld1.32 {q15}, [r7]
353+ //Save the tailer for the un-aligned size
354+ mla r7, r1, r5, r0
355+ vld1.32 {q15}, [r7]
356356
357− add r7, r2, r3
358− //processing a colume data
357+ add r7, r2, r3
358+ //processing a colume data
359359 comp_ds_bilinear_onethird_loop0:
360360
361361 vld3.8 {d0, d1, d2}, [r2]!
@@ -389,10 +389,10 @@ comp_ds_bilinear_onethird_loop0: · 27 unmodified lines
389389 addcs r8, r1
390390 movcs r0, r8
391391 subscs r5, #1
392− bne comp_ds_bilinear_onethird_loop0
392+ bne comp_ds_bilinear_onethird_loop0
393393
394− //restore the tailer for the un-aligned size
395− vst1.32 {q15}, [r0]
394+ //restore the tailer for the un-aligned size
395+ vst1.32 {q15}, [r0]
396396
397397 ldmia sp!, {r4-r8,lr}
398398 WELS_ASM_FUNC_END
@@ -401,26 +401,26 @@ WELS_ASM_FUNC_BEGIN DyadicBilinearQuarterDownsampler_neon · 2 unmodified lines
401401 stmdb sp!, {r4-r8, lr}
402402
403403 //Get the width and height
404− ldr r4, [sp, #24] //src_width
405− ldr r5, [sp, #28] //src_height
404+ ldr r4, [sp, #24] //src_width
405+ ldr r5, [sp, #28] //src_height
406406
407− //Initialize the register
408− mov r6, r2
409− mov r8, r0
410− mov lr, #0
411− lsr r5, #2
407+ //Initialize the register
408+ mov r6, r2
409+ mov r8, r0
410+ mov lr, #0
411+ lsr r5, #2
412412
413− //Save the tailer for the un-aligned size
414− mla r7, r1, r5, r0
415− vld1.32 {q15}, [r7]
413+ //Save the tailer for the un-aligned size
414+ mla r7, r1, r5, r0
415+ vld1.32 {q15}, [r7]
416416
417− add r7, r2, r3
418− //processing a colume data
417+ add r7, r2, r3
418+ //processing a colume data
419419 comp_ds_bilinear_quarter_loop0:
420420
421− vld2.16 {q0, q1}, [r2]!
421+ vld2.16 {q0, q1}, [r2]!
422422 vld2.16 {q2, q3}, [r2]!
423− vld2.16 {q8, q9}, [r7]!
423+ vld2.16 {q8, q9}, [r7]!
424424 vld2.16 {q10, q11}, [r7]!
425425
426426 vpaddl.u8 q0, q0
@@ -447,10 +447,10 @@ comp_ds_bilinear_quarter_loop0: · 20 unmodified lines
447447 addcs r8, r1
448448 movcs r0, r8
449449 subscs r5, #1
450− bne comp_ds_bilinear_quarter_loop0
450+ bne comp_ds_bilinear_quarter_loop0
451451
452− //restore the tailer for the un-aligned size
453− vst1.32 {q15}, [r0]
452+ //restore the tailer for the un-aligned size
453+ vst1.32 {q15}, [r0]
454454
455455 ldmia sp!, {r4-r8,lr}
456456 WELS_ASM_FUNC_END
codec/processing/src/downsample/downsample.h+2−2
@@ -66,11 +66,11 @@ typedef HalveDownsampleFunc* PHalveDownsampleFunc; · 65 unmodified lines
6666 typedef SpecificDownsampleFunc* PSpecificDownsampleFunc;
6767 typedef GeneralDownsampleFunc* PGeneralDownsampleFunc;
6868
69−HalveDownsampleFunc DyadicBilinearDownsampler_c;
69+HalveDownsampleFunc DyadicBilinearDownsampler_c;
7070 GeneralDownsampleFunc GeneralBilinearFastDownsampler_c;
7171 GeneralDownsampleFunc GeneralBilinearAccurateDownsampler_c;
7272 SpecificDownsampleFunc DyadicBilinearOneThirdDownsampler_c;
73−SpecificDownsampleFunc DyadicBilinearQuarterDownsampler_c;
73+SpecificDownsampleFunc DyadicBilinearQuarterDownsampler_c;
7474
7575 typedef struct {
7676 // align_index: 0 = x32; 1 = x16; 2 = x8; 3 = common case left;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t