ivfenc.h 927 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2013 The WebM project authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef VPX_IVFENC_H_
  11. #define VPX_IVFENC_H_
  12. #include "./tools_common.h"
  13. struct vpx_codec_enc_cfg;
  14. struct vpx_codec_cx_pkt;
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. void ivf_write_file_header(FILE *outfile, const struct vpx_codec_enc_cfg *cfg,
  19. uint32_t fourcc, int frame_cnt);
  20. void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size);
  21. void ivf_write_frame_size(FILE *outfile, size_t frame_size);
  22. #ifdef __cplusplus
  23. } /* extern "C" */
  24. #endif
  25. #endif // VPX_IVFENC_H_