mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-10-31 23:37:35 +00:00
exynos: multimedia: N/clang fixes
Change-Id: I1891f793a44465c28219cb19455dbc29c09d4868
This commit is contained in:
parent
d4ee359c8d
commit
3c2325f13b
7 changed files with 21 additions and 20 deletions
|
@ -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];
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include "stdio.h"
|
||||
#include "stdlib.h"
|
||||
#include "string.h"
|
||||
#include "color_space_convertor.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue