Skip to content
  • Wim Taymans's avatar
    video-converter: fix interlaced scaling some more · 5e752f4e
    Wim Taymans authored
    Fix problem with the line cache where it would forget the first line in
    the cache in some cases.
    Keep as much backlog as we have taps. This generally works better and we
    could do even better by calculating the overlap in all taps.
    Allocated enough lines for the line cache.
    Use only half the number of taps for the interlaced lines because we
    only have half the number of lines.
    The pixel shift should be relative to the new output pixel size so scale
    it.
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=767921
    5e752f4e