PageRenderTime 33ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 1ms

/H264Dec/source/h264bsd_vlc.h

http://github.com/mbebenita/Broadway
C Header | 63 lines | 12 code | 14 blank | 37 comment | 0 complexity | 96f8dbed93cd2c8588d366c31165bff3 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. /*
  2. * Copyright (C) 2009 The Android Open Source Project
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /*------------------------------------------------------------------------------
  17. Table of contents
  18. 1. Include headers
  19. 2. Module defines
  20. 3. Data types
  21. 4. Function prototypes
  22. ------------------------------------------------------------------------------*/
  23. #ifndef H264SWDEC_VLC_H
  24. #define H264SWDEC_VLC_H
  25. /*------------------------------------------------------------------------------
  26. 1. Include headers
  27. ------------------------------------------------------------------------------*/
  28. #include "basetype.h"
  29. #include "h264bsd_stream.h"
  30. #include "h264bsd_transform.h"
  31. /*------------------------------------------------------------------------------
  32. 2. Module defines
  33. ------------------------------------------------------------------------------*/
  34. /*------------------------------------------------------------------------------
  35. 3. Data types
  36. ------------------------------------------------------------------------------*/
  37. /*------------------------------------------------------------------------------
  38. 4. Function prototypes
  39. ------------------------------------------------------------------------------*/
  40. u32 h264bsdDecodeExpGolombUnsigned(strmData_t *pStrmData, u32 *value);
  41. u32 h264bsdDecodeExpGolombSigned(strmData_t *pStrmData, i32 *value);
  42. u32 h264bsdDecodeExpGolombMapped(strmData_t *pStrmData, u32 *value,
  43. u32 isIntra);
  44. u32 h264bsdDecodeExpGolombTruncated(strmData_t *pStrmData, u32 *value,
  45. u32 greaterThanOne);
  46. #endif /* #ifdef H264SWDEC_VLC_H */