Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
305b9a25
Commit
305b9a25
authored
Apr 06, 2012
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restored resolution in big video writer test
parent
0f1f7b0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
test_ffmpeg.cpp
modules/highgui/test/test_ffmpeg.cpp
+4
-10
No files found.
modules/highgui/test/test_ffmpeg.cpp
View file @
305b9a25
...
@@ -55,11 +55,11 @@ class CV_FFmpegWriteBigVideoTest : public cvtest::BaseTest
...
@@ -55,11 +55,11 @@ class CV_FFmpegWriteBigVideoTest : public cvtest::BaseTest
public
:
public
:
void
run
(
int
)
void
run
(
int
)
{
{
const
int
img_r
=
4
80
;
const
int
img_r
=
4
096
;
const
int
img_c
=
640
;
const
int
img_c
=
4096
;
Size
frame_s
=
Size
(
img_c
,
img_r
);
Size
frame_s
=
Size
(
img_c
,
img_r
);
const
double
fps
=
30
;
const
double
fps
=
15
;
const
double
time_sec
=
2
;
const
double
time_sec
=
1
;
const
int
coeff
=
static_cast
<
int
>
(
static_cast
<
double
>
(
cv
::
min
(
img_c
,
img_r
))
/
(
fps
*
time_sec
));
const
int
coeff
=
static_cast
<
int
>
(
static_cast
<
double
>
(
cv
::
min
(
img_c
,
img_r
))
/
(
fps
*
time_sec
));
const
size_t
n
=
sizeof
(
codec_bmp_tags
)
/
sizeof
(
codec_bmp_tags
[
0
]);
const
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write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment