Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/gfx/skia/skia/src/core/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  SkYUVPlanesCache.h

  Sprache: C
 

/*
 * Copyright 2015 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */


#ifndef SkYUVPlanesCache_DEFINED
#define SkYUVPlanesCache_DEFINED

#include "include/core/SkTypes.h"

#include <cstdint>

class SkCachedData;
class SkResourceCache;
class SkYUVAPixmaps;

class SkYUVPlanesCache {
public:
    /**
     * On success, return a ref to the SkCachedData that holds the pixel data. The SkYUVAPixmaps
     * contains a description of the YUVA data and has a SkPixmap for each plane that points
     * into the SkCachedData.
     *
     * On failure, return nullptr.
     */

    static SkCachedData* FindAndRef(uint32_t genID,
                                    SkYUVAPixmaps* pixmaps,
                                    SkResourceCache* localCache = nullptr);

    /**
     * Add a pixelRef ID and its YUV planes data to the cache. The SkYUVAPixmaps should contain
     * SkPixmaps that store their pixel data in the SkCachedData.
     */

    static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
                    SkResourceCache* localCache = nullptr);
};

#endif

Messung V0.5 in Prozent
C=91 H=99 G=94

¤ Dauer der Verarbeitung: 0.11 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.