effective and padded line sizes for a video frame
gl: count effective texture width and fix wrong roi value