Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  FFmpegRuntimeLinker.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef FFmpegRuntimeLinker_h_
#define FFmpegRuntimeLinker_h_

#include "PlatformDecoderModule.h"
#include "PlatformEncoderModule.h"
#include "mozilla/StaticMutex.h"

namespace mozilla {

class FFmpegRuntimeLinker {
 public:
  static bool Init() MOZ_EXCLUDES(sMutex);
  static already_AddRefed<PlatformDecoderModule> CreateDecoder();
  static already_AddRefed<PlatformEncoderModule> CreateEncoder();
  enum LinkStatus {
    LinkStatus_INIT = 0,   // Never been linked.
    LinkStatus_SUCCEEDED,  // Found a usable library.
    // The following error statuses are sorted from most to least preferred
    // (i.e., if more than one happens, the top one is chosen.)
    LinkStatus_INVALID_FFMPEG_CANDIDATE,  // Found ffmpeg with unexpected
                                          // contents.
    LinkStatus_UNUSABLE_LIBAV57,         // Found LibAV 57, which we cannot use.
    LinkStatus_INVALID_LIBAV_CANDIDATE,  // Found libav with unexpected
                                         // contents.
    LinkStatus_OBSOLETE_FFMPEG,
    LinkStatus_OBSOLETE_LIBAV,
    LinkStatus_INVALID_CANDIDATE,  // Found some lib with unexpected contents.
    LinkStatus_NOT_FOUND,  // Haven't found any library with an expected name.
  };
  static LinkStatus LinkStatusCode() {
    StaticMutexAutoLock lock(sMutex);
    return sLinkStatus;
  }
  static const char* LinkStatusString();
  // Library name to which the sLinkStatus applies, or "" if not applicable.
  static const char* LinkStatusLibraryName() {
    StaticMutexAutoLock lock(sMutex);
    return sLinkStatusLibraryName;
  }

 private:
  static void PrefCallbackLogLevel(const char* aPref, void* aData);

  static StaticMutex sMutex;
  static LinkStatus sLinkStatus MOZ_GUARDED_BY(sMutex);
  static const char* sLinkStatusLibraryName MOZ_GUARDED_BY(sMutex);
};

}  // namespace mozilla

#endif  // FFmpegRuntimeLinker_h_

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002