update ih264d macros

This commit is contained in:
Exverge 2025-01-25 17:09:17 -05:00
parent 7120ec92c8
commit 0924e1180e
10 changed files with 454 additions and 444 deletions

View file

@ -2,7 +2,7 @@
*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License"));
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
@ -40,40 +40,36 @@
/*****************************************************************************/
/* Function Declarations */
/*****************************************************************************/
#ifdef __APPLE__
#define av8(name) name __asm__(#name)
#else
#define av8(name) name
#endif
typedef void ih264_pad(UWORD8 *, WORD32, WORD32, WORD32);
typedef void _ih264_pad(UWORD8 *, WORD32, WORD32, WORD32);
#define ih264_pad(arg) _ih264_pad arg __asm__(#arg);
/* C function declarations */
ih264_pad ih264_pad_top;
ih264_pad ih264_pad_bottom;
ih264_pad ih264_pad_left_luma;
ih264_pad ih264_pad_left_chroma;
ih264_pad ih264_pad_right_luma;
ih264_pad ih264_pad_right_chroma;
ih264_pad(ih264_pad_top);
ih264_pad(ih264_pad_bottom);
ih264_pad(ih264_pad_left_luma);
ih264_pad(ih264_pad_left_chroma);
ih264_pad(ih264_pad_right_luma);
ih264_pad(ih264_pad_right_chroma);
/* A9 Q function declarations */
ih264_pad ih264_pad_top_a9q;
ih264_pad ih264_pad_left_luma_a9q;
ih264_pad ih264_pad_left_chroma_a9q;
ih264_pad ih264_pad_right_luma_a9q;
ih264_pad ih264_pad_right_chroma_a9q;
ih264_pad(ih264_pad_top_a9q);
ih264_pad(ih264_pad_left_luma_a9q);
ih264_pad(ih264_pad_left_chroma_a9q);
ih264_pad(ih264_pad_right_luma_a9q);
ih264_pad(ih264_pad_right_chroma_a9q);
/* AV8 function declarations */
ih264_pad av8(ih264_pad_top_av8);
ih264_pad av8(ih264_pad_left_luma_av8);
ih264_pad av8(ih264_pad_left_chroma_av8);
ih264_pad av8(ih264_pad_right_luma_av8);
ih264_pad av8(ih264_pad_right_chroma_av8);
ih264_pad(ih264_pad_top_av8);
ih264_pad(ih264_pad_left_luma_av8);
ih264_pad(ih264_pad_left_chroma_av8);
ih264_pad(ih264_pad_right_luma_av8);
ih264_pad(ih264_pad_right_chroma_av8);
ih264_pad ih264_pad_left_luma_ssse3;
ih264_pad ih264_pad_left_chroma_ssse3;
ih264_pad ih264_pad_right_luma_ssse3;
ih264_pad ih264_pad_right_chroma_ssse3;
ih264_pad(ih264_pad_left_luma_ssse3);
ih264_pad(ih264_pad_left_chroma_ssse3);
ih264_pad(ih264_pad_right_luma_ssse3);
ih264_pad(ih264_pad_right_chroma_ssse3);
#endif /*_IH264_PADDING_H_*/