Searched refs:shift_v (Results 1 – 2 of 2) sorted by relevance
81 int shift_h = 0, shift_v = 0; in map_chroma_format() local83 av_pix_fmt_get_chroma_sub_sample(pix_fmt, &shift_h, &shift_v); in map_chroma_format()85 if (shift_h == 1 && shift_v == 1) in map_chroma_format()87 else if (shift_h == 1 && shift_v == 0) in map_chroma_format()89 else if (shift_h == 0 && shift_v == 0) in map_chroma_format()487 int shift_h = 0, shift_v = 0; in nvdec_retrieve_data() local528 av_pix_fmt_get_chroma_sub_sample(hwctx->sw_format, &shift_h, &shift_v); in nvdec_retrieve_data()532 offset += pitch * (frame->height >> (i ? shift_v : 0)); in nvdec_retrieve_data()
260 int shift_h, shift_v; in encode_frame() local304 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()