On 23 Feb 2014, at 18:21, Derek Buitenhuis <derek.buitenh...@gmail.com> wrote:
> On 2/23/2014 3:20 PM, Janne Grunau wrote: >> This doesn't look right, AV_PIX_FMT_YUV420P is a valid pixel format for >> 'x265_max_bit_depth == 12' and I can't see how x265 could deduce that >> otherwise. > > No, the *internal* depth is not the same as *input* depth. The input depth > is set in the picture struct, and is separate. > > The idea is if we have a high bit depth build, we still want to use the > higher internal precision, of which only 10 is currently supported. I'm don't > think setting to 8 even /works/ in high bit depth libx265 right now. > > - Derek We don't need to set this field at all then, if that's the intent. x265_param_default will automatically set internalBitDepth to the max. supported value for that build of libx265. Setting it is only needed if we want internalBitDepth to be less than the maximum. Tim _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel