diff options
author | Aurélien Zanelli <aurelien.zanelli@parrot.com> | 2014-05-19 17:43:54 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-05-22 16:12:35 +0200 |
commit | 753701bf689e2b349d382f79ba01f44d2e0e7602 (patch) | |
tree | ae0d3a59569988929cfd7d3fdc13a7953bd0c863 /docs | |
parent | 746d021d70c1a23f5a3e5e888b4bc2abaa1aca1f (diff) | |
download | gstreamer-plugins-bad-753701bf689e2b349d382f79ba01f44d2e0e7602.tar.gz |
codecparsers_h264: add gst_h264_video_calculate_framerate()
Add a new function to calculate video stream framerate which rely on
SPS, slice header and pic timing using formula:
time_scale 1 1
fps = ----------------- x --------------- x ------------------------
num_units_in_tick DeltaTfiDivisor (field_pic_flag ? 2 : 1)
See section E2.1 of H264 specification for definition of variables.
https://bugzilla.gnome.org/show_bug.cgi?id=723352
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libs/gst-plugins-bad-libs-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/libs/gst-plugins-bad-libs-sections.txt b/docs/libs/gst-plugins-bad-libs-sections.txt index 50dba86ed..d271b3699 100644 --- a/docs/libs/gst-plugins-bad-libs-sections.txt +++ b/docs/libs/gst-plugins-bad-libs-sections.txt @@ -44,6 +44,7 @@ gst_h264_video_quant_matrix_8x8_get_zigzag_from_raster gst_h264_video_quant_matrix_8x8_get_raster_from_zigzag gst_h264_video_quant_matrix_4x4_get_zigzag_from_raster gst_h264_video_quant_matrix_4x4_get_raster_from_zigzag +gst_h264_video_calculate_framerate <SUBSECTION Standard> <SUBSECTION Private> </SECTION> |