Home
last modified time | relevance | path

Searched refs:shift_v (Results 1 – 2 of 2) 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()
541 offset += pitch * (frame->height >> (i ? shift_v : 0)); 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()
307 s->subsampling[1] = 1 << shift_v; in encode_frame()