Home
last modified time | relevance | path

Searched refs:shift_h (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dspace_to_batch_fp32.c44 int shift_h = (out_b / input_batch_size) / block_shape_width; in DoSpaceToBatch() local
48 if (out_h * block_shape_height + shift_h < padding_top || in DoSpaceToBatch()
49 out_h * block_shape_height + shift_h >= padding_top + input_height || in DoSpaceToBatch()
54 int in_h = (out_h * block_shape_height + shift_h) - padding_top; in DoSpaceToBatch()
/third_party/ffmpeg/libavcodec/
Dnvdec.c84 int shift_h = 0, shift_v = 0; in map_chroma_format() local
89 av_pix_fmt_get_chroma_sub_sample(pix_fmt, &shift_h, &shift_v); in map_chroma_format()
91 if (shift_h == 1 && shift_v == 1) in map_chroma_format()
93 else if (shift_h == 1 && shift_v == 0) in map_chroma_format()
95 else if (shift_h == 0 && shift_v == 0) in map_chroma_format()
496 int shift_h = 0, shift_v = 0; in nvdec_retrieve_data() local
537 av_pix_fmt_get_chroma_sub_sample(hwctx->sw_format, &shift_h, &shift_v); in nvdec_retrieve_data()
Dtiffenc.c260 int shift_h, shift_v; in encode_frame() local
304 av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &shift_h, &shift_v); in encode_frame()
306 s->subsampling[0] = 1 << shift_h; in encode_frame()
/third_party/ffmpeg/libavfilter/
Dvf_waveform.c111 int shift_w[4], shift_h[4]; member
685 const int shift_h = s->shift_h[component]; in lowpass16() local
691 const int src_h = AV_CEIL_RSHIFT(in->height, shift_h); in lowpass16()
697 const int step = column ? 1 << shift_w : 1 << shift_h; in lowpass16()
823 const int shift_h = s->shift_h[component]; in lowpass() local
828 const int src_h = AV_CEIL_RSHIFT(in->height, shift_h); in lowpass()
834 const int step = column ? 1 << shift_w : 1 << shift_h; in lowpass()
964 const int c0_shift_h = s->shift_h[ component + 0 ]; in flat16()
965 const int c1_shift_h = s->shift_h[(component + 1) % s->ncomp]; in flat16()
966 const int c2_shift_h = s->shift_h[(component + 2) % s->ncomp]; in flat16()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_job.c68 fb->shift_h = 0; in lima_get_fb_info()
78 fb->shift_h++; in lima_get_fb_info()
85 fb->shift_min = MIN3(fb->shift_w, fb->shift_h, 2); in lima_get_fb_info()
457 PLBU_CMD_BLOCK_STEP(fb->shift_min, fb->shift_h, fb->shift_w); in lima_pack_head_plbu_cmd()
579 int offset = ((y >> fb->shift_h) * fb->block_w + in lima_generate_pp_stream()
661 .shift_h = fb->shift_h, in lima_update_damage_pp_stream()
696 s->key.shift_h = fb->shift_h; in lima_update_damage_pp_stream()
882 frame->blocking = (fb->shift_min << 28) | (fb->shift_h << 16) | fb->shift_w; in lima_pack_pp_frame_reg()
1021 pp_frame.dlbu_regs[2] = (s << 28) | (fb->shift_h << 16) | fb->shift_w; in lima_do_job()
Dlima_context.h37 int shift_w, shift_h; member
164 uint16_t shift_w, shift_h; member
Dlima_gpu.h123 #define PLBU_CMD_BLOCK_STEP(shift_min, shift_h, shift_w) \ argument
124 PLBU_CMD(((shift_min) << 28) | ((shift_h) << 16) | (shift_w), 0x1000010C)
Dlima_job.h57 int shift_w, shift_h; member