Lines Matching defs:image

166   int tiled;      // tile format image
168 int non_image; // deep image(EXR 2.0)
198 unsigned char **images; // image[channels][pixels]
251 EXRTile *tiles; // Tiled pixel data. The application must reconstruct image
253 unsigned char **images; // image[channels][pixels]. NULL if tiled format.
272 float ***image; // image[channels][scanlines][samples]
281 // Loads single-frame OpenEXR image. Assume EXR image contains A(single channel
283 // Application must free image data as returned by `out_rgba`
284 // Result image format is: float x RGBA x width x hight
290 // Loads single-frame OpenEXR image by specifing layer name. Assume EXR image contains A(single channel
292 // Application must free image data as returned by `out_rgba`
293 // Result image format is: float x RGBA x width x hight
314 // @return TINYEXR_SUCCEES for EXR image, TINYEXR_ERROR_INVALID_HEADER for
319 // Saves single-frame OpenEXR image. Assume EXR image contains RGB(A) channels.
321 // Input image format is: `float x width x height`, or `float x RGB(A) x width x
323 // Save image as fp16(HALF) format when `save_as_fp16` is positive non-zero
325 // Save image as fp32(FLOAT) format when `save_as_fp16` is 0.
389 // Loads single-part OpenEXR image from a file.
396 extern int LoadEXRImageFromFile(EXRImage *image, const EXRHeader *header,
399 // Loads single-part OpenEXR image from a memory.
407 extern int LoadEXRImageFromMemory(EXRImage *image, const EXRHeader *header,
411 // Loads multi-part OpenEXR image from a file.
425 // Loads multi-part OpenEXR image from a memory.
439 // Saves multi-channel, single-frame OpenEXR image to a file.
444 extern int SaveEXRImageToFile(const EXRImage *image,
448 // Saves multi-channel, single-frame OpenEXR image to a memory.
455 extern size_t SaveEXRImageToMemory(const EXRImage *image,
459 // Loads single-frame OpenEXR deep image.
460 // Application must free memory of variables in DeepImage(image, offset_table)
469 // Saves single-frame OpenEXR deep image.
476 // Loads multi-part OpenEXR deep image.
477 // Application must free memory of variables in DeepImage(image, offset_table)
483 // Loads single-frame OpenEXR image from memory. Assume EXR image contains
650 - Added example6.c, which dumps an image of the mandelbrot set to a PNG
786 to disk and builds an exact image of the central directory in memory. The
787 central directory image is written
1755 // Compresses an image to a compressed PNG file in memory.
1757 // pImage, w, h, and num_chans describe the image to compress. num_chans may be
1759 // The image pitch in bytes per scanline will be w*num_chans. The leftmost
1763 // If flip is true, the image will be flipped on the Y axis (useful for OpenGL
1767 // *pLen_out will be set to the size of the PNG image file.
4526 // compress image data
7964 // PIZ image file format.
8271 // by Christian Rouet for his PIZ image file format.
9752 unsigned short *image =
9755 image += (static_cast<size_t>(line_no) + v) *
9759 image += static_cast<size_t>(
9764 *image = hf.u;
9767 float *image = reinterpret_cast<float **>(out_images)[c];
9779 image += offset;
9780 *image = f32.f;
9798 unsigned int *image =
9801 image += (static_cast<size_t>(line_no) + v) *
9805 image += static_cast<size_t>(
9810 *image = val;
9826 float *image = reinterpret_cast<float **>(out_images)[c];
9828 image += (static_cast<size_t>(line_no) + v) *
9832 image += static_cast<size_t>(
9837 *image = val;
9890 unsigned short *image =
9893 image += (static_cast<size_t>(line_no) + v) *
9897 image += (static_cast<size_t>(height) - 1U -
9902 *image = hf.u;
9905 float *image = reinterpret_cast<float **>(out_images)[c];
9917 image += offset;
9919 *image = f32.f;
9937 unsigned int *image =
9940 image += (static_cast<size_t>(line_no) + v) *
9944 image += (static_cast<size_t>(height) - 1U -
9949 *image = val;
9965 float *image = reinterpret_cast<float **>(out_images)[c];
9967 image += (static_cast<size_t>(line_no) + v) *
9971 image += (static_cast<size_t>(height) - 1U -
9976 *image = val;
10027 unsigned short *image =
10030 image += (static_cast<size_t>(line_no) + v) *
10034 image += (static_cast<size_t>(height) - 1U -
10039 *image = hf.u;
10042 float *image = reinterpret_cast<float **>(out_images)[c];
10044 image += (static_cast<size_t>(line_no) + v) *
10048 image += (static_cast<size_t>(height) - 1U -
10053 *image = f32.f;
10071 unsigned int *image =
10074 image += (static_cast<size_t>(line_no) + v) *
10078 image += (static_cast<size_t>(height) - 1U -
10083 *image = val;
10099 float *image = reinterpret_cast<float **>(out_images)[c];
10101 image += (static_cast<size_t>(line_no) + v) *
10105 image += (static_cast<size_t>(height) - 1U -
10110 *image = val;
10163 float *image = reinterpret_cast<float **>(out_images)[c];
10165 image += (static_cast<size_t>(line_no) + v) *
10169 image += (static_cast<size_t>(height) - 1U -
10174 *image = val;
10325 // Compute actual image size in a tile.
10388 // Alloc internal image for half type.
11020 // Don't allow too large image(256GB * pixel_data_size or more). Workaround
11854 // TODO(syoyo): Support non RGBA image.
12745 std::vector<float> image(
12782 deep_image->image = static_cast<float ***>(
12785 deep_image->image[c] = static_cast<float **>(
12896 // pixel data is stored as image[channels][pixel_samples]
12901 deep_image->image[c][y] = static_cast<float *>(
12910 deep_image->image[c][y][x] = static_cast<float>(ui); // @fixme
12921 deep_image->image[c][y][x] = f32.f;
12930 deep_image->image[c][y][x] = f;
13252 version->non_image = true; // (deep image)
13329 // In multipart image, There is 'part number' before chunk data.
13362 // Decode image.
13452 // No compression for small image.
13458 EXRImage image;
13459 InitEXRImage(&image);
13461 image.num_channels = components;
13499 image.images = reinterpret_cast<unsigned char **>(image_ptr);
13500 image.width = width;
13501 image.height = height;
13551 TINYEXR_PIXELTYPE_FLOAT; // pixel type of input image
13563 int ret = SaveEXRImageToFile(&image, &header, outfilename, err);