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
342 stmdb sp!, {r4-r8, lr}342 stmdb sp!, {r4-r8, lr}
343 343
344 //Get the width and height344 //Get the width and height
345 ldr r4, [sp, #24] //src_width345 ldr r4, [sp, #24] //src_width
346 ldr r5, [sp, #28] //src_height346 ldr r5, [sp, #28] //src_height
347 347
348 //Initialize the register348 //Initialize the register
349 mov r6, r2349 mov r6, r2
350 mov r8, r0350 mov r8, r0
351 mov lr, #0351 mov lr, #0
352 352
353 //Save the tailer for the un-aligned size353 //Save the tailer for the un-aligned size
354 mla r7, r1, r5, r0354 mla r7, r1, r5, r0
355 vld1.32 {q15}, [r7]355 vld1.32 {q15}, [r7]
356 356
357 add r7, r2, r3357 add r7, r2, r3
358 //processing a colume data358 //processing a colume data
359comp_ds_bilinear_onethird_loop0:359comp_ds_bilinear_onethird_loop0:
360 360
361 vld3.8 {d0, d1, d2}, [r2]!361 vld3.8 {d0, d1, d2}, [r2]!
@@ -389,10 +389,10 @@ comp_ds_bilinear_onethird_loop0: · 27 unmodified lines
389 addcs r8, r1389 addcs r8, r1
390 movcs r0, r8390 movcs r0, r8
391 subscs r5, #1391 subscs r5, #1
392 bne comp_ds_bilinear_onethird_loop0392 bne comp_ds_bilinear_onethird_loop0
393 393
394 //restore the tailer for the un-aligned size394 //restore the tailer for the un-aligned size
395 vst1.32 {q15}, [r0]395 vst1.32 {q15}, [r0]
396 396
397 ldmia sp!, {r4-r8,lr}397 ldmia sp!, {r4-r8,lr}
398WELS_ASM_FUNC_END398WELS_ASM_FUNC_END
@@ -401,26 +401,26 @@ WELS_ASM_FUNC_BEGIN DyadicBilinearQuarterDownsampler_neon · 2 unmodified lines
401 stmdb sp!, {r4-r8, lr}401 stmdb sp!, {r4-r8, lr}
402 402
403 //Get the width and height403 //Get the width and height
404 ldr r4, [sp, #24] //src_width404 ldr r4, [sp, #24] //src_width
405 ldr r5, [sp, #28] //src_height405 ldr r5, [sp, #28] //src_height
406 406
407 //Initialize the register407 //Initialize the register
408 mov r6, r2408 mov r6, r2
409 mov r8, r0409 mov r8, r0
410 mov lr, #0410 mov lr, #0
411 lsr r5, #2411 lsr r5, #2
412 412
413 //Save the tailer for the un-aligned size413 //Save the tailer for the un-aligned size
414 mla r7, r1, r5, r0414 mla r7, r1, r5, r0
415 vld1.32 {q15}, [r7]415 vld1.32 {q15}, [r7]
416 416
417 add r7, r2, r3417 add r7, r2, r3
418 //processing a colume data418 //processing a colume data
419comp_ds_bilinear_quarter_loop0:419comp_ds_bilinear_quarter_loop0:
420 420
421 vld2.16 {q0, q1}, [r2]!421 vld2.16 {q0, q1}, [r2]!
422 vld2.16 {q2, q3}, [r2]!422 vld2.16 {q2, q3}, [r2]!
423 vld2.16 {q8, q9}, [r7]!423 vld2.16 {q8, q9}, [r7]!
424 vld2.16 {q10, q11}, [r7]!424 vld2.16 {q10, q11}, [r7]!
425 425
426 vpaddl.u8 q0, q0426 vpaddl.u8 q0, q0
@@ -447,10 +447,10 @@ comp_ds_bilinear_quarter_loop0: · 20 unmodified lines
447 addcs r8, r1447 addcs r8, r1
448 movcs r0, r8448 movcs r0, r8
449 subscs r5, #1449 subscs r5, #1
450 bne comp_ds_bilinear_quarter_loop0450 bne comp_ds_bilinear_quarter_loop0
451 451
452 //restore the tailer for the un-aligned size452 //restore the tailer for the un-aligned size
453 vst1.32 {q15}, [r0]453 vst1.32 {q15}, [r0]
454 454
455 ldmia sp!, {r4-r8,lr}455 ldmia sp!, {r4-r8,lr}
456WELS_ASM_FUNC_END456WELS_ASM_FUNC_END
codec/processing/src/downsample/downsample.h+2−2
@@ -66,11 +66,11 @@ typedef HalveDownsampleFunc* PHalveDownsampleFunc; · 65 unmodified lines
66typedef SpecificDownsampleFunc* PSpecificDownsampleFunc;66typedef SpecificDownsampleFunc* PSpecificDownsampleFunc;
67typedef GeneralDownsampleFunc* PGeneralDownsampleFunc;67typedef GeneralDownsampleFunc* PGeneralDownsampleFunc;
68 68
69HalveDownsampleFunc DyadicBilinearDownsampler_c;69HalveDownsampleFunc DyadicBilinearDownsampler_c;
70GeneralDownsampleFunc GeneralBilinearFastDownsampler_c;70GeneralDownsampleFunc GeneralBilinearFastDownsampler_c;
71GeneralDownsampleFunc GeneralBilinearAccurateDownsampler_c;71GeneralDownsampleFunc GeneralBilinearAccurateDownsampler_c;
72SpecificDownsampleFunc DyadicBilinearOneThirdDownsampler_c;72SpecificDownsampleFunc DyadicBilinearOneThirdDownsampler_c;
73SpecificDownsampleFunc DyadicBilinearQuarterDownsampler_c;73SpecificDownsampleFunc DyadicBilinearQuarterDownsampler_c;
74 74
75typedef struct {75typedef struct {
76 // align_index: 0 = x32; 1 = x16; 2 = x8; 3 = common case left;76 // 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