[Bug 664274] [API] codecparsers: add gst_mpeg_video_parse_slice() and gst_mpeg_video_parse_sequence_scalable_extension()
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jan 25 07:01:07 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=664274
GStreamer | gst-plugins-bad | git
--- Comment #7 from sreerenj <bsreerenj at gmail.com> 2013-01-25 15:01:03 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #3)
> > > Adding it here is fine, thanks!
> >
> > Done..
> > What do you think about the gst_mpeg_video_parse_slice() API ?
>
> I prefer the following data structure:
>
> struct _GstMpegVideoSliceHdr {
> guint16 slice_horizontal_position;
> guint16 slice_vertical_position;
> guint8 quantiser_scale_code;
> guint8 intra_slice;
>
> /* Size of the slice() header in bits */
> guint header_size;
> };
>
> i.e. the macroblock_address needs to be correctly calculated, otherwise it's
> useless for gst-vaapi purposes. Please have a look at the current
> gstvaapidecoder_mpeg2.c:parse_slice() for a more correct implementation.
>
> My copy of the MPEG-2 standard does not mention the picture_id, but if you see
> a need for it, just add it then. :)
I will check that..thanks :)
So what do you think about the API parameters change I mentioned in comment2 ?
or if you guys prefer to do slice_parsing in deocoders itself(with out having a
separate API) , then we can do it like that. I have no objection :)
--
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