[Bug 691712] [API] codecparsers: add GstMetas to pass parsing results downstream
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jul 19 02:04:58 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=691712
GStreamer | gst-plugins-bad | git
--- Comment #24 from sreerenj <bsreerenj at gmail.com> 2013-07-19 09:04:51 UTC ---
Using SliceInfo instead of (SliceInfo *) will cause an extra memcpy for each
g_array_append() . right?
So which one is better in this context
--more dynamic allocation
--GPtrArray to hold the pointers to GstMpegVideoSliceMetaInfo with in
mpvparse
--Both Mpvparse and MpegMeta are only doing ref()/unref() for the array
-- more memcpy
--GArray to hold the GstMpegVideoSliceMetaInfo itself
--g_array_append() will cause a memcpy each time we append the SliceInfo
--MpegMeta will only do a ref()/unref() for the array.
@tim: Do you meant to allocate the memory only once for a single frame? That is
not possible since we don't know about the number of slices in a frame in
advance.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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