[libav-commits] Announce Releases 10_beta2, 9.12 and 0.8.11

2014-03-14 Thread Reinhard Tartler
Module: libav.org
Branch: master
Commit: 8477d9f24077bf1a16e4fb03765ba28ccba6f1fd

Author:Reinhard Tartler siret...@tauware.de
Committer: Reinhard Tartler siret...@tauware.de
Date:  Thu Mar 13 21:57:22 2014 -0400

Announce Releases 10_beta2, 9.12 and 0.8.11

---

 src/download |   64 +-
 src/news |   31 
 2 files changed, 63 insertions(+), 32 deletions(-)

diff --git a/src/download b/src/download
index 558b19b..21c9891 100644
--- a/src/download
+++ b/src/download
@@ -201,50 +201,50 @@ and much faster bug fixes such as additional features and 
security patches.
 a name=release_10/ah2Libav 10 Eks/h2
 
 p
-10 beta 1 has been released on 2014-02-17. It is the latest beta snapshot from
+10 beta 2 has been released on 2014-03-14. It is the latest beta snapshot from
 the version 10 release branch. The final release is not finished yet. Please
 give us feedback and use our a href=https://bugzilla.libav.org;Bugzilla/a
 for filing bugs.
 /p
 
 p
-a href=releases/libav-10_beta1.tar.xzDownload XZ tarball/anbsp;nbsp;
-a href=releases/libav-10_beta1.tar.xz.md5MD5/a
-a href=releases/libav-10_beta1.tar.xz.sha1SHA1/a
-a href=releases/libav-10_beta1.tar.xz.ascPGP signature/abr /
-a href=releases/libav-10_beta1.tar.gzDownload gzip tarball/anbsp;nbsp;
-a href=releases/libav-10_beta1.tar.gz.md5MD5/a
-a href=releases/libav-10_beta1.tar.gz.sha1SHA1/a
-a href=releases/libav-10_beta1.tar.gz.ascPGP signature/abr /
-a href=releases/libav-10_beta1.changelogChangelog/abr /
-a href=releases/libav-10_beta1.releaseRelease Notes/a
+a href=releases/libav-10_beta2.tar.xzDownload XZ tarball/anbsp;nbsp;
+a href=releases/libav-10_beta2.tar.xz.md5MD5/a
+a href=releases/libav-10_beta2.tar.xz.sha1SHA1/a
+a href=releases/libav-10_beta2.tar.xz.ascPGP signature/abr /
+a href=releases/libav-10_beta2.tar.gzDownload gzip tarball/anbsp;nbsp;
+a href=releases/libav-10_beta2.tar.gz.md5MD5/a
+a href=releases/libav-10_beta2.tar.gz.sha1SHA1/a
+a href=releases/libav-10_beta2.tar.gz.ascPGP signature/abr /
+a href=releases/libav-10_beta2.changelogChangelog/abr /
+a href=releases/libav-10_beta2.releaseRelease Notes/a
 /p
 
 a name=release_9/ah2Libav 9 plain 9/h2
 
 p
-9.11 was released on 2014-02-03. It is the latest point release from
+9.12 was released on 2014-03-14. It is the latest point release from
 the version 9 release branch, which was released on 2013-01-05. Please
 give us feedback and use our Bugzilla for filing
 bugs: a href=https://bugzilla.libav.org;https://bugzilla.libav.org//a
 /p
 
 p
-a href=releases/libav-9.11.tar.xzDownload XZ tarball/anbsp;nbsp;
-a href=releases/libav-9.11.tar.xz.md5MD5/a
-a href=releases/libav-9.11.tar.xz.sha1SHA1/a
-a href=releases/libav-9.11.tar.xz.ascPGP signature/abr /
-a href=releases/libav-9.11.tar.gzDownload gzip tarball/anbsp;nbsp;
-a href=releases/libav-9.11.tar.gz.md5MD5/a
-a href=releases/libav-9.11.tar.gz.sha1SHA1/a
-a href=releases/libav-9.11.tar.gz.ascPGP signature/abr /
-a href=releases/libav-9.11.changelogChangelog/abr /
-a href=releases/libav-9.11.releaseRelease Notes/a
+a href=releases/libav-9.12.tar.xzDownload XZ tarball/anbsp;nbsp;
+a href=releases/libav-9.12.tar.xz.md5MD5/a
+a href=releases/libav-9.12.tar.xz.sha1SHA1/a
+a href=releases/libav-9.12.tar.xz.ascPGP signature/abr /
+a href=releases/libav-9.12.tar.gzDownload gzip tarball/anbsp;nbsp;
+a href=releases/libav-9.12.tar.gz.md5MD5/a
+a href=releases/libav-9.12.tar.gz.sha1SHA1/a
+a href=releases/libav-9.12.tar.gz.ascPGP signature/abr /
+a href=releases/libav-9.12.changelogChangelog/abr /
+a href=releases/libav-9.12.releaseRelease Notes/a
 /p
 
 a name=release_0.8/ah2Libav 0.8.9 Forbidden Fruit/h2
 p
-0.8.10 was released on 2014-02-03. It is the latest point release from
+0.8.11 was released on 2014-03-14. It is the latest point release from
 the 0.8 branch, which was cut on 2012-01-21. Please give us feedback
 with your experiences with this release and use our new Bugzilla for
 filing bugs:
@@ -252,15 +252,15 @@ filing bugs:
 /p
 
 p
-a href=releases/libav-0.8.10.tar.xzDownload XZ tarball/anbsp;nbsp;
-a href=releases/libav-0.8.10.tar.xz.md5MD5/a
-a href=releases/libav-0.8.10.tar.xz.sha1SHA1/a
-a href=releases/libav-0.8.10.tar.xz.ascPGP signature/abr /
-a href=releases/libav-0.8.10.tar.gzDownload gzip tarball/anbsp;nbsp;
-a href=releases/libav-0.8.10.tar.gz.md5MD5/a
-a href=releases/libav-0.8.10.tar.gz.sha1SHA1/a
-a href=releases/libav-0.8.10.tar.gz.ascPGP signature/abr /
-a href=releases/libav-0.8.10.changelogChangelog/abr /
+a href=releases/libav-0.8.11.tar.xzDownload XZ tarball/anbsp;nbsp;
+a href=releases/libav-0.8.11.tar.xz.md5MD5/a
+a href=releases/libav-0.8.11.tar.xz.sha1SHA1/a
+a href=releases/libav-0.8.11.tar.xz.ascPGP signature/abr /
+a href=releases/libav-0.8.11.tar.gzDownload gzip tarball/anbsp;nbsp;
+a href=releases/libav-0.8.11.tar.gz.md5MD5/a
+a href=releases/libav-0.8.11.tar.gz.sha1SHA1/a
+a href=releases/libav-0.8.11.tar.gz.ascPGP 

[libav-commits] configure: Split some logical blocks off from HAVE_LIST

2014-03-14 Thread Diego Biurrun
Module: libav
Branch: master
Commit: 7a650caf6436ddfe417bdcb5ce520c96c779af7b

Author:Diego Biurrun di...@biurrun.de
Committer: Diego Biurrun di...@biurrun.de
Date:  Thu Mar  6 18:31:45 2014 +0100

configure: Split some logical blocks off from HAVE_LIST

---

 configure |  196 +++--
 1 file changed, 112 insertions(+), 84 deletions(-)

diff --git a/configure b/configure
index be4f18d..ecccd21 100755
--- a/configure
+++ b/configure
@@ -1294,6 +1294,13 @@ ARCH_EXT_LIST_X86_SIMD=
 xop
 
 
+ARCH_EXT_LIST_PPC=
+altivec
+dcbzl
+ldbrx
+ppc4xx
+
+
 ARCH_EXT_LIST_X86=
 $ARCH_EXT_LIST_X86_SIMD
 cpunop
@@ -1302,11 +1309,29 @@ ARCH_EXT_LIST_X86=
 
 ARCH_EXT_LIST=
 $ARCH_EXT_LIST_ARM
+$ARCH_EXT_LIST_PPC
 $ARCH_EXT_LIST_X86
-altivec
-ppc4xx
+loongson
+vis
 
 
+ARCH_FEATURES=
+aligned_stack
+fast_64bit
+fast_clz
+fast_cmov
+local_aligned_8
+local_aligned_16
+
+
+BUILTIN_LIST=
+atomic_cas_ptr
+machine_rw_barrier
+MemoryBarrier
+mm_empty
+rdtsc
+sync_val_compare_and_swap
+
 HAVE_LIST_CMDLINE=
 inline_asm
 symver
@@ -1318,6 +1343,42 @@ HAVE_LIST_PUB=
 fast_unaligned
 
 
+HEADERS_LIST=
+alsa_asoundlib_h
+altivec_h
+arpa_inet_h
+cdio_paranoia_h
+cdio_paranoia_paranoia_h
+dev_bktr_ioctl_bt848_h
+dev_bktr_ioctl_meteor_h
+dev_ic_bt8xx_h
+dev_video_bktr_ioctl_bt848_h
+dev_video_meteor_ioctl_meteor_h
+direct_h
+dlfcn_h
+dxva_h
+gsm_h
+io_h
+mach_mach_time_h
+machine_ioctl_bt848_h
+machine_ioctl_meteor_h
+malloc_h
+poll_h
+sndio_h
+soundcard_h
+sys_mman_h
+sys_param_h
+sys_resource_h
+sys_select_h
+sys_soundcard_h
+sys_time_h
+sys_un_h
+sys_videoio_h
+unistd_h
+windows_h
+winsock2_h
+
+
 MATH_FUNCS=
 atanf
 atan2f
@@ -1345,46 +1406,12 @@ MATH_FUNCS=
 truncf
 
 
-HAVE_LIST=
-$ARCH_EXT_LIST
-$(add_suffix _external $ARCH_EXT_LIST)
-$(add_suffix _inline   $ARCH_EXT_LIST)
-$ATOMICS_LIST
-$HAVE_LIST_CMDLINE
-$HAVE_LIST_PUB
-$MATH_FUNCS
-$THREADS_LIST
+SYSTEM_FUNCS=
 aligned_malloc
-aligned_stack
-alsa_asoundlib_h
-altivec_h
-arpa_inet_h
-asm_mod_q
-atomic_cas_ptr
-atomics_native
-attribute_may_alias
-attribute_packed
-cdio_paranoia_h
-cdio_paranoia_paranoia_h
 closesocket
 CommandLineToArgvW
 CryptGenRandom
-dcbzl
-dev_bktr_ioctl_bt848_h
-dev_bktr_ioctl_meteor_h
-dev_ic_bt8xx_h
-dev_video_bktr_ioctl_bt848_h
-dev_video_meteor_ioctl_meteor_h
-direct_h
-dlfcn_h
 dlopen
-dos_paths
-dxva_h
-ebp_available
-ebx_available
-fast_64bit
-fast_clz
-fast_cmov
 fcntl
 flt_lim
 fork
@@ -1398,51 +1425,50 @@ HAVE_LIST=
 getservbyport
 GetSystemTimeAsFileTime
 gettimeofday
-gnu_as
-gsm_h
-ibm_asm
 inet_aton
-inline_asm_labels
-io_h
 isatty
 jack_port_get_latency_range
-ldbrx
-libc_msvcrt
-libdc1394_1
-libdc1394_2
-local_aligned_16
-local_aligned_8
 localtime_r
-loongson
 mach_absolute_time
-mach_mach_time_h
-machine_ioctl_bt848_h
-machine_ioctl_meteor_h
-machine_rw_barrier
-malloc_h
 MapViewOfFile
 memalign
-MemoryBarrier
 mkstemp
-mm_empty
 mmap
 mprotect
 nanosleep
-poll_h
 posix_memalign
-pragma_deprecated
-rdtsc
 sched_getaffinity
-sdl
 SetConsoleTextAttribute
 setmode
 setrlimit
 Sleep
-sndio_h
-socklen_t
-soundcard_h
 strerror_r
 strptime
+sysconf
+sysctl
+usleep
+VirtualAlloc
+
+
+TOOLCHAIN_FEATURES=
+asm_mod_q
+attribute_may_alias
+attribute_packed
+ebp_available
+ebx_available
+gnu_as
+ibm_asm
+inline_asm_labels
+pragma_deprecated
+symver_asm_label
+symver_gnu_asm
+vfp_args
+xform_asm
+xmm_clobbers
+
+
+TYPES_LIST=
+socklen_t
 struct_addrinfo
 struct_group_source_req
 struct_ip_mreq_source
@@ -1453,30 +1479,32 @@ HAVE_LIST=
 struct_sockaddr_sa_len
 struct_sockaddr_storage
 struct_v4l2_frmivalenum_discrete
-symver_asm_label
-symver_gnu_asm
-sync_val_compare_and_swap
-sys_mman_h
-sys_param_h
-sys_resource_h
-sys_select_h
-sys_soundcard_h
-sys_time_h
-sys_un_h
-sys_videoio_h
-sysconf
-sysctl
+
+
+HAVE_LIST=
+$ARCH_EXT_LIST
+$(add_suffix _external $ARCH_EXT_LIST)
+$(add_suffix _inline   $ARCH_EXT_LIST)
+$ARCH_FEATURES
+$ATOMICS_LIST
+$BUILTIN_LIST
+$HAVE_LIST_CMDLINE
+$HAVE_LIST_PUB
+$HEADERS_LIST
+$MATH_FUNCS
+$SYSTEM_FUNCS
+$THREADS_LIST
+$TOOLCHAIN_FEATURES
+$TYPES_LIST
+atomics_native
+dos_paths
+libc_msvcrt
+libdc1394_1
+libdc1394_2
+sdl
 

[libav-commits] configure: Split some logical blocks off from CONFIG_LIST

2014-03-14 Thread Diego Biurrun
Module: libav
Branch: master
Commit: d0adf55c05beaf80420747dded2d1884bff377ec

Author:Diego Biurrun di...@biurrun.de
Committer: Diego Biurrun di...@biurrun.de
Date:  Sat Nov  2 17:21:51 2013 +0100

configure: Split some logical blocks off from CONFIG_LIST

---

 configure |   54 +-
 1 file changed, 33 insertions(+), 21 deletions(-)

diff --git a/configure b/configure
index 81e38c5..be4f18d 100755
--- a/configure
+++ b/configure
@@ -1156,6 +1156,18 @@ EXTERNAL_LIBRARY_LIST=
 zlib
 
 
+FEATURE_LIST=
+gray
+hardcoded_tables
+runtime_cpudetect
+safe_bitstream_reader
+shared
+small
+sram
+static
+swscale_alpha
+
+
 HWACCEL_LIST=
 dxva2
 vaapi
@@ -1173,6 +1185,12 @@ LIBRARY_LIST=
 swscale
 
 
+LICENSE_LIST=
+gpl
+nonfree
+version3
+
+
 PROGRAM_LIST=
 avconv
 avplay
@@ -1180,40 +1198,34 @@ PROGRAM_LIST=
 avserver
 
 
-CONFIG_LIST=
-$COMPONENT_LIST
-$EXAMPLE_LIST
-$EXTERNAL_LIBRARY_LIST
-$HWACCEL_LIST
-$LIBRARY_LIST
-$PROGRAM_LIST
+SUBSYSTEM_LIST=
 dct
 doc
 error_resilience
 fft
-gpl
-gray
-hardcoded_tables
 lsp
 lzo
 mdct
+network
+rdft
+
+
+CONFIG_LIST=
+$COMPONENT_LIST
+$EXAMPLE_LIST
+$EXTERNAL_LIBRARY_LIST
+$FEATURE_LIST
+$HWACCEL_LIST
+$LICENSE_LIST
+$LIBRARY_LIST
+$PROGRAM_LIST
+$SUBSYSTEM_LIST
 memalign_hack
 neon_clobber_test
-network
-nonfree
 pic
 pod2man
-rdft
-runtime_cpudetect
-safe_bitstream_reader
-shared
-small
-sram
-static
-swscale_alpha
 texi2html
 thumb
-version3
 xmm_clobber_test
 
 

___
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits


[libav-commits] arm: dsputil: Drop restrict keyword from add_pixels_clamped_armv6 prototype

2014-03-14 Thread Diego Biurrun
Module: libav
Branch: master
Commit: 36b822b8be7f9ecd6f9d87acaa786b128a873cd9

Author:Diego Biurrun di...@biurrun.de
Committer: Diego Biurrun di...@biurrun.de
Date:  Fri Mar 14 13:22:50 2014 +0100

arm: dsputil: Drop restrict keyword from add_pixels_clamped_armv6 prototype

The function is assigned to a function pointer that does not have the
restrict keyword for that parameter.

This fixes compilation for MSVC builds that don't recognize restrict,
broken since ed9625eb62.

---

 libavcodec/arm/dsputil_init_armv6.c |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/arm/dsputil_init_armv6.c 
b/libavcodec/arm/dsputil_init_armv6.c
index 357ae1e..09a30cf 100644
--- a/libavcodec/arm/dsputil_init_armv6.c
+++ b/libavcodec/arm/dsputil_init_armv6.c
@@ -29,8 +29,7 @@ void ff_simple_idct_armv6(int16_t *data);
 void ff_simple_idct_put_armv6(uint8_t *dest, int line_size, int16_t *data);
 void ff_simple_idct_add_armv6(uint8_t *dest, int line_size, int16_t *data);
 
-void ff_add_pixels_clamped_armv6(const int16_t *block,
- uint8_t *restrict pixels,
+void ff_add_pixels_clamped_armv6(const int16_t *block, uint8_t *pixels,
  int line_size);
 
 void ff_get_pixels_armv6(int16_t *block, const uint8_t *pixels, int stride);

___
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits


[libav-commits] configure: Group and sort function/struct/type checks

2014-03-14 Thread Diego Biurrun
Module: libav
Branch: master
Commit: 07ea8a7e943ea6a7bdcd736e2fc3ed357dc15c57

Author:Diego Biurrun di...@biurrun.de
Committer: Diego Biurrun di...@biurrun.de
Date:  Thu Mar  6 14:52:03 2014 +0100

configure: Group and sort function/struct/type checks

Group checks into logical groups and sort alphabetically within those groups
unless checks have close coupling. Keep closely coupled checks together.

---

 configure |   54 +++---
 1 file changed, 31 insertions(+), 23 deletions(-)

diff --git a/configure b/configure
index 7051a76..81e38c5 100755
--- a/configure
+++ b/configure
@@ -3816,19 +3816,21 @@ elif check_func dlopen -ldl; then
 fi
 
 if ! disabled network; then
-check_type sys/types.h sys/socket.h socklen_t
+check_func getaddrinfo $network_extralibs
+check_func getservbyport $network_extralibs
+check_func inet_aton $network_extralibs
+
 check_type netdb.h struct addrinfo
 check_type netinet/in.h struct group_source_req -D_BSD_SOURCE
 check_type netinet/in.h struct ip_mreq_source -D_BSD_SOURCE
 check_type netinet/in.h struct ipv6_mreq -D_DARWIN_C_SOURCE
-check_type netinet/in.h struct sockaddr_in6
 check_type poll.h struct pollfd
-check_type sys/types.h sys/socket.h struct sockaddr_storage
-check_struct sys/types.h sys/socket.h struct sockaddr sa_len
 check_type netinet/sctp.h struct sctp_event_subscribe
-check_func getaddrinfo $network_extralibs
-check_func getservbyport $network_extralibs
-check_func inet_aton $network_extralibs
+check_struct sys/types.h sys/socket.h struct sockaddr sa_len
+check_type netinet/in.h struct sockaddr_in6
+check_type sys/types.h sys/socket.h struct sockaddr_storage
+check_type sys/types.h sys/socket.h socklen_t
+
 # Prefer arpa/inet.h over winsock2
 if check_header arpa/inet.h ; then
 check_func closesocket
@@ -3838,55 +3840,55 @@ if ! disabled network; then
 { check_func_headers winsock2.h closesocket -lws2_32 
 network_extralibs=-lws2_32; } || disable winsock2_h network
 check_func_headers ws2tcpip.h getaddrinfo $network_extralibs
+
 check_type ws2tcpip.h socklen_t
 check_type ws2tcpip.h struct addrinfo
 check_type ws2tcpip.h struct group_source_req
 check_type ws2tcpip.h struct ip_mreq_source
 check_type ws2tcpip.h struct ipv6_mreq
 check_type winsock2.h struct pollfd
+check_struct winsock2.h struct sockaddr sa_len
 check_type ws2tcpip.h struct sockaddr_in6
 check_type ws2tcpip.h struct sockaddr_storage
-check_struct winsock2.h struct sockaddr sa_len
 else
 disable network
 fi
 fi
 
-# Solaris has nanosleep in -lrt, OpenSolaris no longer needs that
-check_func nanosleep || { check_func nanosleep -lrt  add_extralibs -lrt; }
+check_builtin atomic_cas_ptr atomic.h void **ptr; void *oldval, *newval; 
atomic_cas_ptr(ptr, oldval, newval)
+check_builtin machine_rw_barrier mbarrier.h __machine_rw_barrier()
+check_builtin MemoryBarrier windows.h MemoryBarrier()
+check_builtin sync_val_compare_and_swap  int *ptr; int oldval, newval; 
__sync_val_compare_and_swap(ptr, oldval, newval)
+
+check_func_headers malloc.h _aligned_malloc  enable aligned_malloc
+check_func  ${malloc_prefix}memalign enable memalign
+check_func  ${malloc_prefix}posix_memalign   enable posix_memalign
 
 check_func  fcntl
 check_func  fork
-check_func_headers stdlib.h getenv
 check_func  gethrtime
 check_func  getopt
 check_func  getrusage
-check_struct sys/time.h sys/resource.h struct rusage ru_maxrss
 check_func  gettimeofday
 check_func  isatty
 check_func  localtime_r
 check_func  mach_absolute_time
-check_func  ${malloc_prefix}memalign enable memalign
 check_func  mkstemp
 check_func  mmap
 check_func  mprotect
-check_func  ${malloc_prefix}posix_memalign   enable posix_memalign
-check_func_headers malloc.h _aligned_malloc  enable aligned_malloc
+# Solaris has nanosleep in -lrt, OpenSolaris no longer needs that
+check_func  nanosleep || { check_func nanosleep -lrt  add_extralibs -lrt; }
+check_func  sched_getaffinity
 check_func  setrlimit
 check_func  strerror_r
 check_func  strptime
-check_func  sched_getaffinity
-check_builtin sync_val_compare_and_swap  int *ptr; int oldval, newval; 
__sync_val_compare_and_swap(ptr, oldval, newval)
-check_builtin machine_rw_barrier mbarrier.h __machine_rw_barrier()
-check_builtin atomic_cas_ptr atomic.h void **ptr; void *oldval, *newval; 
atomic_cas_ptr(ptr, oldval, newval)
-check_builtin MemoryBarrier windows.h MemoryBarrier()
 check_func  sysconf
 check_func  sysctl
 check_func  usleep
+
 check_func_headers io.h setmode
-check_lib2 windows.h shellapi.h CommandLineToArgvW -lshell32
-check_lib2 windows.h wincrypt.h CryptGenRandom -ladvapi32
-check_lib2 windows.h psapi.h GetProcessMemoryInfo -lpsapi
+check_func_headers stdlib.h getenv
+
 check_func_headers 

[libav-commits] codec_desc: KR formatting cosmetics

2014-03-14 Thread Vittorio Giovara
Module: libav
Branch: master
Commit: 999d31d354f1f0616a09691913659ac0abdcc899

Author:Vittorio Giovara vittorio.giov...@gmail.com
Committer: Vittorio Giovara vittorio.giov...@gmail.com
Date:  Fri Mar 14 01:00:49 2014 +0100

codec_desc: KR formatting cosmetics

---

 libavcodec/codec_desc.c |7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 1270323..3578a09 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1777,14 +1777,14 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .id= AV_CODEC_ID_DTS,
 .type  = AVMEDIA_TYPE_AUDIO,
 .name  = dts,
-.long_name  = NULL_IF_CONFIG_SMALL(DCA (DTS Coherent Acoustics)),
+.long_name = NULL_IF_CONFIG_SMALL(DCA (DTS Coherent Acoustics)),
 .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
 },
 {
 .id= AV_CODEC_ID_VORBIS,
 .type  = AVMEDIA_TYPE_AUDIO,
 .name  = vorbis,
-.long_name  = NULL_IF_CONFIG_SMALL(Vorbis),
+.long_name = NULL_IF_CONFIG_SMALL(Vorbis),
 .props = AV_CODEC_PROP_LOSSY,
 },
 {
@@ -2282,9 +2282,8 @@ const AVCodecDescriptor 
*avcodec_descriptor_get_by_name(const char *name)
 {
 const AVCodecDescriptor *desc = NULL;
 
-while ((desc = avcodec_descriptor_next(desc))) {
+while ((desc = avcodec_descriptor_next(desc)))
 if (!strcmp(desc-name, name))
 return desc;
-}
 return NULL;
 }

___
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits


[libav-commits] codec_desc: add missing .long_name

2014-03-14 Thread Vittorio Giovara
Module: libav
Branch: master
Commit: d42ea06798b83d87397449ec6aad40cb5ea46e43

Author:Vittorio Giovara vittorio.giov...@gmail.com
Committer: Vittorio Giovara vittorio.giov...@gmail.com
Date:  Fri Mar 14 01:03:05 2014 +0100

codec_desc: add missing .long_name

---

 libavcodec/codec_desc.c |4 
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 3578a09..c94fe2b 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -908,12 +908,14 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .id= AV_CODEC_ID_V210X,
 .type  = AVMEDIA_TYPE_VIDEO,
 .name  = v210x,
+.long_name = NULL_IF_CONFIG_SMALL(Uncompressed 4:2:2 10-bit),
 .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
 },
 {
 .id= AV_CODEC_ID_TMV,
 .type  = AVMEDIA_TYPE_VIDEO,
 .name  = tmv,
+.long_name = NULL_IF_CONFIG_SMALL(8088flex TMV),
 .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
 },
 {
@@ -1158,6 +1160,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .id= AV_CODEC_ID_XBM,
 .type  = AVMEDIA_TYPE_VIDEO,
 .name  = xbm,
+.long_name = NULL_IF_CONFIG_SMALL(XBM (X BitMap) image),
 .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
 },
 {
@@ -1791,6 +1794,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .id= AV_CODEC_ID_DVAUDIO,
 .type  = AVMEDIA_TYPE_AUDIO,
 .name  = dvaudio,
+.long_name = NULL_IF_CONFIG_SMALL(DVAUDIO),
 .props = AV_CODEC_PROP_LOSSY,
 },
 {

___
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits


[libav-commits] codec_desc: group image codecs together

2014-03-14 Thread Vittorio Giovara
Module: libav
Branch: master
Commit: f20977921be5e28829953da7ba2d899f913ab06b

Author:Vittorio Giovara vittorio.giov...@gmail.com
Committer: Vittorio Giovara vittorio.giov...@gmail.com
Date:  Fri Mar 14 01:17:15 2014 +0100

codec_desc: group image codecs together

---

 libavcodec/codec_desc.c |  342 ---
 1 file changed, 172 insertions(+), 170 deletions(-)

diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index c94fe2b..433590e 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -91,28 +91,6 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
 },
 {
-.id= AV_CODEC_ID_LJPEG,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = ljpeg,
-.long_name = NULL_IF_CONFIG_SMALL(Lossless JPEG),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
-},
-{
-.id= AV_CODEC_ID_SP5X,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = sp5x,
-.long_name = NULL_IF_CONFIG_SMALL(Sunplus JPEG (SP5X)),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
-},
-{
-.id= AV_CODEC_ID_JPEGLS,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = jpegls,
-.long_name = NULL_IF_CONFIG_SMALL(JPEG-LS),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
- AV_CODEC_PROP_LOSSLESS,
-},
-{
 .id= AV_CODEC_ID_MPEG4,
 .type  = AVMEDIA_TYPE_VIDEO,
 .name  = mpeg4,
@@ -456,48 +434,6 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .props = AV_CODEC_PROP_LOSSY,
 },
 {
-.id= AV_CODEC_ID_PNG,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = png,
-.long_name = NULL_IF_CONFIG_SMALL(PNG (Portable Network Graphics) 
image),
-.props = AV_CODEC_PROP_LOSSLESS,
-},
-{
-.id= AV_CODEC_ID_PPM,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = ppm,
-.long_name = NULL_IF_CONFIG_SMALL(PPM (Portable PixelMap) image),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
-},
-{
-.id= AV_CODEC_ID_PBM,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = pbm,
-.long_name = NULL_IF_CONFIG_SMALL(PBM (Portable BitMap) image),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
-},
-{
-.id= AV_CODEC_ID_PGM,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = pgm,
-.long_name = NULL_IF_CONFIG_SMALL(PGM (Portable GrayMap) image),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
-},
-{
-.id= AV_CODEC_ID_PGMYUV,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = pgmyuv,
-.long_name = NULL_IF_CONFIG_SMALL(PGMYUV (Portable GrayMap YUV) 
image),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
-},
-{
-.id= AV_CODEC_ID_PAM,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = pam,
-.long_name = NULL_IF_CONFIG_SMALL(PAM (Portable AnyMap) image),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
-},
-{
 .id= AV_CODEC_ID_FFVHUFF,
 .type  = AVMEDIA_TYPE_VIDEO,
 .name  = ffvhuff,
@@ -681,13 +617,6 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .props = AV_CODEC_PROP_LOSSY,
 },
 {
-.id= AV_CODEC_ID_TARGA,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = targa,
-.long_name = NULL_IF_CONFIG_SMALL(Truevision Targa image),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
-},
-{
 .id= AV_CODEC_ID_DSICINVIDEO,
 .type  = AVMEDIA_TYPE_VIDEO,
 .name  = dsicinvideo,
@@ -702,20 +631,6 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .props = AV_CODEC_PROP_LOSSY,
 },
 {
-.id= AV_CODEC_ID_TIFF,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = tiff,
-.long_name = NULL_IF_CONFIG_SMALL(TIFF image),
-.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
-},
-{
-.id= AV_CODEC_ID_GIF,
-.type  = AVMEDIA_TYPE_VIDEO,
-.name  = gif,
-.long_name = NULL_IF_CONFIG_SMALL(GIF (Graphics Interchange Format)),
-.props = AV_CODEC_PROP_LOSSLESS,
-},
-{
 .id= AV_CODEC_ID_DXA,
 .type  = AVMEDIA_TYPE_VIDEO,
 .name  = dxa,
@@ -737,13 +652,6 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
 },
 {
-.id= AV_CODEC_ID_SGI,
-

[libav-commits] configure: Support older version of openjpeg1

2014-03-14 Thread Luca Barbato
Module: libav
Branch: release/10
Commit: b920c1d5ad5cfe74c95b0eaec0e69b074ee9b4c1

Author:Luca Barbato lu_z...@gentoo.org
Committer: Reinhard Tartler siret...@tauware.de
Date:  Wed Mar 12 09:30:07 2014 +

configure: Support older version of openjpeg1

It should work best for debian stable and people not installing the .pc
file.

(cherry picked from commit aa807425395caa17a85ed2833133278e8bd44a76)

---

 configure |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index c6789d5..05acff5 100755
--- a/configure
+++ b/configure
@@ -3938,7 +3938,8 @@ enabled libmp3lame require libmp3lame = 
3.98.3 lame/lame.h lame_set
 enabled libopencore_amrnb  require libopencore_amrnb 
opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb
 enabled libopencore_amrwb  require libopencore_amrwb opencore-amrwb/dec_if.h 
D_IF_init -lopencore-amrwb
 enabled libopencv  require_pkg_config opencv opencv/cv.h 
cvCreateImageHeader
-enabled libopenjpegrequire_pkg_config libopenjpeg1 openjpeg.h 
opj_version
+enabled libopenjpeg{ { check_header openjpeg.h  check_lib2 
openjpeg.h opj_version -lopenjpeg; } ||
+   { require_pkg_config libopenjpeg1 openjpeg.h 
opj_version; } }
 enabled libopusrequire_pkg_config opus opus_multistream.h 
opus_multistream_decoder_create
 enabled libpulse   require_pkg_config libpulse-simple pulse/simple.h 
pa_simple_new
 enabled librtmprequire_pkg_config librtmp librtmp/rtmp.h 
RTMP_Socket

___
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits