Skip to content
Snippets Groups Projects
  1. Mar 15, 2019
    • Romain Vimont's avatar
      Retrieve dimensions from plane_cfg · 590f5f0a
      Romain Vimont authored
      To compute the number of pixels available in the top-right and
      bottom-left edges, get_intra_edges() received frame_w_in_b (MiCols) and
      frame_h_in_b (MiRows) as parameters, initialized as follow:
      
          MiCols = 2 * ( ( FrameWidth + 7 ) >> 3 )
          MiRows = 2 * ( ( FrameHeight + 7 ) >> 3 )
      
      <https://aomediacodec.github.io/av1-spec/#compute-image-size-function>
      
      The sizes computed by get_intra_edges() were basically the frame
      dimensions rounded up to the next multiple of 8, decimated:
      
          (MI_SIZE >> plane_cfg.xdec) * frame_w_in_b
          (MI_SIZE >> plane_cfg.ydec) * frame_h_in_b
      
      But in Frame::new(), the luma plane dimensions are also initialized with
      the frame dimensions rounded up to the next multiple of 8. Therefore, it
      is equivalent to directly use the plane dimensions.
      590f5f0a
  2. Mar 14, 2019
  3. Mar 13, 2019
  4. Mar 12, 2019
  5. Mar 11, 2019
  6. Mar 10, 2019
  7. Mar 09, 2019
    • Romain Vimont's avatar
      Remove go_up() and go_left() from PlaneMutSlice · ef0d6a15
      Romain Vimont authored
      These functions return a subslice that exceed its parent slice. We want
      to avoid this behavior for tiling.
      ef0d6a15
    • Romain Vimont's avatar
      Avoid out-of-slice accesses in get_intra_edges() · bdff1ea7
      Romain Vimont authored
      The function get_intra_edges() acceded 1 pixel above and 1 pixel on the
      left of the given PlaneSlice. This behavior will be problematic for
      tiling.
      
      Instead, use EdgedPlaneSlice to pass the extended region, so that a
      subslice never exceeds its parent slice.
      bdff1ea7
    • Romain Vimont's avatar
      Add EdgedPlaneSlice · e97b05c4
      Romain Vimont authored
      For tiling, we want subslices to never exceed their parent slice.
      
      However, several functions need to read few pixels on top and on the
      left of a given PlaneSlice.
      
      For that purpose, introduce EdgedPlaneSlice, containing a PlaneSlice
      which includes edges and the edges size.
      e97b05c4
  8. Mar 08, 2019
  9. Mar 07, 2019
Loading