Skip to content

Commit 8217a8b

Browse files
committed
Refactor file names
1 parent 709686e commit 8217a8b

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/torchcodec/_core/AVIOBytesContext.cpp renamed to src/torchcodec/_core/AVIOTensorContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// This source code is licensed under the BSD-style license found in the
55
// LICENSE file in the root directory of this source tree.
66

7-
#include "src/torchcodec/_core/AVIOBytesContext.h"
7+
#include "src/torchcodec/_core/AVIOTensorContext.h"
88
#include <torch/types.h>
99

1010
namespace facebook::torchcodec {

src/torchcodec/_core/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function(make_torchcodec_libraries
6565
set(decoder_library_name "libtorchcodec_decoder${ffmpeg_major_version}")
6666
set(decoder_sources
6767
AVIOContextHolder.cpp
68-
AVIOBytesContext.cpp
68+
AVIOTensorContext.cpp
6969
FFMPEGCommon.cpp
7070
Frame.cpp
7171
DeviceInterface.cpp
@@ -102,7 +102,7 @@ function(make_torchcodec_libraries
102102
# 2. Create libtorchcodec_custom_opsN.{ext}.
103103
set(custom_ops_library_name "libtorchcodec_custom_ops${ffmpeg_major_version}")
104104
set(custom_ops_sources
105-
AVIOBytesContext.cpp
105+
AVIOTensorContext.cpp
106106
custom_ops.cpp
107107
)
108108
set(custom_ops_dependencies

src/torchcodec/_core/Encoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <sstream>
22

3-
#include "src/torchcodec/_core/AVIOBytesContext.h"
3+
#include "src/torchcodec/_core/AVIOTensorContext.h"
44
#include "src/torchcodec/_core/Encoder.h"
55
#include "torch/types.h"
66

src/torchcodec/_core/Encoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22
#include <torch/types.h>
3-
#include "src/torchcodec/_core/AVIOBytesContext.h"
3+
#include "src/torchcodec/_core/AVIOTensorContext.h"
44
#include "src/torchcodec/_core/FFMPEGCommon.h"
55
#include "src/torchcodec/_core/StreamOptions.h"
66

src/torchcodec/_core/custom_ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <string>
1111
#include "c10/core/SymIntArrayRef.h"
1212
#include "c10/util/Exception.h"
13-
#include "src/torchcodec/_core/AVIOBytesContext.h"
13+
#include "src/torchcodec/_core/AVIOTensorContext.h"
1414
#include "src/torchcodec/_core/Encoder.h"
1515
#include "src/torchcodec/_core/SingleStreamDecoder.h"
1616

test/VideoDecoderTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// This source code is licensed under the BSD-style license found in the
55
// LICENSE file in the root directory of this source tree.
66

7-
#include "src/torchcodec/_core/AVIOBytesContext.h"
7+
#include "src/torchcodec/_core/AVIOTensorContext.h"
88
#include "src/torchcodec/_core/SingleStreamDecoder.h"
99

1010
#include <c10/util/Flags.h>

0 commit comments

Comments
 (0)