Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7ca7dc9 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by android code review
Browse files

Merge "avcenc: Clarify the ifdefs surrounding inline assembly"

parents 4f981882 f5af6314
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@ LOCAL_C_INCLUDES := \
    $(TOP)/frameworks/native/include/media/openmax

LOCAL_CFLAGS := \
    -D__arm__ \
    -DOSCL_IMPORT_REF= -DOSCL_UNUSED_ARG= -DOSCL_EXPORT_REF=

include $(BUILD_STATIC_LIBRARY)
+4 −1
Original line number Diff line number Diff line
@@ -24,7 +24,10 @@ extern "C"
{
#endif

#if defined(__GNUC__) && defined(__arm__) /* ARM GNU COMPILER  */
/* Intentionally not using the gcc asm version, since it (if fixed so
 * as to not crash - the current register constraints are faulty) is
 * slightly slower than the plain C version on modern GCC versions. */
#if !defined(__CC_ARM) /* Generic C version */

    __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
    {
+4 −1
Original line number Diff line number Diff line
@@ -23,7 +23,10 @@ extern "C"
{
#endif

#if defined(__GNUC__) && defined(__arm__) /* ARM GNU COMPILER  */
/* Intentionally not using the gcc asm version, since it (if fixed so
 * as to not crash - the current register constraints are faulty) is
 * slightly slower than the plain C version on modern GCC versions. */
#if !defined(__CC_ARM) /* Generic C version */

    __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
    {
+4 −1
Original line number Diff line number Diff line
@@ -16,7 +16,10 @@
 * -------------------------------------------------------------------
 */

#if defined(__GNUC__) && defined(__arm__) /* ARM GNU COMPILER  */
/* Intentionally not using the gcc asm version, since it (if fixed so
 * as to not crash - the current register constraints are faulty) is
 * slightly slower than the plain C version on modern GCC versions. */
#if !defined(__CC_ARM) /* Generic C version */

#if (NUMBER==3)
__inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin)