• Mark Thompson's avatar
    vaapi_h265: Fix slice header writing · fc30a908
    Mark Thompson authored
    This was not observed earlier because the only syntax element which
    it normally misses with the current setup is slice_qp_delta, but that
    is always going to be zero (in IDR frames QP isn't varied on the
    slice) which will always exp-golomb code as a single 1 bit.  The
    immediately following part is the byte alignment, which is always a 1
    bit followed by 0s which are ignored, so as long as the bitstream is
    never aligned at that point we will never notice because the only
    difference is that an ignored bit is a 1 instead of a 0.
    fc30a908
vaapi_encode_h265.c 47.1 KB