mem_transfer.h
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:2k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

Visual C++

  1. #ifndef _MEM_TRANSFER_H
  2. #define _MEM_TRANSFER_H
  3. // transfer8to16
  4. typedef void (TRANSFER_8TO16COPY)(int16_t * const dst,
  5. const uint8_t * const src,
  6. uint32_t stride);
  7. typedef TRANSFER_8TO16COPY* TRANSFER_8TO16COPY_PTR;
  8. extern TRANSFER_8TO16COPY_PTR transfer_8to16copy;
  9. TRANSFER_8TO16COPY transfer_8to16copy_c;
  10. TRANSFER_8TO16COPY transfer_8to16copy_mmx;
  11. // transfer16to8
  12. typedef void (TRANSFER_16TO8COPY)(uint8_t * const dst,
  13. const int16_t * const src,
  14. uint32_t stride);
  15. typedef TRANSFER_16TO8COPY* TRANSFER_16TO8COPY_PTR;
  16. extern TRANSFER_16TO8COPY_PTR transfer_16to8copy;
  17. TRANSFER_16TO8COPY transfer_16to8copy_c;
  18. TRANSFER_16TO8COPY transfer_16to8copy_mmx;
  19. // transfer8to16sub
  20. typedef void (TRANSFER_8TO16SUB)(int16_t * const dct,
  21. uint8_t * const cur,
  22. const uint8_t * ref,
  23. const uint32_t stride);
  24. typedef TRANSFER_8TO16SUB* TRANSFER_8TO16SUB_PTR;
  25. extern TRANSFER_8TO16SUB_PTR transfer_8to16sub;
  26. TRANSFER_8TO16SUB transfer_8to16sub_c;
  27. TRANSFER_8TO16SUB transfer_8to16sub_mmx;
  28. // transfer16to8add
  29. typedef void (TRANSFER_16TO8ADD)(uint8_t * const dst,
  30. const int16_t * const src,
  31. uint32_t stride);
  32. typedef TRANSFER_16TO8ADD* TRANSFER_16TO8ADD_PTR;
  33. extern TRANSFER_16TO8ADD_PTR transfer_16to8add;
  34. TRANSFER_16TO8ADD transfer_16to8add_c;
  35. TRANSFER_16TO8ADD transfer_16to8add_mmx;
  36. // transfer8x8_copy
  37. typedef void (TRANSFER8X8_COPY)(uint8_t * const dst,
  38. const uint8_t * const src,
  39. const uint32_t stride);
  40. typedef TRANSFER8X8_COPY* TRANSFER8X8_COPY_PTR;
  41. extern TRANSFER8X8_COPY_PTR transfer8x8_copy;
  42. TRANSFER8X8_COPY transfer8x8_copy_c;
  43. TRANSFER8X8_COPY transfer8x8_copy_mmx;
  44. #endif /* _MEM_TRANSFER_H_ */