~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/src/video/libav_utils.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *  Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
 
2
 *  Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
3
3
 *  Author: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
4
4
 *
5
5
 *  This program is free software; you can redistribute it and/or modify
35
35
#include <map>
36
36
#include <string>
37
37
 
 
38
 
38
39
namespace libav_utils {
39
 
    void
40
 
    sfl_avcodec_init();
41
 
 
42
 
    std::map<std::string, std::string>
43
 
    encodersMap();
44
 
 
45
 
    std::vector<std::string>
46
 
    getVideoCodecList();
47
 
 
48
 
    std::vector<std::map<std::string, std::string> >
49
 
    getDefaultCodecs();
 
40
    void sfl_avcodec_init();
 
41
 
 
42
    int libav_pixel_format(int fmt);
 
43
    int sfl_pixel_format(int fmt);
 
44
 
 
45
    std::map<std::string, std::string> encodersMap();
 
46
 
 
47
    std::vector<std::string> getVideoCodecList();
 
48
 
 
49
    std::vector<std::map <std::string, std::string> > getDefaultCodecs();
 
50
 
50
51
    const char *const DEFAULT_H264_PROFILE_LEVEL_ID = "profile-level-id=428014";
51
52
    const char *const MAX_H264_PROFILE_LEVEL_ID = "profile-level-id=640034";
 
53
 
 
54
    void sfl_url_split(const char *url,
 
55
                      char *hostname, size_t hostname_size, int *port,
 
56
                      char *path, size_t path_size);
52
57
}
53
58
 
54
59
#endif // __LIBAV_UTILS_H__