@@ -94,7 +94,7 @@ OpsBatchDecodedOutput makeOpsBatchDecodedOutput(
94
94
// Implementations for the operators
95
95
// ==============================
96
96
97
- at::Tensor create_from_file (c10 ::string_view filename) {
97
+ at::Tensor create_from_file (std ::string_view filename) {
98
98
std::string filenameStr (filename);
99
99
std::unique_ptr<VideoDecoder> uniqueDecoder =
100
100
VideoDecoder::createFromFilePath (filenameStr);
@@ -121,9 +121,9 @@ void add_video_stream(
121
121
std::optional<int64_t > width,
122
122
std::optional<int64_t > height,
123
123
std::optional<int64_t > num_threads,
124
- std::optional<c10 ::string_view> dimension_order,
124
+ std::optional<std ::string_view> dimension_order,
125
125
std::optional<int64_t > stream_index,
126
- std::optional<c10 ::string_view> device) {
126
+ std::optional<std ::string_view> device) {
127
127
_add_video_stream (
128
128
decoder,
129
129
width,
@@ -139,10 +139,10 @@ void _add_video_stream(
139
139
std::optional<int64_t > width,
140
140
std::optional<int64_t > height,
141
141
std::optional<int64_t > num_threads,
142
- std::optional<c10 ::string_view> dimension_order,
142
+ std::optional<std ::string_view> dimension_order,
143
143
std::optional<int64_t > stream_index,
144
- std::optional<c10 ::string_view> device,
145
- std::optional<c10 ::string_view> color_conversion_library) {
144
+ std::optional<std ::string_view> device,
145
+ std::optional<std ::string_view> color_conversion_library) {
146
146
VideoDecoder::VideoStreamDecoderOptions options;
147
147
options.width = width;
148
148
options.height = height;
0 commit comments