On 16.10.2016 22:53, Dan Dennedy wrote: > On Sun, Oct 16, 2016 at 6:52 AM Maksym Veremeyenko <ve...@m1stereo.tv > <mailto:ve...@m1stereo.tv>> wrote: > > Hi, > > what was historical reason to select default packed format YUYV422 > instead of UYVY422? > > > The bluefish consumer - MLT's first, important consumer for the company > sponsoring its initial development and was not open source. i operated only BGRA (opengl texture readback) with Bluefish board... :-(
> > i asking it because it is second consumer (decklink first, ndi is > second) that support only UYVY422 format for frame. > > what do you think about changing it? or providing compile-time macro for > defining default value for internal 4:2:2 packet format? > > > It is not going to change. I do not want to maintain a bunch of ifdef > code for this, but you may introduce a new mlt_image_format. there are a lot of defaultings: *mlt_consumer.c* [...] <------><------>// Hmm - default all consumers to yuv422 with s16 :-/ <------><------>priv->image_format = mlt_image_yuv422; <------><------>priv->audio_format = mlt_audio_s16; [...] *transition_matte.c* [...] <------>// This transition is yuv422 only <------>*format = mlt_image_yuv422; [...] *transition_composite.c* [...] <------>mlt_image_format format = mlt_image_yuv422; [...] <------>int height = mlt_properties_get_int( a_props, "height" ); <------>mlt_image_format format = mlt_image_yuv422; [...] <------>// This compositer is yuv422 only <------>*format = mlt_image_yuv422; <------>if ( b_frame != NULL ) [...] 1. what is a best way to handle it? export function that read env var? 2. what is 10-bit processing should be introduced? how to handle it? -- Maksym Veremeyenko ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel