c64xstate.c 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2007 *
  9. * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function:
  13. last mod: $Id$
  14. ********************************************************************/
  15. #include "c64xint.h"
  16. #if defined(OC_C64X_ASM)
  17. void oc_state_accel_init_c64x(oc_theora_state *_state){
  18. oc_state_accel_init_c(_state);
  19. # if defined(OC_STATE_USE_VTABLE)
  20. _state->opt_vtable.frag_copy=oc_frag_copy_c64x;
  21. _state->opt_vtable.frag_recon_intra=oc_frag_recon_intra_c64x;
  22. _state->opt_vtable.frag_recon_inter=oc_frag_recon_inter_c64x;
  23. _state->opt_vtable.frag_recon_inter2=oc_frag_recon_inter2_c64x;
  24. _state->opt_vtable.idct8x8=oc_idct8x8_c64x;
  25. _state->opt_vtable.state_frag_recon=oc_state_frag_recon_c64x;
  26. _state->opt_vtable.frag_copy_list=oc_frag_copy_list_c64x;
  27. _state->opt_vtable.loop_filter_init=oc_loop_filter_init_c64x;
  28. _state->opt_vtable.state_loop_filter_frag_rows=
  29. oc_state_loop_filter_frag_rows_c64x;
  30. _state->opt_vtable.restore_fpu=oc_restore_fpu_c;
  31. # endif
  32. }
  33. #endif