package theora

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Internal_error
exception Invalid_data
exception Unknown_error of int
exception Duplicate_frame
exception Done
exception Not_initialized
val version_string : string
val version_number : int * int * int
val is_keyframe : Ogg.Stream.packet -> bool
type colorspace =
  1. | CS_unspecified
  2. | CS_ITU_REC_470M
  3. | CS_ITU_REC_470BG
  4. | CS_NSPACES
type pixelformat =
  1. | PF_420
  2. | PF_reserved
  3. | PF_422
  4. | PF_444
type info = {
  1. frame_width : int;
  2. frame_height : int;
  3. picture_width : int;
  4. picture_height : int;
  5. picture_x : int;
  6. picture_y : int;
  7. colorspace : colorspace;
  8. pixel_fmt : pixelformat;
  9. target_bitrate : int;
  10. quality : int;
  11. keyframe_granule_shift : int;
  12. version_major : int;
  13. version_minor : int;
  14. version_subminor : int;
  15. fps_numerator : int;
  16. fps_denominator : int;
  17. aspect_numerator : int;
  18. aspect_denominator : int;
}
val default_granule_shift : int
type yuv_buffer = {
  1. y_width : int;
  2. y_height : int;
  3. y_stride : int;
  4. y : data_buffer;
  5. u_width : int;
  6. u_height : int;
  7. u_stride : int;
  8. u : data_buffer;
  9. v_width : int;
  10. v_height : int;
  11. v_stride : int;
  12. v : data_buffer;
}
module Encoder : sig ... end
module Decoder : sig ... end
module Skeleton : sig ... end
OCaml

Innovation. Community. Security.