Motion Vector Difference Coding And Decoding

    公开(公告)号:US20190141346A1

    公开(公告)日:2019-05-09

    申请号:US16097344

    申请日:2017-05-12

    IPC分类号: H04N19/52 H04N19/46

    摘要: There are provided mechanisms for encoding a motion vector, wherein the motion vector is represented by a sum of a motion vector prediction (MVP) and a motion vector difference (MVD) between the motion vector and the MVP. The MVD comprises a first MVD component y and a second MVD component x. The method comprises encoding the first MVD component y. The method comprises encoding a representation {circumflex over (x)} of the second MVD component x. The method comprises sending information to a video decoder on how reconstruct the second MVD component x from the representation {circumflex over (x)} of the second MVD component x and at least one of: the first MVD component y, MVP index MVPindex, reference picture index RefIdx, reference picture list flag, block partition size PartSize and block partition type. There are provided mechanisms for reconstructing a motion vector from a motion vector prediction (MVP) and a motion vector difference (MVD). The MVD comprises a first MVD component y and a second MVD component x. The method comprises receiving information from a video encoder on how to reconstruct the second MVD component x from a representation x of the second MVD component x and at least one of: the first MVD component y, MVP index MVPindex, reference picture index RefIdx, reference picture list flag, block partition size PartSize and block partition type. The method comprises decoding the first MVD component y. The method comprises decoding the representation x of the second MVD component x. The method comprises reconstructing the second MVD component x in accordance with the received information.

    Bilateral alpha omega: calculating LUT argument with few arithmetic operations

    公开(公告)号:US11233994B2

    公开(公告)日:2022-01-25

    申请号:US17259380

    申请日:2019-07-09

    摘要: According to a first aspect, a method is provided. The method includes obtaining an M×N array of pixel values an image; determining a weight selection value for position x,y in the M×N array; and using the weight selection value to obtain a weight value for use in a filter for filtering the image. Determining the weight selection value for position x,y (omegax,y) includes: a) retrieving a previously determined weight selection value for position x,y−1 (omegax,y−1); b) retrieving a previously determined alpha value (a) for position x,y−1; c) calculating a delta value (d); and d) calculating omegax,y=omegax,y−1−a+d. Calculating d includes: i) retrieving a first previously determined value (omega_row); i) retrieving a second previously determined value (alpha_row); and ii) calculating d=omega_row−alpha_row+abs(Ax+1,y+1−Ax+1,y+2), wherein Ax+1,y+1 is the value stored in position x+1,y+1 of the array and Ax+1,y+2 is the value stored in position x+1,y+2 of the array.