FFmpeg
|
#include "libavutil/attributes.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/rnd_avg.h"
#include "dsputil_sh4.h"
Go to the source code of this file.
Macros | |
#define | LP(p) *(uint32_t*)(p) |
#define | LPC(p) *(const uint32_t*)(p) |
#define | UNPACK(ph, pl, tt0, tt1) |
#define | rnd_PACK(ph, pl, nph, npl) ph + nph + (((pl + npl + BYTE_VEC32(0x02))>>2) & BYTE_VEC32(0x03)) |
#define | no_rnd_PACK(ph, pl, nph, npl) ph + nph + (((pl + npl + BYTE_VEC32(0x01))>>2) & BYTE_VEC32(0x03)) |
#define | MERGE1(a, b, ofs) (ofs==0)?a:( ((a)>>(8*ofs))|((b)<<(32-8*ofs)) ) |
#define | MERGE2(a, b, ofs) (ofs==3)?b:( ((a)>>(8*(ofs+1)))|((b)<<(32-8*(ofs+1))) ) |
#define | put(d, s) d = s |
#define | avg(d, s) d = rnd_avg32(s,d) |
#define | OP_C4(ofs) |
#define | OP_C40() |
#define | OP_C(ofs, sz, avg2) |
#define | OP_C0(sz, avg2) |
#define | OP_X(ofs, sz, avg2) |
#define | OP_Y0(sz, avg2) |
#define | OP_Y(ofs, sz, avg2) |
#define | OP_X0(sz, avg2) OP_X(0,sz,avg2) |
#define | OP_XY0(sz, PACK) OP_XY(0,sz,PACK) |
#define | OP_XY(ofs, sz, PACK) |
#define | put_pixels8_c ff_put_rnd_pixels8_o |
#define | put_pixels16_c ff_put_rnd_pixels16_o |
#define | avg_pixels8_c ff_avg_rnd_pixels8_o |
#define | avg_pixels16_c ff_avg_rnd_pixels16_o |
#define | put_no_rnd_pixels8_c ff_put_rnd_pixels8_o |
#define | put_no_rnd_pixels16_c ff_put_rnd_pixels16_o |
#define | avg_no_rnd_pixels16_c ff_avg_rnd_pixels16_o |
Functions | |
av_cold void | ff_dsputil_init_align (DSPContext *c, AVCodecContext *avctx) |
Macro Definition Documentation
Definition at line 52 of file dsputil_align.c.
Referenced by DECLARE_ALIGNED(), DEF(), dering(), ff_diracdsp_init_mmx(), ff_hpeldsp_init(), hpeldsp_init_mmx(), rearrange_lsp(), wmv2_mspel8_h_lowpass(), and x8_setup_spatial_compensation().
#define avg_no_rnd_pixels16_c ff_avg_rnd_pixels16_o |
Definition at line 242 of file dsputil_align.c.
#define avg_pixels16_c ff_avg_rnd_pixels16_o |
Definition at line 239 of file dsputil_align.c.
#define avg_pixels8_c ff_avg_rnd_pixels8_o |
Definition at line 238 of file dsputil_align.c.
#define LP | ( | p | ) | *(uint32_t*)(p) |
Definition at line 30 of file dsputil_align.c.
#define LPC | ( | p | ) | *(const uint32_t*)(p) |
Definition at line 31 of file dsputil_align.c.
Definition at line 43 of file dsputil_align.c.
Definition at line 44 of file dsputil_align.c.
#define no_rnd_PACK | ( | ph, | |
pl, | |||
nph, | |||
npl | |||
) | ph + nph + (((pl + npl + BYTE_VEC32(0x01))>>2) & BYTE_VEC32(0x03)) |
Definition at line 40 of file dsputil_align.c.
#define OP_C | ( | ofs, | |
sz, | |||
avg2 | |||
) |
#define OP_C0 | ( | sz, | |
avg2 | |||
) |
Definition at line 91 of file dsputil_align.c.
#define OP_C4 | ( | ofs | ) |
Definition at line 54 of file dsputil_align.c.
#define OP_C40 | ( | ) |
Definition at line 62 of file dsputil_align.c.
#define OP_X | ( | ofs, | |
sz, | |||
avg2 | |||
) |
Definition at line 192 of file dsputil_align.c.
#define OP_XY | ( | ofs, | |
sz, | |||
PACK | |||
) |
Definition at line 194 of file dsputil_align.c.
#define OP_XY0 | ( | sz, | |
PACK | |||
) | OP_XY(0,sz,PACK) |
Definition at line 193 of file dsputil_align.c.
#define OP_Y | ( | ofs, | |
sz, | |||
avg2 | |||
) |
Definition at line 154 of file dsputil_align.c.
#define OP_Y0 | ( | sz, | |
avg2 | |||
) |
Definition at line 127 of file dsputil_align.c.
Definition at line 51 of file dsputil_align.c.
Referenced by DECLARE_ALIGNED(), decode_init(), DEF(), ff_diracdsp_init_mmx(), ff_hpeldsp_init(), hpeldsp_init_mmx(), id3v2_encode_string(), and wmv2_mspel8_h_lowpass().
#define put_no_rnd_pixels16_c ff_put_rnd_pixels16_o |
Definition at line 241 of file dsputil_align.c.
#define put_no_rnd_pixels8_c ff_put_rnd_pixels8_o |
Definition at line 240 of file dsputil_align.c.
#define put_pixels16_c ff_put_rnd_pixels16_o |
Definition at line 237 of file dsputil_align.c.
#define put_pixels8_c ff_put_rnd_pixels8_o |
Definition at line 236 of file dsputil_align.c.
Referenced by put_mspel8_mc00_sh4().
#define rnd_PACK | ( | ph, | |
pl, | |||
nph, | |||
npl | |||
) | ph + nph + (((pl + npl + BYTE_VEC32(0x02))>>2) & BYTE_VEC32(0x03)) |
Definition at line 39 of file dsputil_align.c.
#define UNPACK | ( | ph, | |
pl, | |||
tt0, | |||
tt1 | |||
) |
Definition at line 34 of file dsputil_align.c.
Function Documentation
av_cold void ff_dsputil_init_align | ( | DSPContext * | c, |
AVCodecContext * | avctx | ||
) |
Definition at line 250 of file dsputil_align.c.
Referenced by ff_dsputil_init_sh4().
Generated on Fri Dec 20 2024 06:56:12 for FFmpeg by 1.8.11