Unverified Commit d8eb22db authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Renamed files (#3308)


Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
parent 5b663c8e
#include "read_image_cpu.h" #include "read_image_impl.h"
#include "readjpeg_cpu.h" #include "readjpeg_impl.h"
#include "readpng_cpu.h" #include "readpng_impl.h"
torch::Tensor decode_image(const torch::Tensor& data, ImageReadMode mode) { torch::Tensor decode_image(const torch::Tensor& data, ImageReadMode mode) {
// Check that the input tensor dtype is uint8 // Check that the input tensor dtype is uint8
......
#include "read_write_file_cpu.h" #include "read_write_file_impl.h"
#ifdef _WIN32 #ifdef _WIN32
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
......
#include "readjpeg_cpu.h" #include "readjpeg_impl.h"
#if !JPEG_FOUND #if !JPEG_FOUND
torch::Tensor decodeJPEG(const torch::Tensor& data, ImageReadMode mode) { torch::Tensor decodeJPEG(const torch::Tensor& data, ImageReadMode mode) {
......
#include "readpng_cpu.h" #include "readpng_impl.h"
#if !PNG_FOUND #if !PNG_FOUND
torch::Tensor decodePNG(const torch::Tensor& data, ImageReadMode mode) { torch::Tensor decodePNG(const torch::Tensor& data, ImageReadMode mode) {
......
#include "writejpeg_cpu.h" #include "writejpeg_impl.h"
#if !JPEG_FOUND #if !JPEG_FOUND
......
#include "writejpeg_cpu.h" #include "writejpeg_impl.h"
#if !PNG_FOUND #if !PNG_FOUND
......
#pragma once #pragma once
#include "cpu/read_image_cpu.h" #include "cpu/read_image_impl.h"
#include "cpu/read_write_file_cpu.h" #include "cpu/read_write_file_impl.h"
#include "cpu/readjpeg_cpu.h" #include "cpu/readjpeg_impl.h"
#include "cpu/readpng_cpu.h" #include "cpu/readpng_impl.h"
#include "cpu/writejpeg_cpu.h" #include "cpu/writejpeg_impl.h"
#include "cpu/writepng_cpu.h" #include "cpu/writepng_impl.h"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment