Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AOMediaCodec/libavif
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.3
Choose a base ref
...
head repository: AOMediaCodec/libavif
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.4
Choose a head ref
  • 17 commits
  • 13 files changed
  • 4 contributors

Commits on Apr 1, 2020

  1. Fix clang warning (switch clamp to min)

    Joe Drago committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    8991484 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Call dav1d_data_unref in dav1dCodecDestroyInternal

    Call dav1d_data_unref(&codec->internal->dav1dData) in
    dav1dCodecDestroyInternal(). This frees codec->internal->dav1dData after
    a dav1d_send_data() failure.
    
    Remove the dav1d_data_unref() call in dav1dFeedData(). It is a no-op.
    If codec->internal->dav1dData.sz is 0, we don't need to free
    codec->internal->dav1dData.
    wantehchang authored and joedrago committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    8ba0550 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2020

  1. Ext: Only clone single branch of libgav1

    Speeds up the build process and lowers memory requirements while compiling a little.
    EwoutH authored and joedrago committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    96d247d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78e3c9d View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2020

  1. Declare some avifSampleTable * pointers as const

    This makes it easier to analyze the side effects of the code.
    wantehchang authored and joedrago committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    306c306 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

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

Commits on Apr 14, 2020

  1. Added avifDecoderNthImageTiming() for querying frame timing without n…

    …eeding to decode the frame
    Joe Drago committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    e9c5860 View commit details
    Browse the repository at this point in the history
  2. Update to cJSON v1.7.13

    The following local modification to cJSON.c in libavif commit
    a7699ef is in the cJSON upstream:
    
         /* This checks for NaN and Infinity */
    -    if ((d * 0) != 0)
    +    if (isnan(d))
    
    In the cJSON upstream, that line reads:
    
        if (isnan(d) || isinf(d))
    wantehchang authored and joedrago committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    34455d6 View commit details
    Browse the repository at this point in the history
  3. decoder->image can't be NULL after decoder has run

    decoder->image is set to NULL only in avifDecoderCleanup(), which is
    only called in avifDecoderDestroy() and at the beginning of
    avifDecoderParse(). Therefore, after decoder->image is allocated in
    avifDecoderParse(), decoder->image cannot be NULL.
    
    In avif.h, instead of saying when decoder->image "can be NULL", say when
    decoder->image "is invalid".
    wantehchang authored and joedrago committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    39fb0fc View commit details
    Browse the repository at this point in the history
  4. Minor cleanup due to clang static analysis

    Joe Drago committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    f51539e View commit details
    Browse the repository at this point in the history
  5. Be explicit about buffer size instead of using sizeof here (-Wsizeof-…

    …array-argument)
    Joe Drago committed Apr 14, 2020
    2 Configuration menu
    Copy the full SHA
    27f0dc7 View commit details
    Browse the repository at this point in the history
  6. Miscellaneous cleanup related to UV width, height.

    Clean up the calculations of UV width and height. If the chroma shift is
    1, we need to add 1 to width or height before right shifting by 1. This
    can be written in a branch-free form.
    
    Also clean up some code in src/codec_aom.c:
    1. The type of the 'flags' parameter of aom_codec_enc_init() is
    aom_codec_flags_t.
    2. The memset() calls in a for loop can be merged because the row
    strides are contiguous.
    wantehchang authored and joedrago committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    3f4b028 View commit details
    Browse the repository at this point in the history
  7. Remove an unnecessary null check for colorOBUItem

    The following check ensures colorOBUItem is not null:
    
    2033         if (!colorOBUItem) {
    2034             return AVIF_RESULT_NO_AV1_ITEMS_FOUND;
    2035         }
    
    After this check, colorOBUItem is dereferenced without further checking
    in multiple places.
    wantehchang authored and joedrago committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    4295bcb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    605e471 View commit details
    Browse the repository at this point in the history
  9. Use outTiming param in avifDecoderNthImageTiming

    Actually use the outTiming paramter in avifDecoderNthImageTiming(). It
    was still using decoder->imageTiming in the copied code.
    wantehchang authored and joedrago committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    167e406 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. Update changelog

    Joe Drago committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    83b613e View commit details
    Browse the repository at this point in the history
  2. v0.6.4

    Joe Drago committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    3e5134c View commit details
    Browse the repository at this point in the history
Loading