troosh / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

allow bitdepth argument for frames_to_mj2 #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Feature request.

In frames_to_mj2.c line 661 I see:
"  mj2_parameters.prec = 8;         /* Because in YUV files, components have 8-bit 
depth */"

Since YUV files may be made at higher bit depths (for instance `ffmpeg -i 
16bitvideofile.mov -f rawvideo -pix_fmt yuv422p16be 16bit.yuv`), can bit depth 
of the YUV components be offered as an argument for frames_to_mj2?
Dave Rice

Original issue reported on code.google.com by deri...@gmail.com on 30 Nov 2010 at 3:17

GoogleCodeExporter commented 9 years ago

Original comment by anto...@gmail.com on 23 Jan 2011 at 6:34