Commits on Nov 23, 2020

  1. Reenable AVIF_VERSION_DEVEL

    Joe Drago committed Nov 23, 2020
    Configuration menu
    Copy the full SHA
    894200c View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. Upgrade to libaom v2.0.1

    wantehchang authored and joedrago committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    4cffc19 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2020

  1. Force libjpeg to output in RGB Colorspace

    Fix #428
    tongyuantongyu authored and joedrago committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    1db0703 View commit details
    Browse the repository at this point in the history
  2. Add the avifContainerDump() function

    Use the avifContainerDump() function in the info() function in avifdec.c
    to dump the container info instead of the first frame's info.
    
    I noticed this issue while trying to debug monochrome images encoded
    with libaom before commit 2172ed0.
    The container yuvFormat was YUV400 but the first frame's yuvFormat was
    YUV420. avifdec -i printed YUV420, so I could not see the container
    yuvFormat was wrong. Obviously it would be best to dump both the
    container info and every frame's info, but that could be confusing to
    average users, or at least too verbose.
    wantehchang authored and joedrago committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    f8d9b83 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. Configuration menu
    Copy the full SHA
    b4c41ef View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2020

  1. Configuration menu
    Copy the full SHA
    e09d63b View commit details
    Browse the repository at this point in the history
  2. Ext: Update to dav1d 0.8.0 (#437)

    * Ext: Update to dav1d 0.8.0
    
    Release notes: https://code.videolan.org/videolan/dav1d/-/tags/0.8.0
    
    * Changelog: Add entry for dav1d 0.8.0 update
    EwoutH committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    12b6180 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. Configuration menu
    Copy the full SHA
    9667ad5 View commit details
    Browse the repository at this point in the history
  2. Solve all possible MSVC C4819

    tongyuantongyu authored and joedrago committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    b587c59 View commit details
    Browse the repository at this point in the history
  3. Only error on non-ASCII in string

    tongyuantongyu authored and joedrago committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    614d2d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    466a8e0 View commit details
    Browse the repository at this point in the history
  5. Explicit export public API to fix shared library build on MSVC (#439)

    * Export symbols in shared lib
    
    * Minor clean on cmake script
    
    * Use header macros only
    tongyuantongyu committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    9182191 View commit details
    Browse the repository at this point in the history
  6. Add avifEncoderAddImageGrid() for grid image encoding, basic mdat and…

    … iprp dedup
    Joe Drago committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    aec9cff View commit details
    Browse the repository at this point in the history
  7. avifenc: Implement grid encoding (-g, --grid)

    Joe Drago committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    286e5ad View commit details
    Browse the repository at this point in the history
  8. Hint at the existence of avifEncoderAddImageGrid() in avif_example_en…

    …code
    Joe Drago committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    5559185 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2020

  1. Explicitly cast avifImage** to const to avoid warning

    Fixes: #443
    Joe Drago committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    db9f784 View commit details
    Browse the repository at this point in the history
  2. Only check for too-small grid tiles when actually encoding a grid

    (Mentioned in #443 conversation)
    Joe Drago committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    f3dd8f6 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2020

  1. Fix -Wmissing-prototypes and -Wcast-qual warnings

    Add 'static' to function signatures of avifImageSplitGrid() and
    avifEncoderFindExistingChunk(). This fix was suggested by Pascal
    Massimino.
    
    Change the type of the cellImages parameter of avifEncoderAddImageGrid()
    from:
        const avifImage ** cellImages
    to
        const avifImage * const * cellImages
    so that we can cast a avifImage ** pointer to the new type without the
    -Wcast-qual warning. This fix was suggested by Yuan Tong.
    
    Fix https://crbug.com/oss-fuzz/28622.
    wantehchang authored and joedrago committed Dec 14, 2020
    Configuration menu
    Copy the full SHA
    2b7f04e View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2020

  1. Better handling for export headers (#447)

    * Better handling for export headers
    
    * More refinement on export headers.
    
    * Add comment to explain export macros.
    
    * Minor change on comment
    tongyuantongyu committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    291a67a View commit details
    Browse the repository at this point in the history
  2. Fix some clang warnings (#448)

    Fix some clang warnings
    
    - Disable `-Wused-but-marked-unused` on Clang on MINGW. This solves #435.
      I created an issue but didn't get response from MINGW maintainers for a week, so for now just disable the warning in this case.
    
    - Remove extra semicolon in `codec_svt.c`. This fixes `-Wextra-semi-stmt` warning.
    tongyuantongyu committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    00cbb77 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Fix two bugs in alpha in grid image encoding

    Set the gridCols and gridRows fields of gridAlphaItem.
    
    Pass cellIndex, not 0, as the last argument to the
    avifEncoderDataCreateItem(encoder->data, "av01", "Alpha", 6, 0) call.
    wantehchang authored and joedrago committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    69c32ef View commit details
    Browse the repository at this point in the history
  2. Fix comment and other nits.

    Change "MS CL" to "MSVC" in the status message and comment.
    
    Merge two target_compile_definitions() calls on the avif target.
    wantehchang authored and joedrago committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    af55f05 View commit details
    Browse the repository at this point in the history
  3. Rename the gridX and gridY params of avifImageDump

    The gridX and gridY parameters of avifImageDump() are renamed gridCols
    and gridRows, respectively.
    wantehchang authored and joedrago committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    1305c0b View commit details
    Browse the repository at this point in the history
  4. Miscellaneous cleanup for src/write.c

    Declare the cellIndex parameter of avifEncoderDataCreateItem() as
    uint32_t to be consistent with the type of cellIndex elsewhere.
    
    Add parentheses around the expressions to be cast to uint8_t.
    
    Use a simpler equivalent expression to calculate mdatEndSearchOffset.
    
    Declare imageWidth and imageHeight right before first use.
    
    Remove an unneeded uint32_t cast when assigning the return value of
    avifRWStreamOffset() to chunkOffset, which is no longer of the uint32_t
    type.
    wantehchang authored and joedrago committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    8adbb97 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2020

  1. Simplify avifEncoderAddImageInternal conditionals

    Simplify some conditionals in avifEncoderAddImageInternal().
    
    Since we require all cellImages have the same width, height, and depth,
    move the checks for invalid values of width, height, and depth outside
    the for loop and perform those checks on just firstCell.
    
    Check gridCount > 1 instead of whether gridColorID or gridAlphaID is
    nonzero. gridCount > 1 is an equivalent condition and is used elsewhere
    in the function.
    
    In the single-image case, we only need to check if the alpha planes of
    cellImages have fully opaque values if firstCell has an alpha plane. (If
    firstCell does not have an alpha plane, then no cellImages have an alpha
    plane.)
    wantehchang authored and joedrago committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    0b7c20e View commit details
    Browse the repository at this point in the history
  2. Change preposition in imir comment from along to about to remove ambi…

    …guity
    Joe Drago committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    84ff9d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2020

  1. Correct grid split place on high-depth image (#455)

    `avifImageSplitGrid` split image into grid at wrong place on x-axis on high-depth images.
    tongyuantongyu committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    ef33d9a View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2020

  1. avifImageSplitGrid need not allocate cell planes

    avifImageSplitGrid() does not need to call avifImageAllocatePlanes() on
    the cell images. It can just point the cell images' planes to the pixel
    data of gridSplitImage. This issue was reported by Nicholas Hayes
    (0xC0000054) in #331.
    
    Fix a bug in aomCodecEncodeImage() when copying pixel data from
    avifImage to aom_image_t. The number of bytes per row should be the
    width times bytesPerPixel, not image->yuvRowBytes[yuvPlane].
    wantehchang authored and joedrago committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    5a62c20 View commit details
    Browse the repository at this point in the history
  2. Declare gridCols and gridRows as uint32_t

    Declare gridCols and gridRows as uint32_t (instead of uint8_t) so that
    256 (the maximum legal value) can be represented.
    
    Also make some cleanup changes.
    wantehchang authored and joedrago committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    f9fca86 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2020

  1. fix avis encode bug on Deduplication

    Change-Id: Ic5a2a781d08f00d878a160d8a7aae4f0a563a62f
    nju04zq authored and wantehchang committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    295cab3 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2021

  1. Ext: Update to dav1d 0.8.1

    EwoutH authored and wantehchang committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    723881f View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. test/docker/build.sh: Dependency update

    Update nasm to 2.15.05
    Update aom to v2.0.1
    Update dav1d to 0.8.0
    Update libgav1 to commit b712ad2
    Update rav1e to the 0.3 maintenance branch
    EwoutH authored and joedrago committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    38bad1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f79083d View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

  1. Fix ugly newlines before first parameter on calls in clang-format, re…

    …format files
    Joe Drago committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    11d2359 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. Expose AOM specific film grain advanced options (#456)

    Film grain is a post-decode step in AV1 which adds synthetic noise on the image.
    
    When encoding an image using 8 bit, limited range (this is the best choice If performance and compatibility are both the case), color banding artifact can usually appear on color gradient areas. Adding noise (dithering) can reduce such artifact, but doing such will significantly increase the file size (random data is hard to compress). Film grain uses several parameters to model the noise, so it solves banding without inflating file size.
    tongyuantongyu committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    74afba3 View commit details
    Browse the repository at this point in the history
  2. Adjust min/max/speed defaults in avifenc

    Fixes: #440
    Joe Drago committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    16e4ce4 View commit details
    Browse the repository at this point in the history
  3. clang-format (from recent change to .clang-format)

    Joe Drago committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    a9a3375 View commit details
    Browse the repository at this point in the history
  4. clang-format (one last file)

    Joe Drago committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    9a36c75 View commit details
    Browse the repository at this point in the history
  5. Fix "Adjust min/max/speed defaults in avifenc" change

    (I adjusted the wrong defaults.)
    
    Fixes: #440
    Joe Drago committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    2cf1285 View commit details
    Browse the repository at this point in the history
  6. Change avifenc default speed from 4 to 6

    Speed 6 is the fastest speed in libaom's good-quality usage mode. In one
    testing Frank Galligan performed on 20 images, the average encoding
    times for speeds 3, 4, 6, 8 are roughly:
      - Speed 3: 125 seconds
      - Speed 4:  63 seconds
      - Speed 6:  42 seconds
      - Speed 8:  11 seconds
    
    So speed 6 is likely to save 1/3 of the encoding time compared with
    speed 4.
    
    #440
    wantehchang authored and joedrago committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    247cb73 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. Add AVIF_ prefix to AOM_OPTION_xxx enum constants

    Otherwise AOM_OPTION_xxx looks like a macro or enum constant defined by
    libaom.
    wantehchang authored and joedrago committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    aaf332a View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. Let developers know they can ignore avifIO.write

    Add comment so that developers know that avifIO's `write` member is currently unused. They can simply set it to a null pointer.
    morsssss authored and joedrago committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    bba4975 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. Use procedure specified in H.273 to quantize YUV (#459)

    Old `avifReformatStateYToUNorm` and `avifReformatStateUVToUNorm`
    functions quantize YUV value at very first without extra precision, and
    can introduce severer than normal banding. This PR changes to follow the
    procedure specified in H.273, and can give better result on limited
    range images.
    
    Updated formulas passed avifyuv test with maxDrift=1 (only tested 8bit
    and 10bit. 12bit is too slow).
    tongyuantongyu committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    51a0834 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f57a1c View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. Upgrade to rav1e 0.4.0

    tongyuantongyu authored and joedrago committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    bea60ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f703571 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. docker/build.sh: Sync dav1d and libgav1 versions

    dav1d 0.8.1, libgav1 4a89dc3
    EwoutH authored and joedrago committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    b398d7f View commit details
    Browse the repository at this point in the history
  2. ext/libgav1.cmd: sync to 4a89dc3, update abseil-cpp

    update abseil-cpp -b lts_2020_09_23
    update libgav1 to 4a89dc3
    
    now in sync with docker/build.sh
    EwoutH authored and joedrago committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    82d720e View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Configuration menu
    Copy the full SHA
    e4850be View commit details
    Browse the repository at this point in the history
  2. minor fixes

    tongyuantongyu committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    3cf850b View commit details
    Browse the repository at this point in the history