Skip to content

Commit

Permalink
add a8r8g8b8_to_yuvalp_box_neon.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorg71 committed Jul 25, 2024
1 parent 17443ba commit 324f6b8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion module/neon/a8r8g8b8_to_yuvalp_box_neon.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const int16x8_t g_cw21 = { 21, 21, 21, 21, 21, 21, 21, 21 };
address s8 should be aligned on 16 bytes, will be slower if not
width must be multiple of 8 and > 0
height must be > 0 */
void
int
a8r8g8b8_to_yuvalp_box_neon(const uint8_t *s8, int src_stride,
uint8_t *d8, int dst_stride,
int width, int height)
Expand Down
32 changes: 32 additions & 0 deletions module/neon/a8r8g8b8_to_yuvalp_box_neon.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
Copyright 2024 Jay Sorg
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NEON SIMD a8r8g8b8_to_yuvalp
*/

#ifndef __FUNCS_NEON_H
#define __FUNCS_NEON_H

int
a8r8g8b8_to_yuvalp_box_neon(const uint8_t *s8, int src_stride,
uint8_t *d8, int dst_stride,
int width, int height);

#endif

0 comments on commit 324f6b8

Please sign in to comment.