exynos: multimedia: N/clang fixes

Change-Id: I1891f793a44465c28219cb19455dbc29c09d4868
This commit is contained in:
Simon Shields 2016-08-28 03:49:01 +10:00 committed by Gerrit Code Review
parent d4ee359c8d
commit 3c2325f13b
7 changed files with 21 additions and 20 deletions

View file

@ -48,7 +48,7 @@
#include "SEC_OSAL_Log.h"
inline void SEC_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent)
void SEC_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent)
{
SEC_OMX_BASECOMPONENT *pSECComponent = (SEC_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate;
SEC_OMX_BASEPORT *secInputPort = &pSECComponent->pSECPort[INPUT_PORT_INDEX];

View file

@ -144,7 +144,7 @@ OMX_ERRORTYPE SEC_OMX_VideoDecodeGetExtensionIndex(
OMX_ERRORTYPE SEC_OMX_VideoDecodeComponentInit(OMX_IN OMX_HANDLETYPE hComponent);
OMX_ERRORTYPE SEC_OMX_VideoDecodeComponentDeinit(OMX_IN OMX_HANDLETYPE hComponent);
OMX_BOOL SEC_Check_BufferProcess_State(SEC_OMX_BASECOMPONENT *pSECComponent);
inline void SEC_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent);
void SEC_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent);
#ifdef __cplusplus
}

View file

@ -48,7 +48,7 @@
#include "SEC_OSAL_Log.h"
inline void SEC_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent)
void SEC_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent)
{
SEC_OMX_BASECOMPONENT *pSECComponent = (SEC_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate;
SEC_OMX_BASEPORT *secInputPort = &pSECComponent->pSECPort[INPUT_PORT_INDEX];

View file

@ -154,7 +154,7 @@ OMX_ERRORTYPE SEC_OMX_VideoEncodeGetExtensionIndex(
OMX_ERRORTYPE SEC_OMX_VideoEncodeComponentInit(OMX_IN OMX_HANDLETYPE hComponent);
OMX_ERRORTYPE SEC_OMX_VideoEncodeComponentDeinit(OMX_IN OMX_HANDLETYPE hComponent);
OMX_BOOL SEC_Check_BufferProcess_State(SEC_OMX_BASECOMPONENT *pSECComponent);
inline void SEC_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent);
void SEC_UpdateFrameSize(OMX_COMPONENTTYPE *pOMXComponent);
#ifdef __cplusplus
}

View file

@ -30,6 +30,7 @@
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "color_space_convertor.h"
/*

View file

@ -166,10 +166,10 @@ LOOP_HEIGHT_256_GET_TILED_END:
pld [r12]
cmp r10, #0
pld [r12, #32]
stmnefd sp!, {r9-r12, r14} @ backup registers
stmfdne sp!, {r9-r12, r14} @ backup registers
rsbne r10, r10, #64
blne MEMCOPY_UNDER_64
ldmnefd sp!, {r9-r12, r14} @ restore registers
ldmfdne sp!, {r9-r12, r14} @ restore registers
bne LOOP_HEIGHT_256_LEFT_256_64
vld1.8 {q0, q1}, [r11]! @ load {nv12t_src+tiled_offset+temp1, 64}
vld1.8 {q2, q3}, [r11]
@ -216,11 +216,11 @@ LOOP_HEIGHT_256_LEFT_192:
pld [r11, #32]
cmp r10, #0
pld [r12]
stmnefd sp!, {r9-r12, r14} @ backup registers
stmfdne sp!, {r9-r12, r14} @ backup registers
pld [r12, #32]
rsbne r10, r10, #64
blne MEMCOPY_UNDER_64
ldmnefd sp!, {r9-r12, r14} @ restore registers
ldmfdne sp!, {r9-r12, r14} @ restore registers
bne LOOP_HEIGHT_256_LEFT_192_64
vld1.8 {q0, q1}, [r11]! @ load {nv12t_src+tiled_offset+2048+temp1, 64}
vld1.8 {q2, q3}, [r11]
@ -261,11 +261,11 @@ LOOP_HEIGHT_256_LEFT_128:
pld [r11, #32]
cmp r10, #0
pld [r12]
stmnefd sp!, {r9-r12, r14} @ backup registers
stmfdne sp!, {r9-r12, r14} @ backup registers
pld [r12, #32]
rsbne r10, r10, #64
blne MEMCOPY_UNDER_64
ldmnefd sp!, {r9-r12, r14} @ restore registers
ldmfdne sp!, {r9-r12, r14} @ restore registers
bne LOOP_HEIGHT_256_LEFT_128_64
vld1.8 {q0, q1}, [r11]! @ load {nv12t_src+tiled_offset1+temp1, 64}
vld1.8 {q2, q3}, [r11]
@ -293,11 +293,11 @@ LOOP_HEIGHT_256_LEFT_64:
add r11, r11, r10
cmp r10, #0
pld [r11]
stmnefd sp!, {r9-r12, r14} @ backup registers
stmfdne sp!, {r9-r12, r14} @ backup registers
pld [r11, #32]
rsbne r10, r10, #64
blne MEMCOPY_UNDER_64
ldmnefd sp!, {r9-r12, r14} @ restore registers
ldmfdne sp!, {r9-r12, r14} @ restore registers
bne LOOP_HEIGHT_256_LEFT_64_64
vld1.8 {q0, q1}, [r11]! @ load {nv12t_src+tiled_offset1+temp1, 64}
vld1.8 {q2, q3}, [r11]

View file

@ -170,10 +170,10 @@ LOOP_HEIGHT_256_GET_TILED_END:
pld [r12]
cmp r10, #0
pld [r12, #32]
stmnefd sp!, {r8-r12, r14} @ backup registers
stmfd sp!, {r8-r12, r14} @ backup registers
rsbne r10, r10, #64
blne INTERLEAVED_MEMCOPY_UNDER_64
ldmnefd sp!, {r8-r12, r14} @ restore registers
ldmfd sp!, {r8-r12, r14} @ restore registers
bne LOOP_HEIGHT_256_LEFT_256_64
vld2.8 {q0, q1}, [r11]! @ load {nv12t_src+tiled_offset+temp1, 64}
vld2.8 {q2, q3}, [r11]
@ -232,11 +232,11 @@ LOOP_HEIGHT_256_LEFT_192:
pld [r11, #32]
cmp r10, #0
pld [r12]
stmnefd sp!, {r8-r12, r14} @ backup registers
stmfd sp!, {r8-r12, r14} @ backup registers
pld [r12, #32]
rsbne r10, r10, #64
blne INTERLEAVED_MEMCOPY_UNDER_64
ldmnefd sp!, {r8-r12, r14} @ restore registers
ldmfd sp!, {r8-r12, r14} @ restore registers
bne LOOP_HEIGHT_256_LEFT_192_64
vld2.8 {q0, q1}, [r11]! @ load {nv12t_src+tiled_offset+2048+temp1, 64}
vld2.8 {q2, q3}, [r11]
@ -287,11 +287,11 @@ LOOP_HEIGHT_256_LEFT_128:
pld [r11, #32]
cmp r10, #0
pld [r12]
stmnefd sp!, {r8-r12, r14} @ backup registers
stmfd sp!, {r8-r12, r14} @ backup registers
pld [r12, #32]
rsbne r10, r10, #64
blne INTERLEAVED_MEMCOPY_UNDER_64
ldmnefd sp!, {r8-r12, r14} @ restore registers
ldmfd sp!, {r8-r12, r14} @ restore registers
bne LOOP_HEIGHT_256_LEFT_128_64
vld2.8 {q0, q1}, [r11]! @ load {nv12t_src+tiled_offset1+temp1, 64}
vld2.8 {q2, q3}, [r11]
@ -327,11 +327,11 @@ LOOP_HEIGHT_256_LEFT_64:
add r11, r11, r10
cmp r10, #0
pld [r11]
stmnefd sp!, {r8-r12, r14} @ backup registers
stmfd sp!, {r8-r12, r14} @ backup registers
pld [r11, #32]
rsbne r10, r10, #64
blne INTERLEAVED_MEMCOPY_UNDER_64
ldmnefd sp!, {r8-r12, r14} @ restore registers
ldmfd sp!, {r8-r12, r14} @ restore registers
bne LOOP_HEIGHT_256_LEFT_64_64
vld2.8 {q0, q1}, [r11]! @ load {nv12t_src+tiled_offset1+temp1, 64}
vld2.8 {q2, q3}, [r11]