/third_party/cups-filters/cupsfilters/ |
H A D | rgb.c | 81 rgbsize = rgbptr->num_channels; in cupsRGBDoGray() 82 xs = rgbptr->cube_size * rgbptr->cube_size * rgbptr->num_channels; in cupsRGBDoGray() 83 ys = rgbptr->cube_size * rgbptr->num_channels; in cupsRGBDoGray() 84 zs = rgbptr->num_channels; in cupsRGBDoGray() 106 memcpy(output, output - rgbptr->num_channels, rgbsize); in cupsRGBDoGray() 108 output += rgbptr->num_channels; in cupsRGBDoGray() 119 output += rgbptr->num_channels; in cupsRGBDoGray() 130 output += rgbptr->num_channels; in cupsRGBDoGray() 144 for (i = 0; i < rgbptr->num_channels; i ++, color ++) in cupsRGBDoGray() 201 rgbsize = rgbptr->num_channels; in cupsRGBDoRGB() 314 num_channels, /* Number of color channels */ cupsRGBLoad() local 422 cupsRGBNew(int num_samples, cups_sample_t *samples, int cube_size, int num_channels) cupsRGBNew() argument [all...] |
H A D | cmyk.c | 96 switch (cmyk->num_channels) in cupsCMYKDoBlack() 282 switch (cmyk->num_channels) in cupsCMYKDoCMYK() 552 switch (cmyk->num_channels) in cupsCMYKDoGray() 783 switch (cmyk->num_channels) in cupsCMYKDoRGB() 1032 int num_channels; /* Number of color components */ in cupsCMYKLoad() local 1092 num_channels = atoi(attr->value); in cupsCMYKLoad() 1094 if (num_channels < 1 || num_channels > 7 || num_channels == 5) in cupsCMYKLoad() 1097 if ((cmyk = cupsCMYKNew(num_channels)) in cupsCMYKLoad() 1600 cupsCMYKNew(int num_channels) cupsCMYKNew() argument [all...] |
H A D | driver.h | 87 int num_channels; /* Number of colors per sample */ member 101 int num_channels; /* Number of components */ member 146 const short *data, int num_channels, 196 int cube_size, int num_channels); 202 extern cups_cmyk_t *cupsCMYKNew(int num_channels);
|
H A D | dither.c | 49 int num_channels, in cupsDitherLine() 106 x --, p0 ++, p1 ++, p ++, data += num_channels) in cupsDitherLine() 189 data += num_channels * (d->width - 1); in cupsDitherLine() 200 x --, p0 --, p1 --, p --, data -= num_channels) in cupsDitherLine() 46 cupsDitherLine(cups_dither_t *d, const cups_lut_t *lut, const short *data, int num_channels, unsigned char *p) cupsDitherLine() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | wmalosslessdec.c | 88 int8_t num_channels; ///< number of channels in the stream (same as AVCodecContext.num_channels) member 229 s->num_channels = avctx->ch_layout.nb_channels; in decode_init() 342 int channels_for_cur_subframe = s->num_channels; /* number of channels that contain the current subframe */ in decode_tilehdr() 348 for (c = 0; c < s->num_channels; c++) in decode_tilehdr() 360 for (c = 0; c < s->num_channels; c++) { in decode_tilehdr() 384 for (c = 0; c < s->num_channels; c++) { in decode_tilehdr() 412 for (c = 0; c < s->num_channels; c++) { in decode_tilehdr() 445 for (i = 0; i < s->mclms_order * s->num_channels * s->num_channels; in decode_mclms() 630 int num_channels = s->num_channels; mclms_update() local 672 int num_channels = s->num_channels; mclms_predict() local [all...] |
H A D | atrac3plus.c | 518 * @param[in] num_channels number of channels to process 523 int num_channels, AVCodecContext *avctx) in decode_quant_wordlen() 527 for (ch_num = 0; ch_num < num_channels; ch_num++) { in decode_quant_wordlen() 539 (num_channels == 2 && ctx->channels[1].qu_wordlen[i])) in decode_quant_wordlen() 551 * @param[in] num_channels number of channels to process 556 int num_channels, AVCodecContext *avctx) in decode_scale_factors() 563 for (ch_num = 0; ch_num < num_channels; ch_num++) { in decode_scale_factors() 684 * @param[in] num_channels number of channels to process 689 int num_channels, AVCodecContext *avctx) in decode_code_table_indexes() 698 for (ch_num = 0; ch_num < num_channels; ch_nu in decode_code_table_indexes() 522 decode_quant_wordlen(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, int num_channels, AVCodecContext *avctx) decode_quant_wordlen() argument 555 decode_scale_factors(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, int num_channels, AVCodecContext *avctx) decode_scale_factors() argument 688 decode_code_table_indexes(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, int num_channels, AVCodecContext *avctx) decode_code_table_indexes() argument 760 decode_spectrum(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, int num_channels, AVCodecContext *avctx) decode_spectrum() argument 851 decode_window_shape(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, int num_channels) decode_window_shape() argument 1267 decode_gainc_data(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, int num_channels, AVCodecContext *avctx) decode_gainc_data() argument 1600 decode_tones_info(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, int num_channels, AVCodecContext *avctx) decode_tones_info() argument 1662 ff_atrac3p_decode_channel_unit(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, int num_channels, AVCodecContext *avctx) ff_atrac3p_decode_channel_unit() argument [all...] |
H A D | wmaprodec.c | 170 uint8_t num_channels; ///< number of channels in the group member 761 for (i = 0; i < chgroup->num_channels * (chgroup->num_channels - 1) >> 1; i++) in decode_decorrelation_matrix() 764 for (i = 0; i < chgroup->num_channels; i++) in decode_decorrelation_matrix() 765 chgroup->decorrelation_matrix[chgroup->num_channels * i + i] = in decode_decorrelation_matrix() 768 for (i = 1; i < chgroup->num_channels; i++) { in decode_decorrelation_matrix() 773 float v1 = chgroup->decorrelation_matrix[x * chgroup->num_channels + y]; in decode_decorrelation_matrix() 774 float v2 = chgroup->decorrelation_matrix[i * chgroup->num_channels + y]; in decode_decorrelation_matrix() 787 chgroup->decorrelation_matrix[y + x * chgroup->num_channels] = in decode_decorrelation_matrix() 789 chgroup->decorrelation_matrix[y + i * chgroup->num_channels] in decode_decorrelation_matrix() 1122 const int num_channels = s->chgroup[i].num_channels; inverse_channel_transform() local [all...] |
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | rescaler_utils.c | 28 int num_channels, rescaler_t* const work) { in WebPRescalerInit() 31 const uint64_t total_size = 2ull * dst_width * num_channels * sizeof(*work); in WebPRescalerInit() 44 rescaler->num_channels = num_channels; in WebPRescalerInit() 78 rescaler->frow = work + num_channels * dst_width; in WebPRescalerInit() 139 for (x = 0; x < rescaler->num_channels * rescaler->dst_width; ++x) { in WebPRescalerImport() 24 WebPRescalerInit(WebPRescaler* const rescaler, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, rescaler_t* const work) WebPRescalerInit() argument
|
/third_party/ffmpeg/libavformat/ |
H A D | electronicarts.c | 87 int num_channels; member 120 ea->num_channels = 1; in process_audio_header_elements() 142 ea->num_channels = read_arbitrary(pb); in process_audio_header_elements() 144 "num_channels (element 0x82) set to 0x%08x\n", in process_audio_header_elements() 145 ea->num_channels); in process_audio_header_elements() 277 ea->num_channels = avio_r8(pb); in process_audio_header_eacs() 313 ea->num_channels = avio_rl32(pb); in process_audio_header_sead() 530 if (ea->num_channels <= 0 || ea->num_channels > 2) { in ea_read_header() 532 "Unsupported number of channels: %d\n", ea->num_channels); in ea_read_header() [all...] |
H A D | alp.c | 41 uint8_t num_channels; /*< Channel Count. */ member 100 hdr->num_channels = avio_r8(s->pb); in alp_read_header() 125 if (hdr->num_channels > 2 || hdr->num_channels == 0) in alp_read_header() 128 av_channel_layout_default(&par->ch_layout, hdr->num_channels); in alp_read_header()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_zscan.c | 134 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_vert_shader() 148 for (i = 0; i < zscan->num_channels; ++i) in create_vert_shader() 173 for (i = 0; i < zscan->num_channels; ++i) { in create_vert_shader() 176 * ((signed)i - (signed)zscan->num_channels / 2))); in create_vert_shader() 211 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); in create_frag_shader() 212 tmp = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_frag_shader() 214 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 221 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 232 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 235 for (i = 0; i < zscan->num_channels; in create_frag_shader() 450 vl_zscan_init(struct vl_zscan *zscan, struct pipe_context *pipe, unsigned buffer_width, unsigned buffer_height, unsigned blocks_per_line, unsigned blocks_total, unsigned num_channels) vl_zscan_init() argument [all...] |
H A D | vl_zscan.h | 45 unsigned num_channels; member 81 unsigned num_channels);
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | rescaler_mips32.c | 26 const int x_stride = wrk->num_channels; in ImportRowShrink_MIPS32() 27 const int x_out_max = wrk->dst_width * wrk->num_channels; in ImportRowShrink_MIPS32() 86 const int x_stride = wrk->num_channels; in ImportRowExpand_MIPS32() 87 const int x_out_max = wrk->dst_width * wrk->num_channels; in ImportRowExpand_MIPS32() 152 const int x_out_max = wrk->dst_width * wrk->num_channels; in ExportRowExpand_MIPS32() 214 const int x_out_max = wrk->dst_width * wrk->num_channels;
|
H A D | rescaler.c | 31 const int x_stride = wrk->num_channels; in WebPRescalerImportRowExpand_C() 32 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRowExpand_C() 64 const int x_stride = wrk->num_channels; in WebPRescalerImportRowShrink_C() 65 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRowShrink_C() 103 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRowExpand_C() 132 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRowShrink_C() 181 for (i = 0; i < wrk->num_channels * wrk->dst_width; ++i) { in WebPRescalerExportRow()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_utils.c | 374 static u8 p2p_channel_pick_random(const u8 *channels, unsigned int num_channels) in p2p_channel_pick_random() argument 379 r %= num_channels; in p2p_channel_pick_random() 421 unsigned int num_channels = 0; in p2p_channel_random_social() local 432 chan[num_channels++] = 1; in p2p_channel_random_social() 436 chan[num_channels++] = 6; in p2p_channel_random_social() 440 chan[num_channels++] = 11; in p2p_channel_random_social() 444 chan[num_channels++] = 2; in p2p_channel_random_social() 446 if (num_channels == 0) in p2p_channel_random_social() 449 *op_channel = p2p_channel_pick_random(chan, num_channels); in p2p_channel_random_social()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_utils.c | 392 static u8 p2p_channel_pick_random(const u8 *channels, unsigned int num_channels) in p2p_channel_pick_random() argument 397 r %= num_channels; in p2p_channel_pick_random() 439 unsigned int num_channels = 0; in p2p_channel_random_social() local 450 chan[num_channels++] = 1; in p2p_channel_random_social() 454 chan[num_channels++] = 6; in p2p_channel_random_social() 458 chan[num_channels++] = 11; in p2p_channel_random_social() 462 chan[num_channels++] = 2; in p2p_channel_random_social() 464 if (num_channels == 0) in p2p_channel_random_social() 467 *op_channel = p2p_channel_pick_random(chan, num_channels); in p2p_channel_random_social()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | acs.c | 269 for (i = 0; i < mode->num_channels; i++) { in acs_cleanup_mode() 475 for (i = 0; i < mode->num_channels; i++) { in acs_surveys_are_sufficient_mode() 537 for (i = 0; i < mode->num_channels; i++) { in acs_survey_mode_interference_factor() 583 for (i = 0; i < mode->num_channels; i++) { in acs_find_chan_mode() 660 for (i = 0; i < mode->num_channels; i++) { in acs_find_ideal_chan_mode() 1045 for (i = 0; i < mode->num_channels; i++) { in acs_request_scan_add_freqs() 1070 int num_channels; in acs_request_scan() local 1075 num_channels = 0; in acs_request_scan() 1079 num_channels += mode->num_channels; in acs_request_scan() [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_eu.h | 698 brw_mdc_cmask(unsigned num_channels) in brw_mdc_cmask() argument 701 return 0xf & (0xf << num_channels); in brw_mdc_cmask() 705 lsc_cmask(unsigned num_channels) in lsc_cmask() argument 707 assert(num_channels > 0 && num_channels <= 4); in lsc_cmask() 708 return BITSET_MASK(num_channels); in lsc_cmask() 714 unsigned num_channels, in brw_dp_untyped_surface_rw_desc() 744 SET_BITS(brw_mdc_cmask(num_channels), 3, 0) | in brw_dp_untyped_surface_rw_desc() 840 unsigned num_channels, in brw_dp_a64_untyped_surface_rw_desc() 855 SET_BITS(brw_mdc_cmask(num_channels), in brw_dp_a64_untyped_surface_rw_desc() 712 brw_dp_untyped_surface_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, unsigned num_channels, bool write) brw_dp_untyped_surface_rw_desc() argument 838 brw_dp_a64_untyped_surface_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, unsigned num_channels, bool write) brw_dp_a64_untyped_surface_rw_desc() argument 1006 brw_dp_typed_surface_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, unsigned exec_group, unsigned num_channels, bool write) brw_dp_typed_surface_rw_desc() argument 1273 lsc_msg_desc(UNUSED const struct intel_device_info *devinfo, enum lsc_opcode opcode, unsigned simd_size, enum lsc_addr_surface_type addr_type, enum lsc_addr_size addr_sz, unsigned num_coordinates, enum lsc_data_size data_sz, unsigned num_channels, bool transpose, unsigned cache_ctrl, bool has_dest) lsc_msg_desc() argument [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | ctl.c | 652 if (ec->num_channels >= SND_SOC_TPLG_MAX_CHAN) { in tplg_parse_control_enum() 662 ec->num_channels = tplg->channel_idx; in tplg_parse_control_enum() 720 err = tplg_save_channels(tplg, ec->channel, ec->num_channels, in tplg_save_control_enum() 780 if (mc->num_channels >= SND_SOC_TPLG_MAX_CHAN) { in tplg_parse_control_mixer() 790 mc->num_channels = tplg->channel_idx; in tplg_parse_control_mixer() 878 err = tplg_save_channels(tplg, mc->channel, mc->num_channels, in tplg_save_control_mixer() 983 int ret, i, num_channels; in tplg_add_mixer() local 1015 num_channels = mixer->map ? mixer->map->num_channels : 0; in tplg_add_mixer() 1016 mc->num_channels in tplg_add_mixer() 1047 int ret, i, num_items, num_channels; tplg_add_enum() local [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_blend_aos.c | 233 unsigned num_channels) in lp_build_blend_swizzle() 243 alpha_swizzle, num_channels); in lp_build_blend_swizzle() 253 num_channels); in lp_build_blend_swizzle() 268 unsigned num_channels) in lp_build_blend_factor() 273 if (alpha_swizzle == PIPE_SWIZZLE_X && num_channels == 1) { in lp_build_blend_factor() 283 rgb_swizzle, alpha_swizzle, num_channels); in lp_build_blend_factor() 228 lp_build_blend_swizzle(struct lp_build_blend_aos_context *bld, LLVMValueRef rgb, LLVMValueRef alpha, enum lp_build_blend_swizzle rgb_swizzle, unsigned alpha_swizzle, unsigned num_channels) lp_build_blend_swizzle() argument 264 lp_build_blend_factor(struct lp_build_blend_aos_context *bld, unsigned rgb_factor, unsigned alpha_factor, unsigned alpha_swizzle, unsigned num_channels) lp_build_blend_factor() argument
|
/third_party/ffmpeg/tests/fate/ |
H A D | wavpack.mak | 41 fate-wavpack-channels-monofloat: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/num_channels/mono_float-partial.wv -f f32le -af aresample 44 fate-wavpack-channels-monoint: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/num_channels/mono_16bit_int.wv -f s16le -af aresample 47 fate-wavpack-channels-4.0: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/num_channels/edward_4.0_16bit-partial.wv -f s16le -af aresample 50 fate-wavpack-channels-5.1: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/num_channels/panslab_sample_5.1_16bit-partial.wv -f s16le -af aresample 53 fate-wavpack-channels-6.1: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv -f s16le -af aresample 56 fate-wavpack-channels-7.1: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/num_channels/panslab_sample_7.1_16bit-partial.wv -f s16le -af aresample 94 fate-wavpack-matroska_mux-mono: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/num_channels/mono_16bit_int.wv -c copy -fflags +bitexact -f matroska 99 fate-wavpack-matroska_mux-61: CMD = md5pipe -i $(TARGET_SAMPLES)/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv -c copy -fflags +bitexact -f matroska
|
/third_party/skia/src/gpu/ |
H A D | GrYUVABackendTextures.cpp | 12 static int num_channels(const GrBackendFormat& format) { in num_channels() function 44 int numActualChannels = num_channels(formats[i]); in GrYUVABackendTextureInfo() 93 num_channels(textures[i].getBackendFormat()) < numRequiredChannels) { in GrYUVABackendTextures()
|
H A D | GrYUVATextureProxies.cpp | 11 static int num_channels(uint32_t channelFlags) { in num_channels() function 83 SkASSERT(num_channels(pixmapChannelMasks[i]) <= in GrYUVATextureProxies() 84 num_channels(views[i].proxy()->backendFormat().channelMask())); in GrYUVATextureProxies()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | acs.c | 269 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_cleanup() 462 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_surveys_are_sufficient() 498 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_survey_all_chans_intereference_factor() 524 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_find_chan() 615 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_find_ideal_chan() 927 params.freqs = os_calloc(iface->current_mode->num_channels + 1, in acs_request_scan() 933 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_request_scan()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_swizzle.c | 153 unsigned num_channels) in lp_build_swizzle_scalar_aos() 159 if (a == bld->undef || a == bld->zero || a == bld->one || num_channels == 1) in lp_build_swizzle_scalar_aos() 162 assert(num_channels == 2 || num_channels == 4); in lp_build_swizzle_scalar_aos() 174 for (unsigned j = 0; j < n; j += num_channels) in lp_build_swizzle_scalar_aos() 175 for (unsigned i = 0; i < num_channels; ++i) in lp_build_swizzle_scalar_aos() 179 } else if (num_channels == 2) { in lp_build_swizzle_scalar_aos() 194 type, 1 << channel, num_channels), ""); in lp_build_swizzle_scalar_aos() 150 lp_build_swizzle_scalar_aos(struct lp_build_context *bld, LLVMValueRef a, unsigned channel, unsigned num_channels) lp_build_swizzle_scalar_aos() argument
|