Skip to content

Commit 23e014b

Browse files
committed
vcomp/gpujpeg: IWYU
(removed initilizer_list)
1 parent af1f6e4 commit 23e014b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

src/video_compress/gpujpeg.cpp

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,29 +37,41 @@
3737

3838
#include <algorithm>
3939
#include <cassert>
40+
#include <cctype> // for isdigit
4041
#include <condition_variable>
42+
#include <cstdint> // for uint8_t, uint32_t
43+
#include <cstdio> // for printf
44+
#include <cstdlib> // for atoi, abort, free, EXIT_FAILURE
4145
#include <cstring>
42-
#include <initializer_list>
4346
#include <libgpujpeg/gpujpeg_common.h>
4447
#include <libgpujpeg/gpujpeg_encoder.h>
48+
#include <libgpujpeg/gpujpeg_type.h> // for gpujpeg_color_space, gpujpeg...
4549
#include <libgpujpeg/gpujpeg_version.h>
4650
#include <map>
4751
#include <memory>
4852
#include <mutex>
53+
#include <ostream> // for operator<<, basic_ostream
4954
#include <set>
55+
#include <string> // for basic_string, char_traits
5056
#include <thread>
57+
#include <utility> // for move
5158
#include <vector>
5259

60+
#include "compat/strings.h" // IWYU pragma: keep // for strcasecmp
61+
// IWYU pragma: no_include <strings.h> # via compact/strings.h
5362
#include "debug.h"
5463
#include "host.h"
5564
#include "lib_common.h"
65+
#include "pixfmt_conv.h" // for decoder_t, get_best_decoder_...
5666
#include "tv.h"
67+
#include "types.h" // for video_desc, video_frame, tile
5768
#include "utils/color_out.h"
5869
#include "utils/macros.h"
5970
#include "utils/synchronized_queue.h"
6071
#include "utils/video_frame_pool.h"
61-
#include "video.h"
72+
#include "video_codec.h" // for codec_is_a_rgb, get_codec_name
6273
#include "video_compress.h"
74+
#include "video_frame.h" // for vf_get_tile, vf_restore_meta...
6375

6476
#ifndef GPUJPEG_VERSION_INT
6577
#error "Old GPUJPEG API detected!"
@@ -84,8 +96,6 @@ using std::unique_ptr;
8496
using std::vector;
8597

8698
namespace {
87-
struct state_video_compress_gpujpeg;
88-
8999
/**
90100
* @brief state for single instance of encoder running on one GPU
91101
*/

0 commit comments

Comments
 (0)