[Bug 784590] New: encoder: h264: Performance tuning for specific platforms

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 6 00:13:25 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=784590

            Bug ID: 784590
           Summary: encoder: h264: Performance tuning for specific
                    platforms
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bsreerenj at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

Some of the small core Intel platform (eg: APL) doesn't have LLC and the driver
using cflush to ensure data consistency which seems to be expensive, but we can
still limit the impact by reducing the original size of coded-buffer from
middleware. 

We always have to pre-calculate the coded-buffer-size and later driver copy the
encoded data to this pre-allocated buffer.Currently, we pre-calculate buffer
size based on worst case scenario. Even if we use the specification LevelLimits
it will end up with a maximum possible value.

But we can do some optimization based on MinCR field in AnnexA which helps to
reduce the buffer size.

This is not strictly following the specification. The idea is to add a new
"compliance-mode" enum property to vaapih264enc. So that we can add other
tweaks under this single property in future.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list