Exiv2
utilsvideo.hpp
1// ***************************************************************** -*- C++ -*-
2/*
3 * Copyright (C) 2004-2021 Exiv2 authors
4 * This program is part of the Exiv2 distribution.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
19 */
20
21#ifndef UTILSVIDEO_HPP_
22#define UTILSVIDEO_HPP_
23
24#include "exiv2lib_export.h"
25#include "exif.hpp"
26
27namespace Exiv2
28{
29
33 class EXIV2LIB_DEPRECATED_EXPORT UtilsVideo
34 {
35 public:
42 static bool compareTagValue(Exiv2::DataBuf &buf, const char *str);
43
51 static bool compareTagValue(Exiv2::DataBuf& buf,const char arr[][5],int32_t arraysize);
52
60 static bool simpleBytesComparison(Exiv2::DataBuf& buf ,const char* str,int32_t size);
61 }; // class UtilsVideo
62
63} // namespace Exiv2
64
65#endif // #ifndef UTILSVIDEO_HPP_
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:193
Class of utility functions used by the video code.
Definition: utilsvideo.hpp:34
static bool compareTagValue(Exiv2::DataBuf &buf, const char arr[][5], int32_t arraysize)
compare a buffer and an array of strings
static bool compareTagValue(Exiv2::DataBuf &buf, const char *str)
compare a buffer and string
static bool simpleBytesComparison(Exiv2::DataBuf &buf, const char *str, int32_t size)
compare a buffer and string
Encoding and decoding of Exif data.
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36