Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
18a1d411
Unverified
Commit
18a1d411
authored
Mar 20, 2024
by
Nicolas Hug
Committed by
GitHub
Mar 20, 2024
Browse files
[FBcode->GH] [codemod] Remove "using namespace" dep (#8334)
Co-authored-by:
Richard Barnes
<
rbarnes@meta.com
>
parent
ef2920cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
torchvision/csrc/io/video/video.cpp
torchvision/csrc/io/video/video.cpp
+2
-0
torchvision/csrc/io/video/video.h
torchvision/csrc/io/video/video.h
+4
-4
No files found.
torchvision/csrc/io/video/video.cpp
View file @
18a1d411
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
#include <regex>
#include <regex>
using
namespace
ffmpeg
;
namespace
vision
{
namespace
vision
{
namespace
video
{
namespace
video
{
...
...
torchvision/csrc/io/video/video.h
View file @
18a1d411
...
@@ -64,12 +64,12 @@ struct Video : torch::CustomClassHolder {
...
@@ -64,12 +64,12 @@ struct Video : torch::CustomClassHolder {
std
::
map
<
std
::
string
,
std
::
vector
<
double
>>
streamTimeBase
;
// not used
std
::
map
<
std
::
string
,
std
::
vector
<
double
>>
streamTimeBase
;
// not used
DecoderInCallback
callback
=
nullptr
;
ffmpeg
::
DecoderInCallback
callback
=
nullptr
;
std
::
vector
<
DecoderMetadata
>
metadata
;
std
::
vector
<
ffmpeg
::
DecoderMetadata
>
metadata
;
protected:
protected:
SyncDecoder
decoder
;
ffmpeg
::
SyncDecoder
decoder
;
DecoderParameters
params
;
ffmpeg
::
DecoderParameters
params
;
};
// struct Video
};
// struct Video
...
...
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