#include "libavcodec/dsputil.h"
#include "dsputil_sh4.h"
#include "sh4.h"
Go to the source code of this file.
Defines | |
#define | c1 1.38703984532214752434 |
#define | c2 1.30656296487637657577 |
#define | c3 1.17587560241935884520 |
#define | c4 1.00000000000000000000 |
#define | c5 0.78569495838710234903 |
#define | c6 0.54119610014619712324 |
#define | c7 0.27589937928294311353 |
#define | load_matrix(table) |
#define | ftrv() |
#define | DEFREG |
#define | DESCALE(x, n) (x)*(1.0f/(1<<(n))) |
#define | OA(fblock, ofs) *(float*)((char*)fblock + ofs) |
Functions | |
void | ff_idct_sh4 (DCTELEM *block) |
Variables | |
static const float | even_table [] |
static const float | odd_table [] |
#define c1 1.38703984532214752434 |
Definition at line 27 of file idct_sh4.c.
Referenced by av_strcasecmp(), av_strncasecmp(), close_connection(), compute_status(), decode_frame(), dxt1_decode_pixels(), fft_ref_init(), fill_picture_rgb(), float_to_int16_interleave_altivec(), http_receive_data(), idct4col_add(), idct4col_put(), idct4row(), imdct36_mips_float(), init(), pixel_color7_slow(), ps_tableinit(), qpeg_decode_intra(), reverseMatrixing(), and set_options().
#define c2 1.30656296487637657577 |
Definition at line 28 of file idct_sh4.c.
Referenced by av_strcasecmp(), av_strncasecmp(), ff_urldecode(), fill_picture_rgb(), idct4col_add(), idct4col_put(), idct4row(), imdct36_mips_float(), init(), postProcess_TMPL(), process_frame_uyvy422(), process_frame_yuv420p(), process_frame_yuv422p(), ps_tableinit(), qpel_motion_search(), reverseMatrixing(), and set_options().
#define c3 1.17587560241935884520 |
Definition at line 29 of file idct_sh4.c.
Referenced by ff_urldecode(), idct4col_add(), idct4col_put(), idct4row(), imdct36_mips_float(), init(), process_frame_uyvy422(), process_frame_yuv420p(), and process_frame_yuv422p().
#define c4 1.00000000000000000000 |
Definition at line 30 of file idct_sh4.c.
Referenced by idct248_ref(), imdct36_mips_float(), init(), process_frame_uyvy422(), process_frame_yuv420p(), and process_frame_yuv422p().
#define c5 0.78569495838710234903 |
Definition at line 31 of file idct_sh4.c.
Referenced by imdct36_mips_float(), process_frame_uyvy422(), process_frame_yuv420p(), and process_frame_yuv422p().
#define c6 0.54119610014619712324 |
Definition at line 32 of file idct_sh4.c.
Referenced by imdct36_mips_float(), process_frame_uyvy422(), process_frame_yuv420p(), and process_frame_yuv422p().
#define c7 0.27589937928294311353 |
Definition at line 33 of file idct_sh4.c.
Referenced by imdct36_mips_float(), process_frame_uyvy422(), process_frame_yuv420p(), process_frame_yuv422p(), put_vp8_epel_h_altivec_core(), put_vp8_epel_v_altivec_core(), and write_pixel_15_7().
#define DEFREG |
Value:
register float fr0 __asm__("fr0"); \ register float fr1 __asm__("fr1"); \ register float fr2 __asm__("fr2"); \ register float fr3 __asm__("fr3")
Definition at line 79 of file idct_sh4.c.
Referenced by ff_idct_sh4().
#define DESCALE | ( | x, | |||
n | ) | (x)*(1.0f/(1<<(n))) |
Definition at line 85 of file idct_sh4.c.
#define ftrv | ( | ) |
Value:
__asm__ volatile("ftrv xmtrx,fv0" \ : "+f"(fr0),"+f"(fr1),"+f"(fr2),"+f"(fr3));
Definition at line 75 of file idct_sh4.c.
Referenced by ff_idct_sh4().
#define load_matrix | ( | table | ) |
Value:
do { \ const float *t = table; \ __asm__ volatile( \ " fschg\n" \ " fmov @%0+,xd0\n" \ " fmov @%0+,xd2\n" \ " fmov @%0+,xd4\n" \ " fmov @%0+,xd6\n" \ " fmov @%0+,xd8\n" \ " fmov @%0+,xd10\n" \ " fmov @%0+,xd12\n" \ " fmov @%0+,xd14\n" \ " fschg\n" \ : "+r"(t) \ ); \ } while (0)
Definition at line 57 of file idct_sh4.c.
Referenced by ff_idct_sh4(), mpeg1_decode_sequence(), and mpeg_decode_quant_matrix_extension().
#define OA | ( | fblock, | |||
ofs | ) | *(float*)((char*)fblock + ofs) |
Referenced by ff_idct_sh4().
void ff_idct_sh4 | ( | DCTELEM * | block | ) |
Definition at line 92 of file idct_sh4.c.
Referenced by ff_dsputil_init_sh4(), idct_add(), and idct_put().
const float even_table[] [static] |
const float odd_table[] [static] |