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 767957 - gstjpeg2000.h : store all JPEG 2000 file format and code stream marker information in single header file
gstjpeg2000.h : store all JPEG 2000 file format and code stream marker inform...
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Windows
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 767956 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-06-22 20:08 UTC by Aaron Boxer
Modified: 2016-09-23 00:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
store file format and code stream info in header file (2.44 KB, patch)
2016-06-24 12:19 UTC, Aaron Boxer
none Details | Review
store file format and code stream info in header file (4.13 KB, patch)
2016-06-24 14:43 UTC, Aaron Boxer
none Details | Review
store file format and code stream info in header file (26.94 KB, patch)
2016-06-27 15:01 UTC, Aaron Boxer
reviewed Details | Review

Description Aaron Boxer 2016-06-22 20:08:49 UTC
And the name of the file shall be:

gst_jpeg2000_file_format.h

stored in 

gst-libs/gst/codecparsers/
Comment 1 Tim-Philipp Müller 2016-06-22 20:52:54 UTC
*** Bug 767956 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Dröge (slomo) 2016-06-23 06:45:10 UTC
It seems like it should rather be called gstjpeg2000.h :) And at a later point this should probably move to libgstpbutils/codecutils.[ch]
Comment 3 Aaron Boxer 2016-06-24 12:19:05 UTC
Created attachment 330312 [details] [review]
store file format and code stream info in header file
Comment 4 Sebastian Dröge (slomo) 2016-06-24 12:35:49 UTC
Comment on attachment 330312 [details] [review]
store file format and code stream info in header file

Not sure if those four 4s are worth their own header :) Opinions?
Comment 5 Aaron Boxer 2016-06-24 12:48:13 UTC
(In reply to Sebastian Dröge (slomo) from comment #4)
> Comment on attachment 330312 [details] [review] [review]
> store file format and code stream info in header file
> 
> Not sure if those four 4s are worth their own header :) Opinions?

I will be adding more information as I implement jp2 parsing. This patch is simply to get the new header created in the proper project, with proper naming conventions.
Comment 6 Aaron Boxer 2016-06-24 14:43:10 UTC
Created attachment 330324 [details] [review]
store file format and code stream info in header file

Flesh out the header a bit more :)
Comment 7 Sebastian Dröge (slomo) 2016-06-27 06:48:53 UTC
Let's get this in once it's actually used then :)
Comment 8 Aaron Boxer 2016-06-27 15:01:30 UTC
Created attachment 330445 [details] [review]
store file format and code stream info in header file

I am now using the new header in the jpeg 2000 parser, and also the j2k decimator.
Eventually, would like to use in rtp payload/depayload, but I guess we would need to move the header into gst-base ?
Comment 9 Sebastian Dröge (slomo) 2016-06-28 06:46:12 UTC
It could end up in libgstpbutils for that, yes. Or alternatively copy the header for now and make sure the canonical location is mentioned at the top.
Comment 10 Sebastian Dröge (slomo) 2016-06-28 06:49:42 UTC
Review of attachment 330445 [details] [review]:

::: gst-libs/gst/codecparsers/gstjpeg2000.h
@@ +98,3 @@
+  GST_JPEG2000_PROGRESSION_ORDER_CPRL,
+  GST_JPEG2000_PROGRESSION_ORDER_MAX
+} GstJPEG2000ProgressionOrder;

Is this ever going to be used by anything but the decimator or a decoder/encoder?
Comment 11 Aaron Boxer 2016-06-28 10:48:25 UTC
(In reply to Sebastian Dröge (slomo) from comment #9)
> It could end up in libgstpbutils for that, yes. Or alternatively copy the
> header for now and make sure the canonical location is mentioned at the top.

yes.
Comment 12 Aaron Boxer 2016-06-28 10:48:37 UTC
(In reply to Sebastian Dröge (slomo) from comment #10)
> Review of attachment 330445 [details] [review] [review]:
> 
> ::: gst-libs/gst/codecparsers/gstjpeg2000.h
> @@ +98,3 @@
> +  GST_JPEG2000_PROGRESSION_ORDER_CPRL,
> +  GST_JPEG2000_PROGRESSION_ORDER_MAX
> +} GstJPEG2000ProgressionOrder;
> 
> Is this ever going to be used by anything but the decimator or a
> decoder/encoder?

A parser may be interested in progression order changes - for example, a 4K image
has one progression order change to separate the lower res 2K image from the full
4K image, so that decoders that do not support 4K can still decode the low res 2K image.
Comment 13 Aaron Boxer 2016-09-23 00:17:06 UTC
This is a nice-to-have refactor that isn't really necessary at this stage.
Don't have time to revisit this now, so will resolve as WONTFIX.