Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nv98_video.h 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright 2011-2013 Maarten Lankhorst, Ilia Mirkin
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a
  5. * copy of this software and associated documentation files (the "Software"),
  6. * to deal in the Software without restriction, including without limitation
  7. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. * and/or sell copies of the Software, and to permit persons to whom the
  9. * Software is furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice shall be included in
  12. * all copies or substantial portions of the Software.
  13. *
  14. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
  18. * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  19. * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  20. * OTHER DEALINGS IN THE SOFTWARE.
  21. */
  22. #include "nv50/nv50_context.h"
  23. #include "nv50/nv50_screen.h"
  24. #include "nouveau_vp3_video.h"
  25. #include "vl/vl_decoder.h"
  26. #include "vl/vl_types.h"
  27. #include "util/u_video.h"
  28. extern unsigned
  29. nv98_decoder_bsp(struct nouveau_vp3_decoder *dec, union pipe_desc desc,
  30. struct nouveau_vp3_video_buffer *target,
  31. unsigned comm_seq, unsigned num_buffers,
  32. const void *const *data, const unsigned *num_bytes,
  33. unsigned *vp_caps, unsigned *is_ref,
  34. struct nouveau_vp3_video_buffer *refs[16]);
  35. extern void
  36. nv98_decoder_vp(struct nouveau_vp3_decoder *dec, union pipe_desc desc,
  37. struct nouveau_vp3_video_buffer *target, unsigned comm_seq,
  38. unsigned caps, unsigned is_ref,
  39. struct nouveau_vp3_video_buffer *refs[16]);
  40. extern void
  41. nv98_decoder_ppp(struct nouveau_vp3_decoder *dec, union pipe_desc desc,
  42. struct nouveau_vp3_video_buffer *target, unsigned comm_seq);