After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671203 - codecparsers: h264: record number of emulation prevention bytes in slice_header()
codecparsers: h264: record number of emulation prevention bytes in slice_head...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.24
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-02 10:51 UTC by Gwenole Beauchesne
Modified: 2012-03-03 16:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
codecparsers: h264: record number of emulation prevention bytes in slice_header() (2.83 KB, patch)
2012-03-02 10:51 UTC, Gwenole Beauchesne
committed Details | Review

Description Gwenole Beauchesne 2012-03-02 10:51:39 UTC
Created attachment 208846 [details] [review]
codecparsers: h264: record number of emulation prevention bytes in slice_header()

Some hardware video decode acceleration API (VA-API, DXVA) require a bit count to the first macroblock, minus the number of emulation prevention bytes. So, instead of having the consumer of the library scan the slice_header() again, just record that number while parsing.
Comment 1 Tim-Philipp Müller 2012-03-03 16:31:30 UTC
commit 0b8fb8b587fdfb7d117a3e8756f17e4bafca9f16
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Sat Mar 3 15:57:11 2012 +0000

    configure: use AS_LIBTOOL and bump version for ABI change in h.264 codec parser
    
    Backported from the 0.10 release branch, where v.23 was used.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671203

commit 5c9f7900759d3ea2ae740e4dd04079381678fed8
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Fri Mar 2 11:45:41 2012 +0100

    codecparsers: h264: record number of emulation prevention bytes in slice_header().
    
    Some hardware video decode acceleration API (VA-API, DXVA) require
    a bit count to the first macroblock, minus the number of emulation
    prevention bytes. So, instead of having the consumer of the library
    scan the slice_header() again, just record that number while parsing.
    
    Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671203