Home
last modified time | relevance | path

Searched refs:alpha_bits (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dproresenc_kostya.c258 int alpha_bits; member
518 const int abits = ctx->alpha_bits; in encode_alpha_plane()
617 ctx->blocks[0], mbs_per_slice, ctx->alpha_bits); in encode_slice()
753 const int abits = ctx->alpha_bits; in estimate_alpha_plane()
810 int alpha_bits = 0; in find_slice_quant() local
847 td->blocks[i], mbs_per_slice, ctx->alpha_bits); in find_slice_quant()
856 if (ctx->alpha_bits) in find_slice_quant()
857 alpha_bits = estimate_alpha_plane(ctx, src, linesize[3], in find_slice_quant()
861 bits = alpha_bits; in find_slice_quant()
868 for (i = 1; i < ctx->num_planes - !!ctx->alpha_bits; i++) { /* estimate chroma plane */ in find_slice_quant()
[all …]
Dlibjxldec.c99 format->num_channels = basic_info->num_color_channels + (basic_info->alpha_bits > 0); in libjxl_get_pix_fmt()
104 return basic_info->alpha_bits ? AV_PIX_FMT_YA8 : AV_PIX_FMT_GRAY8; in libjxl_get_pix_fmt()
107 if (basic_info->alpha_bits) in libjxl_get_pix_fmt()
113 return basic_info->alpha_bits ? AV_PIX_FMT_YA16 : AV_PIX_FMT_GRAY16; in libjxl_get_pix_fmt()
120 return basic_info->alpha_bits ? AV_PIX_FMT_RGBA : AV_PIX_FMT_RGB24; in libjxl_get_pix_fmt()
127 return basic_info->alpha_bits ? AV_PIX_FMT_RGBA64 : AV_PIX_FMT_RGB48; in libjxl_get_pix_fmt()
Dlibjxlenc.c273 info.alpha_bits = (info.num_extra_channels > 0) * info.bits_per_sample; in libjxl_encode_frame()
276 info.alpha_exponent_bits = info.alpha_bits ? info.exponent_bits_per_sample : 0; in libjxl_encode_frame()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c204 int alpha_bits; in driCreateConfigs() local
267 alpha_bits = _mesa_get_format_bits(format, GL_ALPHA_BITS); in driCreateConfigs()
290 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()
303 modes->alphaBits = alpha_bits; in driCreateConfigs()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c764 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local
834 alpha_bits = 0; in XMesaCreateVisual()
837 alpha_bits = v->mesa_visual.alphaBits; in XMesaCreateVisual()
850 vis->alphaBits = alpha_bits; in XMesaCreateVisual()
/third_party/ffmpeg/doc/
Dencoders.texi3183 @item alpha_bits @var{integer}