Fix formatting issues detected by checkstyle
This commit is contained in:
4
jchuff.c
4
jchuff.c
@@ -493,7 +493,7 @@ flush_bits(working_state *state)
|
|||||||
int localbuf = 0;
|
int localbuf = 0;
|
||||||
|
|
||||||
if (state->simd) {
|
if (state->simd) {
|
||||||
#if defined __arm__ || defined __aarch64__
|
#if defined(__arm__) || defined(__aarch64__)
|
||||||
put_bits = state->cur.free_bits;
|
put_bits = state->cur.free_bits;
|
||||||
#else
|
#else
|
||||||
put_bits = SIMD_BIT_BUF_SIZE - state->cur.free_bits;
|
put_bits = SIMD_BIT_BUF_SIZE - state->cur.free_bits;
|
||||||
@@ -519,7 +519,7 @@ flush_bits(working_state *state)
|
|||||||
|
|
||||||
if (state->simd) { /* and reset bit buffer to empty */
|
if (state->simd) { /* and reset bit buffer to empty */
|
||||||
state->cur.put_buffer.simd = 0;
|
state->cur.put_buffer.simd = 0;
|
||||||
#if defined __arm__ || defined __aarch64__
|
#if defined(__arm__) || defined(__aarch64__)
|
||||||
state->cur.free_bits = 0;
|
state->cur.free_bits = 0;
|
||||||
#else
|
#else
|
||||||
state->cur.free_bits = SIMD_BIT_BUF_SIZE;
|
state->cur.free_bits = SIMD_BIT_BUF_SIZE;
|
||||||
|
|||||||
@@ -573,7 +573,8 @@ EXTN(jsimd_huff_encode_one_block_sse2):
|
|||||||
|
|
||||||
align 16
|
align 16
|
||||||
.EMIT_BRLOOP_CODE:
|
.EMIT_BRLOOP_CODE:
|
||||||
EMIT_QWORD .EMIT_BRLOOP_CODE_END, {mov nbits, code_temp} ; insert code, flush buffer,
|
EMIT_QWORD .EMIT_BRLOOP_CODE_END, { mov nbits, code_temp }
|
||||||
|
; insert code, flush buffer,
|
||||||
; nbits = code_temp, goto .EMIT_BRLOOP_CODE_END
|
; nbits = code_temp, goto .EMIT_BRLOOP_CODE_END
|
||||||
|
|
||||||
; For some reason, the OS X linker does not honor the request to align the
|
; For some reason, the OS X linker does not honor the request to align the
|
||||||
|
|||||||
Reference in New Issue
Block a user