* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef FFMPEG_DSPUTIL_IWMMXT_RND_H
+#define FFMPEG_DSPUTIL_IWMMXT_RND_H
+
void DEF(put, pixels8)(uint8_t *block, const uint8_t *pixels, const int line_size, int h)
{
int stride = line_size;
: [line_size]"r"(line_size)
: "r12", "memory");
}
+
+#endif /* FFMPEG_DSPUTIL_IWMMXT_RND_H */
rts;
*/
+
+#ifndef FFMPEG_CONFIG_BFIN_H
+#define FFMPEG_CONFIG_BFIN_H
+
#ifndef DEFUN
#ifndef mL1
#endif
+#endif /* FFMPEG_CONFIG_BFIN_H */
* Various defines for YUV<->RGB conversion
*/
+#ifndef FFMPEG_COLORSPACE_H
+#define FFMPEG_COLORSPACE_H
+
#define SCALEBITS 10
#define ONE_HALF (1 << (SCALEBITS - 1))
#define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5))
(((FIX(0.50000*224.0/255.0) * r1 - FIX(0.41869*224.0/255.0) * g1 - \
FIX(0.08131*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128)
+#endif /* FFMPEG_COLORSPACE_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef FFMPEG_DSPUTIL_MMX_AVG_H
+#define FFMPEG_DSPUTIL_MMX_AVG_H
+
/* XXX: we use explicit registers to avoid a gcc 2.95.2 register asm
clobber bug - now it will work with 2.95.2 and also with -fPIC
*/
QPEL_2TAP_L3(put_)
#undef STORE_OP
#undef QPEL_2TAP_L3
+
+#endif /* FFMPEG_DSPUTIL_MMX_AVG_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef FFMPEG_DSPUTIL_MMX_QNS_H
+#define FFMPEG_DSPUTIL_MMX_QNS_H
+
#define MAX_ABS (512 >> (SCALE_OFFSET>0 ? SCALE_OFFSET : 0))
static int DEF(try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale)
}
}
+#endif /* FFMPEG_DSPUTIL_MMX_QNS_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef FFMPEG_DSPUTIL_MMX_RND_H
+#define FFMPEG_DSPUTIL_MMX_RND_H
+
// put_pixels
static void DEF(put, pixels8_x2)(uint8_t *block, const uint8_t *pixels, int line_size, int h)
{
DEF(avg, pixels8_xy2)(block+8, pixels+8, line_size, h);
}
-
+#endif /* FFMPEG_DSPUTIL_MMX_RND_H */