Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03k
1/*!2 Copyright 2013 Lovell Fuller and others.3 SPDX-License-Identifier: Apache-2.04*/5 6#ifndef SRC_METADATA_H_7#define SRC_METADATA_H_8 9#include <string>10#include <vector>11#include <napi.h>12 13#include "./common.h"14 15typedef std::vector<std::pair<std::string, std::string>> MetadataComments;16 17struct MetadataBaton {18 // Input19 sharp::InputDescriptor *input;20 // Output21 std::string format;22 std::string mediaType;23 int width;24 int height;25 std::string space;26 int channels;27 std::string depth;28 int density;29 std::string chromaSubsampling;30 bool isProgressive;31 bool isPalette;32 int bitsPerSample;33 int pages;34 int pageHeight;35 int loop;36 std::vector<int> delay;37 int pagePrimary;38 std::string compression;39 std::string resolutionUnit;40 std::string formatMagick;41 std::vector<std::pair<int, int>> levels;42 int subifds;43 std::vector<double> background;44 bool hasProfile;45 bool hasAlpha;46 int orientation;47 char *exif;48 size_t exifLength;49 char *icc;50 size_t iccLength;51 char *iptc;52 size_t iptcLength;53 char *xmp;54 size_t xmpLength;55 char *tifftagPhotoshop;56 size_t tifftagPhotoshopLength;57 char *gainMap;58 size_t gainMapLength;59 MetadataComments comments;60 std::string err;61 62 MetadataBaton():63 input(nullptr),64 width(0),65 height(0),66 channels(0),67 density(0),68 isProgressive(false),69 isPalette(false),70 bitsPerSample(0),71 pages(0),72 pageHeight(0),73 loop(-1),74 pagePrimary(-1),75 subifds(0),76 hasProfile(false),77 hasAlpha(false),78 orientation(0),79 exif(nullptr),80 exifLength(0),81 icc(nullptr),82 iccLength(0),83 iptc(nullptr),84 iptcLength(0),85 xmp(nullptr),86 xmpLength(0),87 tifftagPhotoshop(nullptr),88 tifftagPhotoshopLength(0),89 gainMap(nullptr),90 gainMapLength(0) {}91};92 93Napi::Value metadata(const Napi::CallbackInfo& info);94 95#endif // SRC_METADATA_H_96 