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