pixel.h
资源名称:X264CODEC.rar [点击查看]
上传用户:lctgjx
上传日期:2022-06-04
资源大小:8887k
文件大小:3k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- /*****************************************************************************
- * pixel.h: h264 encoder library
- *****************************************************************************
- * Copyright (C) 2009 x264 project
- *
- * Authors: David Conrad <lessen42@gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
- *****************************************************************************/
- #ifndef X264_ARM_PIXEL_H
- #define X264_ARM_PIXEL_H
- #define DECL_PIXELS( ret, name, suffix, args )
- ret x264_pixel_##name##_16x16_##suffix args;
- ret x264_pixel_##name##_16x8_##suffix args;
- ret x264_pixel_##name##_8x16_##suffix args;
- ret x264_pixel_##name##_8x8_##suffix args;
- ret x264_pixel_##name##_8x4_##suffix args;
- ret x264_pixel_##name##_4x8_##suffix args;
- ret x264_pixel_##name##_4x4_##suffix args;
- #define DECL_X1( name, suffix )
- DECL_PIXELS( int, name, suffix, ( uint8_t *, int, uint8_t *, int ) )
- #define DECL_X4( name, suffix )
- DECL_PIXELS( void, name##_x3, suffix, ( uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int * ) )
- DECL_PIXELS( void, name##_x4, suffix, ( uint8_t *, uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int * ) )
- int x264_pixel_sad_4x4_armv6( uint8_t *, int, uint8_t *, int );
- int x264_pixel_sad_4x8_armv6( uint8_t *, int, uint8_t *, int );
- DECL_X1( sad, neon )
- DECL_X1( sad_aligned, neon )
- DECL_X1( sad_aligned, neon_dual )
- DECL_X4( sad, neon )
- DECL_X1( satd, neon )
- DECL_X1( ssd, neon )
- int x264_pixel_sa8d_8x8_neon( uint8_t *, int, uint8_t *, int );
- int x264_pixel_sa8d_16x16_neon( uint8_t *, int, uint8_t *, int );
- int x264_pixel_var_8x8_neon( uint8_t *, int );
- int x264_pixel_var_16x16_neon( uint8_t *, int );
- int x264_pixel_var2_8x8_neon( uint8_t *, int, uint8_t *, int, int * );
- uint64_t x264_pixel_hadamard_ac_8x8_neon( uint8_t *, int );
- uint64_t x264_pixel_hadamard_ac_8x16_neon( uint8_t *, int );
- uint64_t x264_pixel_hadamard_ac_16x8_neon( uint8_t *, int );
- uint64_t x264_pixel_hadamard_ac_16x16_neon( uint8_t *, int );
- void x264_pixel_ssim_4x4x2_core_neon( const uint8_t *, int,
- const uint8_t *, int,
- int sums[2][4]);
- float x264_pixel_ssim_end4_neon( int sum0[5][4], int sum1[5][4], int width );
- #endif