Home
last modified time | relevance | path

Searched refs:pixel_type (Results 1 – 9 of 9) sorted by relevance

/third_party/boost/boost/gil/io/
Drow_buffer_helper.hpp64 using pixel_type = Pixel; typedef
65 using iterator_t = bit_aligned_pixel_iterator<pixel_type>;
68 : _c{( width * pixel_bit_size< pixel_type >::value) >> 3} in row_buffer_helper()
69 , _r{width * pixel_bit_size< pixel_type >::value - (_c << 3)}
120 using pixel_type = Pixel; typedef
121 using iterator_t = bit_aligned_pixel_iterator<pixel_type>;
127 * num_channels< pixel_type >::value in row_buffer_helper()
128 * channel_type< pixel_type >::type::num_bits in row_buffer_helper()
134 * num_channels< pixel_type >::value in row_buffer_helper()
135 * channel_type< pixel_type >::type::num_bits in row_buffer_helper()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavutils.c100 uint8_t pixel_type; /* pixel storage type (see FF_PIXEL_xxx constants) */ member
117 pix_fmt_info[AV_PIX_FMT_YUV420P].pixel_type = FF_PIXEL_PLANAR; in gst_ffmpeg_init_pix_fmt_info()
125 pix_fmt_info[AV_PIX_FMT_YUV422P].pixel_type = FF_PIXEL_PLANAR; in gst_ffmpeg_init_pix_fmt_info()
133 pix_fmt_info[AV_PIX_FMT_YUV444P].pixel_type = FF_PIXEL_PLANAR; in gst_ffmpeg_init_pix_fmt_info()
141 pix_fmt_info[AV_PIX_FMT_YUYV422].pixel_type = FF_PIXEL_PACKED; in gst_ffmpeg_init_pix_fmt_info()
149 pix_fmt_info[AV_PIX_FMT_YUV410P].pixel_type = FF_PIXEL_PLANAR; in gst_ffmpeg_init_pix_fmt_info()
157 pix_fmt_info[AV_PIX_FMT_YUV411P].pixel_type = FF_PIXEL_PLANAR; in gst_ffmpeg_init_pix_fmt_info()
166 pix_fmt_info[AV_PIX_FMT_YUVJ420P].pixel_type = FF_PIXEL_PLANAR; in gst_ffmpeg_init_pix_fmt_info()
174 pix_fmt_info[AV_PIX_FMT_YUVJ422P].pixel_type = FF_PIXEL_PLANAR; in gst_ffmpeg_init_pix_fmt_info()
182 pix_fmt_info[AV_PIX_FMT_YUVJ444P].pixel_type = FF_PIXEL_PLANAR; in gst_ffmpeg_init_pix_fmt_info()
[all …]
/third_party/ffmpeg/libavcodec/
Dexrenc.c76 int pixel_type; member
216 const int64_t element_size = s->pixel_type == EXR_HALF ? 2LL : 4LL; in encode_scanline_rle()
235 switch (s->pixel_type) { in encode_scanline_rle()
274 const int64_t element_size = s->pixel_type == EXR_HALF ? 2LL : 4LL; in encode_scanline_zip()
295 switch (s->pixel_type) { in encode_scanline_zip()
369 bytestream2_put_le32(pb, s->pixel_type); in encode_frame()
447 if (s->pixel_type == EXR_FLOAT) { in encode_frame()
523 …{ "format", "set pixel type", OFFSET(pixel_type), AV_OPT_TYPE_INT, {.i64=EXR_FLOAT}, EXR_HALF, E…
Dexr.c101 enum ExrPixelType pixel_type; member
156 enum ExrPixelType pixel_type; member
638 if (channel->pixel_type == EXR_HALF) in piz_uncompress()
656 if (channel->pixel_type == EXR_HALF) in piz_uncompress()
686 if (s->channels[i].pixel_type == EXR_FLOAT) { in pxr24_uncompress()
688 } else if (s->channels[i].pixel_type == EXR_HALF) { in pxr24_uncompress()
710 switch (channel->pixel_type) { in pxr24_uncompress()
831 if (s->channels[c].pixel_type == EXR_HALF) {/* B44 only compress half float data */ in b44_uncompress()
1131 const float scale = s->pixel_type == EXR_FLOAT ? 2.f : 1.f; in dwa_uncompress()
1353 data_xoffset = FFABS(FFMIN(0, s->xmin + col)) * (s->pixel_type == EXR_HALF ? 2 : 4); in decode_block()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles2/
DSDL_render_gles2.c94 GLenum pixel_type; member
546 data->pixel_type = type; in GLES2_CreateTexture()
702 tdata->pixel_type, in GLES2_UpdateTexture()
719 tdata->pixel_type, in GLES2_UpdateTexture()
735 tdata->pixel_type, in GLES2_UpdateTexture()
780 tdata->pixel_type, in GLES2_UpdateTextureYUV()
790 tdata->pixel_type, in GLES2_UpdateTextureYUV()
800 tdata->pixel_type, in GLES2_UpdateTextureYUV()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/
Dimage_process.h84 bool InitFromPixel(const unsigned char *data, LPixelType pixel_type, LDataType data_type, int w, in…
Dimage_process.cc544 bool InitFromPixel(const unsigned char *data, LPixelType pixel_type, LDataType data_type, int w, in… in InitFromPixel() argument
555 if (pixel_type == LPixelType::RGBA2BGR) { in InitFromPixel()
557 } else if (pixel_type == LPixelType::RGBA2GRAY) { in InitFromPixel()
559 } else if (pixel_type == LPixelType::RGBA2RGB) { in InitFromPixel()
561 } else if (pixel_type == LPixelType::NV212BGR) { in InitFromPixel()
563 } else if (pixel_type == LPixelType::NV122BGR) { in InitFromPixel()
565 } else if (pixel_type == LPixelType::BGR) { in InitFromPixel()
567 } else if (pixel_type == LPixelType::RGB) { in InitFromPixel()
/third_party/ffmpeg/libavfilter/
Dvf_zscale.c472 …format->pixel_type = (desc->flags & AV_PIX_FMT_FLAG_FLOAT) ? ZIMG_PIXEL_FLOAT : desc->comp[0].dept… in format_init()
655 …s->alpha_src_format.pixel_type = (desc->flags & AV_PIX_FMT_FLAG_FLOAT) ? ZIMG_PIXEL_FLOAT : desc->… in filter_frame()
661 …s->alpha_dst_format.pixel_type = (odesc->flags & AV_PIX_FMT_FLAG_FLOAT) ? ZIMG_PIXEL_FLOAT : odesc… in filter_frame()
/third_party/ffmpeg/libavformat/
Davisynth.c270 switch (avs->vi->pixel_type) { in avisynth_create_stream_video()
475 "unknown AviSynth colorspace %d\n", avs->vi->pixel_type); in avisynth_create_stream_video()