Rosen Penev
6fd143d6a4
sonarlint cleanups
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-12 09:01:53 -07:00
Rosen Penev
22b12012a6
more SonarLint cleanups
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-03-20 08:01:22 -07:00
Kevin Backhouse
244799f480
Convert tail-recursion to loop to avoid stack exhaustion.
2023-03-11 22:47:47 -08:00
Rosen Penev
d1a2cd0b76
clang-tidy: cast initial variable
...
Fixes: bugprone-integer-division
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-11 10:44:20 -08:00
Mohamed Ali Chebbi
bed8d3d93c
rework of aspectRatio calculation for all video formats and rework the decoding of asf tags
2023-02-10 21:55:24 -08:00
Rosen Penev
dee0598edf
clang-tidy fixes for recent stuff
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-09 17:32:27 -08:00
Rosen Penev
b665574634
simplify loop
...
Just use upper
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-09 17:32:18 -08:00
Mohamed Ali Chebbi
db14131262
add test/data for video support : enhance Debug messages
2023-02-06 09:08:42 +01:00
Mohamed Ali Chebbi
ada14ae292
add test/data for video support : use readStraingTag instead of read
2023-02-05 00:26:21 +01:00
Mohamed Ali Chebbi
bf6546ee82
add test/data for video support : restore Riff HeaderReader and reserve addtional byte in readStraingTag
2023-02-05 00:11:03 +01:00
Mohamed Ali Chebbi
acd71894b2
add test/data for video support : delete unused parameter from readList method
2023-02-05 00:01:36 +01:00
Mohamed Ali Chebbi
0f715288e7
add test/data for video support : delete riff HeaderReader
2023-02-04 23:46:18 +01:00
Mohamed Ali Chebbi
19f8b437c3
add test/data for video support : add enforce exceptions
2023-02-04 23:02:45 +01:00
Mohamed Ali Chebbi
7ea32025d6
add test/data for video support : Format issue
2023-02-03 08:50:25 +01:00
Mohamed Ali Chebbi
f9b94d3172
add test/data for video support : windows compilation issue
2023-02-03 08:11:24 +01:00
Mohamed Ali Chebbi
f5e731cd38
add test/data for video support : fix ci issue
2023-02-02 23:49:45 +01:00
Mohamed Ali Chebbi
a36e4dd1e8
Merge branch 'main' into TestVideoData
2023-02-02 16:58:45 +01:00
Mohamed Ali Chebbi
cb7a48f84a
Rework Asf and Riff formats ; add test/data for video support
2023-02-02 16:31:16 +01:00
Rosen Penev
7fd7ee62a3
std::find to find template
...
std::find in C++20 can use ranges, which is equivalent here. Less error
prone.
Namespace is properly to avoid any conflicts with std::find or others
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-27 07:47:18 -08:00
Mohamed Ali Chebbi
bbb3f5afa8
add test/data for video support : gix issue in riff video and reference data test
2023-01-23 01:39:16 +01:00
Mohamed Ali Chebbi
82ea6bef52
add test/data for video support : make asfvideo more readable and fix some issues
2023-01-23 00:21:04 +01:00
Mohamed Ali Chebbi
1bd52de0a9
add test/data for video support : delete filename (unuseful)
2023-01-06 23:44:35 +01:00
Rosen Penev
842ef05ee6
return nullptr instead of reset
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-05 23:29:31 -08:00
Mohamed Ali Chebbi
1c764358bb
Encapsulate video support with compilation variable EXV_ENABLE_VIDEO ( #2448 )
...
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: add variable to unit test files
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: encapsulate in makefile
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: fix PR windows matrix
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: activate only for concerned CI tests
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: desable for linux release
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: add to Fuzz PR
2023-01-04 13:01:34 +01:00
Rosen Penev
d458bf2540
clang-tidy: apply to newly merged stuff
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-03 01:24:04 -08:00
Mohamed Ali Chebbi
d755fc18b5
1748 Video Support in V1.0: part 2/3 : support Riffvideo ( #2415 )
...
* 1748 Video Support in V1.0: part 2/3 : support RiffVideo
* limit the buffer_size
* Update exiv2.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Code Review and cleanUp code
* Update riffvideo.hpp
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-12-31 10:45:45 +01:00
Luis Díaz Más
3eb1eee7fe
Remove deprecated RiffVideo support
2021-04-18 09:44:51 +02:00
Luis Díaz Más
061ec1a75d
Remove deprecated QuickTime support
2021-04-18 09:44:51 +02:00
Robin Mills
d632988bbd
Massive code prolog cleanup.
2021-03-17 13:34:21 +00:00
Luis Diaz Mas
6f8d8e3da6
cleanup header inclusions in API
2019-01-11 15:55:25 +01:00
Dan Čermák
fec6535ae8
[binaryToString] Reimplement using Slices
...
- reimplement binaryToString:
- it now accepts a Slice and nothing else
- it does not return a std::string but instead a proxy object that implements
operator<< (this should be more efficient, as we do not need to touch the
heap in most cases)
- addapt unit tests
- replace all occurences with the new API
2018-10-11 14:06:16 +02:00
Luis Díaz Más
603692a1d8
Copyright to Exiv2 authors
2018-09-12 19:22:31 +02:00
Dan Čermák
5e36363138
Fix double promotion issues
2018-05-16 10:15:53 +02:00
Dan Čermák
bc58752d18
Remove useless casts
...
This commit removes only casts where type A is cast to the exactly same
type (and not to a platform dependent typedefs)
2018-05-16 10:15:53 +02:00
Dan Čermák
efe2ccdcb6
Replaced all hardcoded error codes with ker... constants
2018-02-18 09:28:57 +01:00
tbeu
5b5987a596
Remove obsolete EXIV2_RCSID
2017-11-19 11:17:12 +01:00
tbeu
5df8b01b77
Remove obsolete svn revision
2017-11-19 11:17:11 +01:00
Robin Mills
11993b3b55
#1271 Thanks to Ben for reporting this and providing the patch.
2017-03-15 21:30:55 +00:00
Robin Mills
6d5c2c3256
Getting ready to release v0.26
2017-03-08 20:42:28 +00:00
Andreas Huggel
67aef6117a
Only compile video source code if it is enabled.
2015-06-07 16:29:06 +00:00
Robin Mills
c1933e6882
msvc2005/configure.py fixes discovered by testing configure -vat and configure -Vat (with/without video).
2015-05-08 14:13:56 +00:00
Andreas Huggel
fd80993ab0
Updated copyright notice.
2015-05-02 11:55:40 +00:00
Robin Mills
5aec2c4957
#1069 . Make video a build option (msvc/autotools/cmake). Default is not to build video or webready.
2015-04-30 15:31:18 +00:00
Robin Mills
27ef590773
Roll-back for 3355 (GSoC2013 video write code). Regrettably, this appears to cause all MSVC build to fail our test harness. I'll deal with the video13 code in a different branch.
2014-09-16 08:20:18 +00:00
Robin Mills
66e473db32
GSoC2013 Video Write Code. Thank You, Mahesh for a lot of hard work. And Thanks to Abhinav for mentoring. Great Job, Guys.
2014-09-07 11:59:45 +00:00
Abhinav Badola
09fd874c99
#960 : Added a Buffer Overflow Fix in INFO tags of RIFFVIDEO.CPP
2014-06-19 20:28:44 +00:00
Andreas Huggel
f09fceda6b
Updated copyright year in a few files, version in runner.txt.
2013-12-01 12:13:42 +00:00
Robin Mills
a297d2b69e
Rollback 3089 - somehow it's broken the build!
2013-07-24 05:05:52 +00:00
Robin Mills
da1ed8c536
Bumping the copyright notice in src &samples from 2012 to 2013
2013-07-24 03:12:38 +00:00
Abhinav Badola
9e37b9d17c
#890 : Fixed some possible issues of crashing due to in-efficient management of buffers in riffvideo.cpp
2013-03-26 08:36:01 +00:00