* commit '6860b4081d046558c44b1b42f22022ea341a2a73': x86: include x86inc.asm in x86util.asm cng: Reindent some incorrectly indented lines cngdec: Allow flushing the decoder cngdec: Make the dbov variable have the right unit cngdec: Fix the memset size to cover the full array cngdec: Update the LPC coefficients after averaging the reflection coefficients configure: fix print_config() with broke awks Conflicts: libavcodec/x86/ac3dsp.asm libavcodec/x86/dct32.asm libavcodec/x86/deinterlace.asm libavcodec/x86/dsputil.asm libavcodec/x86/dsputilenc.asm libavcodec/x86/fft.asm libavcodec/x86/fmtconvert.asm libavcodec/x86/h264_chromamc.asm libavcodec/x86/h264_deblock.asm libavcodec/x86/h264_deblock_10bit.asm libavcodec/x86/h264_idct.asm libavcodec/x86/h264_idct_10bit.asm libavcodec/x86/h264_intrapred.asm libavcodec/x86/h264_intrapred_10bit.asm libavcodec/x86/h264_weight.asm libavcodec/x86/vc1dsp.asm libavcodec/x86/vp3dsp.asm libavcodec/x86/vp56dsp.asm libavcodec/x86/vp8dsp.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>tags/n1.1
| @@ -32,6 +32,7 @@ typedef struct CNGContext { | |||||
| float *lpc_coef; | float *lpc_coef; | ||||
| int order; | int order; | ||||
| int energy, target_energy; | int energy, target_energy; | ||||
| int inited; | |||||
| float *filter_out; | float *filter_out; | ||||
| float *excitation; | float *excitation; | ||||
| AVLFG lfg; | AVLFG lfg; | ||||
| @@ -94,8 +95,14 @@ static void make_lpc_coefs(float *lpc, const float *refl, int order) | |||||
| memcpy(lpc, cur, sizeof(*lpc) * order); | memcpy(lpc, cur, sizeof(*lpc) * order); | ||||
| } | } | ||||
| static void cng_decode_flush(AVCodecContext *avctx) | |||||
| { | |||||
| CNGContext *p = avctx->priv_data; | |||||
| p->inited = 0; | |||||
| } | |||||
| static int cng_decode_frame(AVCodecContext *avctx, void *data, | static int cng_decode_frame(AVCodecContext *avctx, void *data, | ||||
| int *got_frame_ptr, AVPacket *avpkt) | |||||
| int *got_frame_ptr, AVPacket *avpkt) | |||||
| { | { | ||||
| CNGContext *p = avctx->priv_data; | CNGContext *p = avctx->priv_data; | ||||
| @@ -106,18 +113,24 @@ static int cng_decode_frame(AVCodecContext *avctx, void *data, | |||||
| float scaling; | float scaling; | ||||
| if (avpkt->size) { | if (avpkt->size) { | ||||
| float dbov = -avpkt->data[0] / 10.0; | |||||
| p->target_energy = 1081109975 * pow(10, dbov) * 0.75; | |||||
| memset(p->target_refl_coef, 0, sizeof(p->refl_coef)); | |||||
| int dbov = -avpkt->data[0]; | |||||
| p->target_energy = 1081109975 * pow(10, dbov / 10.0) * 0.75; | |||||
| memset(p->target_refl_coef, 0, p->order * sizeof(*p->target_refl_coef)); | |||||
| for (i = 0; i < FFMIN(avpkt->size - 1, p->order); i++) { | for (i = 0; i < FFMIN(avpkt->size - 1, p->order); i++) { | ||||
| p->target_refl_coef[i] = (avpkt->data[1 + i] - 127) / 128.0; | p->target_refl_coef[i] = (avpkt->data[1 + i] - 127) / 128.0; | ||||
| } | } | ||||
| make_lpc_coefs(p->lpc_coef, p->refl_coef, p->order); | |||||
| } | } | ||||
| p->energy = p->energy / 2 + p->target_energy / 2; | |||||
| for (i = 0; i < p->order; i++) | |||||
| p->refl_coef[i] = 0.6 *p->refl_coef[i] + 0.4 * p->target_refl_coef[i]; | |||||
| if (p->inited) { | |||||
| p->energy = p->energy / 2 + p->target_energy / 2; | |||||
| for (i = 0; i < p->order; i++) | |||||
| p->refl_coef[i] = 0.6 *p->refl_coef[i] + 0.4 * p->target_refl_coef[i]; | |||||
| } else { | |||||
| p->energy = p->target_energy; | |||||
| memcpy(p->refl_coef, p->target_refl_coef, p->order * sizeof(*p->refl_coef)); | |||||
| p->inited = 1; | |||||
| } | |||||
| make_lpc_coefs(p->lpc_coef, p->refl_coef, p->order); | |||||
| for (i = 0; i < p->order; i++) | for (i = 0; i < p->order; i++) | ||||
| e *= 1.0 - p->refl_coef[i]*p->refl_coef[i]; | e *= 1.0 - p->refl_coef[i]*p->refl_coef[i]; | ||||
| @@ -154,6 +167,7 @@ AVCodec ff_comfortnoise_decoder = { | |||||
| .priv_data_size = sizeof(CNGContext), | .priv_data_size = sizeof(CNGContext), | ||||
| .init = cng_decode_init, | .init = cng_decode_init, | ||||
| .decode = cng_decode_frame, | .decode = cng_decode_frame, | ||||
| .flush = cng_decode_flush, | |||||
| .close = cng_decode_close, | .close = cng_decode_close, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), | .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), | ||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, | ||||
| @@ -67,7 +67,7 @@ static av_cold int cng_encode_init(AVCodecContext *avctx) | |||||
| } | } | ||||
| static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, | static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, | ||||
| const AVFrame *frame, int *got_packet_ptr) | |||||
| const AVFrame *frame, int *got_packet_ptr) | |||||
| { | { | ||||
| CNGContext *p = avctx->priv_data; | CNGContext *p = avctx->priv_data; | ||||
| int ret, i; | int ret, i; | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA 32 | SECTION_RODATA 32 | ||||
| @@ -20,7 +20,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -18,7 +18,7 @@ | |||||
| ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | |||||
| SECTION_RODATA | SECTION_RODATA | ||||
| pw_3: times 8 dw 3 | pw_3: times 8 dw 3 | ||||
| @@ -19,8 +19,7 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "x86util.asm" | |||||
| %include "libavutil/x86/x86util.asm" | |||||
| SECTION_RODATA | SECTION_RODATA | ||||
| pb_f: times 16 db 15 | pb_f: times 16 db 15 | ||||
| @@ -21,7 +21,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;***************************************************************************** | ;***************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION .text | SECTION .text | ||||
| @@ -19,7 +19,7 @@ | |||||
| ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | |||||
| SECTION_RODATA | SECTION_RODATA | ||||
| pw_1: times 8 dw 1 | pw_1: times 8 dw 1 | ||||
| @@ -28,7 +28,6 @@ | |||||
| ; in blocks as conventient to the vector size. | ; in blocks as conventient to the vector size. | ||||
| ; i.e. {4x real, 4x imaginary, 4x real, ...} (or 2x respectively) | ; i.e. {4x real, 4x imaginary, 4x real, ...} (or 2x respectively) | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| %if ARCH_X86_64 | %if ARCH_X86_64 | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_TEXT | SECTION_TEXT | ||||
| @@ -20,7 +20,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -22,7 +22,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -24,7 +24,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -24,7 +24,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -26,7 +26,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;***************************************************************************** | ;***************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -22,7 +22,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -22,7 +22,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -22,7 +22,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -22,7 +22,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA 32 | SECTION_RODATA 32 | ||||
| @@ -21,7 +21,7 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | |||||
| SECTION .text | SECTION .text | ||||
| @@ -22,7 +22,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA 32 | SECTION_RODATA 32 | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -21,7 +21,6 @@ | |||||
| ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -22,7 +22,6 @@ | |||||
| ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| %define W1sh2 22725 ; W1 = 90901 = 22725<<2 + 1 | %define W1sh2 22725 ; W1 = 90901 = 22725<<2 + 1 | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -21,7 +21,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| ;SECTION_RODATA | ;SECTION_RODATA | ||||
| @@ -20,7 +20,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| cextern pw_4 | cextern pw_4 | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| ; MMX-optimized functions cribbed from the original VP3 source code. | ; MMX-optimized functions cribbed from the original VP3 source code. | ||||
| @@ -20,7 +20,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| cextern pw_64 | cextern pw_64 | ||||
| @@ -20,7 +20,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -18,7 +18,7 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | |||||
| SECTION .text | SECTION .text | ||||
| @@ -20,7 +20,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| %include "util.asm" | %include "util.asm" | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| %include "util.asm" | %include "util.asm" | ||||
| @@ -21,7 +21,7 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | |||||
| SECTION .text | SECTION .text | ||||
| @@ -20,7 +20,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION .text | SECTION .text | ||||
| @@ -23,6 +23,8 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %macro SBUTTERFLY 4 | %macro SBUTTERFLY 4 | ||||
| %if avx_enabled == 0 | %if avx_enabled == 0 | ||||
| mova m%4, m%2 | mova m%4, m%2 | ||||
| @@ -18,7 +18,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -18,7 +18,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "libavutil/x86/x86inc.asm" | |||||
| %include "libavutil/x86/x86util.asm" | %include "libavutil/x86/x86util.asm" | ||||
| @@ -21,7 +21,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -20,7 +20,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||
| @@ -19,7 +19,6 @@ | |||||
| ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| ;****************************************************************************** | ;****************************************************************************** | ||||
| %include "x86inc.asm" | |||||
| %include "x86util.asm" | %include "x86util.asm" | ||||
| SECTION_RODATA | SECTION_RODATA | ||||