h264hwd_byte_stream.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*------------------------------------------------------------------------------
  2. -- --
  3. -- This software is confidential and proprietary and may be used --
  4. -- only as expressly authorized by a licensing agreement from --
  5. -- --
  6. -- Hantro Products Oy. --
  7. -- --
  8. -- (C) COPYRIGHT 2006 HANTRO PRODUCTS OY --
  9. -- ALL RIGHTS RESERVED --
  10. -- --
  11. -- The entire notice above must be reproduced --
  12. -- on all copies and should not be removed. --
  13. -- --
  14. --------------------------------------------------------------------------------
  15. --
  16. -- Abstract : Extract a NAL unit from byte stream
  17. --
  18. --------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: h264hwd_byte_stream.h,v $
  23. -- $Date: 2008/03/13 12:48:06 $
  24. -- $Revision: 1.1 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. /*------------------------------------------------------------------------------
  28. Table of contents
  29. 1. Include headers
  30. 2. Module defines
  31. 3. Data types
  32. 4. Function prototypes
  33. ------------------------------------------------------------------------------*/
  34. #ifndef H264HWD_BYTE_STREAM_H
  35. #define H264HWD_BYTE_STREAM_H
  36. /*------------------------------------------------------------------------------
  37. 1. Include headers
  38. ------------------------------------------------------------------------------*/
  39. #include "basetype.h"
  40. #include "h264hwd_stream.h"
  41. /*------------------------------------------------------------------------------
  42. 2. Module defines
  43. ------------------------------------------------------------------------------*/
  44. /*------------------------------------------------------------------------------
  45. 3. Data types
  46. ------------------------------------------------------------------------------*/
  47. /*------------------------------------------------------------------------------
  48. 4. Function prototypes
  49. ------------------------------------------------------------------------------*/
  50. u32 h264bsdExtractNalUnit(const u8 * pByteStream, u32 len,
  51. strmData_t * pStrmData, u32 * readBytes, u32 rlcMode);
  52. const u8 *h264bsdFindNextStartCode(const u8 * pByteStream, u32 len);
  53. #endif /* #ifdef H264HWD_BYTE_STREAM_H */