Home
last modified time | relevance | path

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

/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.c80 fb->shift_h = 0; in lima_get_fb_info()
90 fb->shift_h++; in lima_get_fb_info()
97 fb->shift_min = MIN3(fb->shift_w, fb->shift_h, 2); in lima_get_fb_info()
402 PLBU_CMD_BLOCK_STEP(fb->shift_min, fb->shift_h, fb->shift_w); in lima_pack_head_plbu_cmd()
526 int offset = ((y >> fb->shift_h) * fb->block_w + in lima_generate_pp_stream()
608 .shift_h = fb->shift_h, in lima_update_damage_pp_stream()
643 s->key.shift_h = fb->shift_h; in lima_update_damage_pp_stream()
841 frame->blocking = (fb->shift_min << 28) | (fb->shift_h << 16) | fb->shift_w; in lima_pack_pp_frame_reg()
980 pp_frame.dlbu_regs[2] = (s << 28) | (fb->shift_h << 16) | fb->shift_w; in lima_do_job()
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_context.h38 int shift_w, shift_h; member
168 uint16_t shift_w, shift_h; member
Dlima_job.h57 int shift_w, shift_h; member