Searched defs:compression_type (Results 1 - 25 of 34) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
H A Dtf_record_reader_op.cc30 TFRecordReader(const string& node_name, const string& compression_type, argument
35 compression_type_(compression_type) {}
89 string compression_type; local
91 context->GetAttr("compression_type", &compression_type));
93 SetReaderFactory([this, compression_type, env]() {
94 return new TFRecordReader(name(), compression_type, env);
H A Drecord_yielder.h82 string compression_type; member in struct:tensorflow::RecordYielder::Options
/external/tensorflow/tensorflow/core/lib/io/
H A Drecord_writer.h37 CompressionType compression_type = NONE; member in class:tensorflow::io::RecordWriterOptions
40 const string& compression_type);
H A Drecord_writer.cc27 return options.compression_type == RecordWriterOptions::ZLIB_COMPRESSION;
32 const string& compression_type) {
34 if (compression_type == "ZLIB") {
35 options.compression_type = io::RecordWriterOptions::ZLIB_COMPRESSION;
37 LOG(ERROR) << "Compression is not supported but compression_type is set."
42 } else if (compression_type == compression::kGzip) {
43 options.compression_type = io::RecordWriterOptions::ZLIB_COMPRESSION;
45 LOG(ERROR) << "Compression is not supported but compression_type is set."
50 } else if (compression_type != compression::kNone) {
51 LOG(ERROR) << "Unsupported compression_type
31 CreateRecordWriterOptions( const string& compression_type) argument
[all...]
H A Drecord_reader.cc32 const string& compression_type) {
34 if (compression_type == "ZLIB") {
35 options.compression_type = io::RecordReaderOptions::ZLIB_COMPRESSION;
37 LOG(ERROR) << "Compression is not supported but compression_type is set."
42 } else if (compression_type == compression::kGzip) {
43 options.compression_type = io::RecordReaderOptions::ZLIB_COMPRESSION;
45 LOG(ERROR) << "Compression is not supported but compression_type is set."
50 } else if (compression_type != compression::kNone) {
51 LOG(ERROR) << "Unsupported compression_type:" << compression_type
31 CreateRecordReaderOptions( const string& compression_type) argument
[all...]
H A Drecord_reader.h38 CompressionType compression_type = NONE; member in class:tensorflow::io::RecordReaderOptions
46 const string& compression_type);
/external/bsdiff/
H A Dpatch_reader.cc38 std::vector<CompressorType> compression_type; local
41 compression_type = {CompressorType::kBZ2, CompressorType::kBZ2,
53 compression_type.push_back(CompressorType::kBZ2);
56 compression_type.push_back(CompressorType::kBrotli);
83 ctrl_stream_ = CreateDecompressor(compression_type[0]);
84 diff_stream_ = CreateDecompressor(compression_type[1]);
85 extra_stream_ = CreateDecompressor(compression_type[2]);
/external/libpng/contrib/examples/
H A Diccfrompng.c68 int compression_type; local
71 if (png_get_iCCP(png_ptr, info_ptr, &name, &compression_type, &profile,
/external/libpng/contrib/oss-fuzz/
H A Dlibpng_read_fuzzer.cc150 int bit_depth, color_type, interlace_type, compression_type; local
155 &compression_type, &filter_type)) {
/external/tensorflow/tensorflow/core/kernels/data/
H A Dreader_dataset_ops.cc43 string compression_type; variable
44 OP_REQUIRES_OK(ctx, ParseScalarArgument<string>(ctx, "compression_type",
45 &compression_type));
56 if (compression_type == "ZLIB") {
58 } else if (compression_type == "GZIP") {
61 OP_REQUIRES(ctx, compression_type.empty(),
62 errors::InvalidArgument("Unsupported compression_type."));
76 *output = new Dataset(ctx, std::move(filenames), compression_type,
84 const string& compression_type,
88 compression_type_(compression_type),
83 Dataset(OpKernelContext* ctx, std::vector<string> filenames, const string& compression_type, const io::ZlibCompressionOptions& options) argument
115 Node* compression_type = nullptr; variable
516 string compression_type; variable
534 Dataset(OpKernelContext* ctx, std::vector<string> filenames, const string& compression_type, int64 buffer_size) argument
570 Node* compression_type = nullptr; variable
[all...]
/external/libpng/
H A Dpnginfo.h68 png_byte compression_type; /* must be PNG_COMPRESSION_TYPE_BASE (IHDR) */ member in struct:png_info_def
H A Dpngget.c109 return info_ptr->compression_type;
737 png_charpp name, int *compression_type,
744 name != NULL && compression_type != NULL && profile != NULL &&
753 *compression_type = PNG_COMPRESSION_TYPE_BASE;
826 int *color_type, int *interlace_type, int *compression_type,
846 if (compression_type != NULL)
847 *compression_type = info_ptr->compression_type;
862 info_ptr->compression_type, info_ptr->filter_type);
736 png_get_iCCP(png_const_structrp png_ptr, png_inforp info_ptr, png_charpp name, int *compression_type, png_bytepp profile, png_uint_32 *proflen) argument
824 png_get_IHDR(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type) argument
H A Dpngrutil.c843 int bit_depth, color_type, compression_type, filter_type; local
864 compression_type = buf[10];
877 png_ptr->compression_type = (png_byte)compression_type;
908 color_type, interlace_type, compression_type, filter_type);
H A Dpngset.c256 int color_type, int interlace_type, int compression_type,
268 info_ptr->compression_type = (png_byte)compression_type;
274 info_ptr->compression_type, info_ptr->filter_type);
689 png_const_charp name, int compression_type,
701 if (compression_type != PNG_COMPRESSION_TYPE_BASE)
254 png_set_IHDR(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument
688 png_set_iCCP(png_const_structrp png_ptr, png_inforp info_ptr, png_const_charp name, int compression_type, png_const_bytep profile, png_uint_32 proflen) argument
H A Dpngstruct.h428 png_byte compression_type; member in struct:png_struct_def
H A Dpngtest.c1086 int interlace_type, compression_type, filter_type; local
1089 &color_type, &interlace_type, &compression_type, &filter_type) != 0)
1092 color_type, interlace_type, compression_type, filter_type);
1167 int compression_type; local
1169 if (png_get_iCCP(read_ptr, read_info_ptr, &name, &compression_type,
1172 png_set_iCCP(write_ptr, write_info_ptr, name, compression_type,
/external/pdfium/third_party/libpng16/
H A Dpnginfo.h68 png_byte compression_type; /* must be PNG_COMPRESSION_TYPE_BASE (IHDR) */ member in struct:png_info_def
H A Dpngget.c109 return info_ptr->compression_type;
737 png_charpp name, int *compression_type,
744 name != NULL && compression_type != NULL && profile != NULL &&
753 *compression_type = PNG_COMPRESSION_TYPE_BASE;
797 int *color_type, int *interlace_type, int *compression_type,
817 if (compression_type != NULL)
818 *compression_type = info_ptr->compression_type;
833 info_ptr->compression_type, info_ptr->filter_type);
736 png_get_iCCP(png_const_structrp png_ptr, png_inforp info_ptr, png_charpp name, int *compression_type, png_bytepp profile, png_uint_32 *proflen) argument
795 png_get_IHDR(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type) argument
H A Dpngset.c209 int color_type, int interlace_type, int compression_type,
221 info_ptr->compression_type = (png_byte)compression_type;
227 info_ptr->compression_type, info_ptr->filter_type);
640 png_const_charp name, int compression_type,
652 if (compression_type != PNG_COMPRESSION_TYPE_BASE)
207 png_set_IHDR(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument
639 png_set_iCCP(png_const_structrp png_ptr, png_inforp info_ptr, png_const_charp name, int compression_type, png_const_bytep profile, png_uint_32 proflen) argument
/external/vboot_reference/firmware/stub/
H A Dvboot_api_stub.c83 uint32_t compression_type,
82 VbExDecompress(void *inbuf, uint32_t in_size, uint32_t compression_type, void *outbuf, uint32_t *out_size) argument
/external/vboot_reference/tests/
H A Dvboot_region_tests.c165 uint32_t compression_type,
164 VbExDecompress(void *inbuf, uint32_t in_size, uint32_t compression_type, void *outbuf, uint32_t *out_size) argument
/external/pdfium/testing/image_diff/
H A Dimage_diff_png.cpp184 int bit_depth, color_type, interlace_type, compression_type; local
188 &interlace_type, &compression_type, &filter_type);
/external/syslinux/com32/lib/libpng/
H A Dpng.c962 int color_type, int interlace_type, int compression_type,
1050 if (compression_type != PNG_COMPRESSION_TYPE_BASE)
960 png_check_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument
H A Dpngget.c112 return info_ptr->compression_type;
525 png_charpp name, int *compression_type,
539 *compression_type = (int)info_ptr->iccp_compression;
579 int *color_type, int *interlace_type, int *compression_type,
594 if (compression_type != NULL)
595 *compression_type = info_ptr->compression_type;
610 info_ptr->compression_type, info_ptr->filter_type);
524 png_get_iCCP(png_structp png_ptr, png_infop info_ptr, png_charpp name, int *compression_type, png_charpp profile, png_uint_32 *proflen) argument
577 png_get_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type) argument
H A Dpngset.c229 int color_type, int interlace_type, int compression_type,
241 info_ptr->compression_type = (png_byte)compression_type;
247 info_ptr->compression_type, info_ptr->filter_type);
595 png_charp name, int compression_type,
633 info_ptr->iccp_compression = (png_byte)compression_type;
227 png_set_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument
594 png_set_iCCP(png_structp png_ptr, png_infop info_ptr, png_charp name, int compression_type, png_charp profile, png_uint_32 proflen) argument

Completed in 1930 milliseconds

12