PageRenderTime 28ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/H264Dec/source/h264bsd_container.h

http://github.com/mbebenita/Broadway
C Header | 69 lines | 19 code | 12 blank | 38 comment | 0 complexity | a7e47976ad94b0f93bf0158f7ea46526 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_CONTAINER_H
  24. #define H264SWDEC_CONTAINER_H
  25. /*------------------------------------------------------------------------------
  26. 1. Include headers
  27. ------------------------------------------------------------------------------*/
  28. #include "basetype.h"
  29. #include "h264bsd_storage.h"
  30. /*------------------------------------------------------------------------------
  31. 2. Module defines
  32. ------------------------------------------------------------------------------*/
  33. /* String length for tracing */
  34. #define H264DEC_TRACE_STR_LEN 100
  35. /*------------------------------------------------------------------------------
  36. 3. Data types
  37. ------------------------------------------------------------------------------*/
  38. typedef struct
  39. {
  40. enum {
  41. UNINITIALIZED,
  42. INITIALIZED,
  43. NEW_HEADERS
  44. } decStat;
  45. u32 picNumber;
  46. storage_t storage;
  47. #ifdef H264DEC_TRACE
  48. char str[H264DEC_TRACE_STR_LEN];
  49. #endif
  50. } decContainer_t;
  51. /*------------------------------------------------------------------------------
  52. 4. Function prototypes
  53. ------------------------------------------------------------------------------*/
  54. #endif /* #ifdef H264SWDEC_DECCONTAINER_H */