1. 31 8月, 2017 6 次提交
  2. 30 8月, 2017 16 次提交
  3. 29 8月, 2017 18 次提交
    • N
      lavfi: bump minor version after change in options. · 7302d5e3
      Nicolas George 提交于
      7302d5e3
    • N
      doc/filters: document framesync options. · 844bc0d8
      Nicolas George 提交于
      844bc0d8
    • N
      lavfi: remove dualinput. · 607900c9
      Nicolas George 提交于
      607900c9
    • N
      vf_ssim: convert to framesync2. · ef217647
      Nicolas George 提交于
      ef217647
    • N
      lavfi/vf_psnr: convert to framesync2. · 3bd11df4
      Nicolas George 提交于
      3bd11df4
    • N
      lavfi/vf_paletteuse: convert to framesync2. · 23000c3d
      Nicolas George 提交于
      23000c3d
    • N
      lavfi/vf_lut3d: convert to framesync2. · eacb3ec9
      Nicolas George 提交于
      eacb3ec9
    • N
      lavfi/vf_libvmaf: convert to framesync2. · a8ab52fa
      Nicolas George 提交于
      After this commit, the code compiles, but on my setup it
      segfaults before and after. It also prints the very worrying
      warning:
      
      src/libavfilter/vf_libvmaf.c:161:66: warning: passing argument 4 of ‘compute_vmaf’ from incompatible pointer type [-Wincompatible-pointer-types]
      /tmp/i/include/libvmaf.h:26:8: note: expected ‘int (*)(float *, float *, float *, int,  void *)’ but argument is of type ‘int (*)(float *, float *, float *, int,  double *, void *)’
      
      ==12116== Thread 6:
      ==12116== Conditional jump or move depends on uninitialised value(s)
      ==12116==    at 0x526D432: cons_ (ocval.h:1188)
      ==12116==    by 0x526D432: GenericIT (ocval.h:1119)
      ==12116==    by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92)
      ==12116==    by 0x5211F5D: loads (pickleloader.h:566)
      ==12116==    by 0x5211F5D: LoadValFromArray (chooseser.h:290)
      ==12116==    by 0x5211F5D: LoadValFromFile (chooseser.h:405)
      ==12116==    by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77)
      ==12116==    by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149)
      ==12116==    by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
      ==12116==    by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
      ==12116==    by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
      ==12116==    by 0x7967493: start_thread (pthread_create.c:333)
      ==12116==    by 0x7F69A8E: clone (clone.S:97)
      ==12116==
      ==12116== Conditional jump or move depends on uninitialised value(s)
      ==12116==    at 0x526D432: cons_ (ocval.h:1188)
      ==12116==    by 0x526D432: GenericIT (ocval.h:1119)
      ==12116==    by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92)
      ==12116==    by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94)
      ==12116==    by 0x5211F5D: loads (pickleloader.h:566)
      ==12116==    by 0x5211F5D: LoadValFromArray (chooseser.h:290)
      ==12116==    by 0x5211F5D: LoadValFromFile (chooseser.h:405)
      ==12116==    by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77)
      ==12116==    by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149)
      ==12116==    by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
      ==12116==    by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
      ==12116==    by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
      ==12116==    by 0x7967493: start_thread (pthread_create.c:333)
      ==12116==    by 0x7F69A8E: clone (clone.S:97)
      ==12116==
      ==12116== Conditional jump or move depends on uninitialised value(s)
      ==12116==    at 0x526D432: cons_ (ocval.h:1188)
      ==12116==    by 0x526D432: GenericIT (ocval.h:1119)
      ==12116==    by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92)
      ==12116==    by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94)
      ==12116==    by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94)
      ==12116==    by 0x5211F5D: loads (pickleloader.h:566)
      ==12116==    by 0x5211F5D: LoadValFromArray (chooseser.h:290)
      ==12116==    by 0x5211F5D: LoadValFromFile (chooseser.h:405)
      ==12116==    by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77)
      ==12116==    by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149)
      ==12116==    by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
      ==12116==    by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
      ==12116==    by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
      ==12116==    by 0x7967493: start_thread (pthread_create.c:333)
      ==12116==    by 0x7F69A8E: clone (clone.S:97)
      ==12116==
      ==12116== Use of uninitialised value of size 8
      ==12116==    at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147)
      ==12116==    by 0x52AB5E8: combo (combo.c:149)
      ==12116==    by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278)
      ==12116==    by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
      ==12116==    by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
      ==12116==    by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
      ==12116==    by 0x7967493: start_thread (pthread_create.c:333)
      ==12116==    by 0x7F69A8E: clone (clone.S:97)
      ==12116==
      ==12116== Invalid read of size 4
      ==12116==    at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147)
      ==12116==    by 0x52AB5E8: combo (combo.c:149)
      ==12116==    by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278)
      ==12116==    by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
      ==12116==    by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
      ==12116==    by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
      ==12116==    by 0x7967493: start_thread (pthread_create.c:333)
      ==12116==    by 0x7F69A8E: clone (clone.S:97)
      ==12116==  Address 0x40 is not stack'd, malloc'd or (recently) free'd
      ==12116==
      ==12116==
      ==12116== Process terminating with default action of signal 11 (SIGSEGV)
      ==12116==  Access not within mapped region at address 0x40
      ==12116==    at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147)
      ==12116==    by 0x52AB5E8: combo (combo.c:149)
      ==12116==    by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278)
      ==12116==    by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
      ==12116==    by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
      ==12116==    by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
      ==12116==    by 0x7967493: start_thread (pthread_create.c:333)
      ==12116==    by 0x7F69A8E: clone (clone.S:97)
      a8ab52fa
    • N
      lavfi/vf_blend: convert to framesync2. · c1d8d33a
      Nicolas George 提交于
      c1d8d33a
    • N
      lavfi/vf_overlay: use framesync2 options. · 878fd054
      Nicolas George 提交于
      878fd054
    • N
      lavfi/framesync2: add common options. · 05a23b25
      Nicolas George 提交于
      Also add functions and macros to help filters chaining these
      options to their own.
      05a23b25
    • N
      lavfi: search options on child objects. · dfa3aaa2
      Nicolas George 提交于
      The child objects must be allocated and inited in the
      preinit() callback.
      dfa3aaa2
    • N
      lavfi: add a preinit callback to filters. · f8d7b5fe
      Nicolas George 提交于
      It is necessary for filters with child objects, to set the class
      and default options values.
      f8d7b5fe
    • N
      lavfi/vf_overlay: move to framesync2. · 19804024
      Nicolas George 提交于
      19804024
    • N
      lavfi/framesync2: add dualinput helper functions. · 0ae8df41
      Nicolas George 提交于
      0ae8df41
    • N
      lavfi/f_streamselect: convert to framesync2. · 6bde475c
      Nicolas George 提交于
      6bde475c
    • J
      avcodec/snowenc: fix setting motion_est option · 95a6de56
      James Almer 提交于
      Remove usage of FF_MPV_COMMON_OPTS, and set SnowContext.motion_est directly.
      Based on code from svq1enc.c
      Signed-off-by: NJames Almer <jamrial@gmail.com>
      Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc>
      95a6de56
    • C
      lavf/dump: Remove superfluous cast. · d4fbe99d
      Carl Eugen Hoyos 提交于
      d4fbe99d