Lines Matching refs:vsample
252 void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[4], int vsample[4]) in ff_mjpeg_init_hvsample()
258 vsample[0] = hsample[0] = in ff_mjpeg_init_hvsample()
259 vsample[1] = hsample[1] = in ff_mjpeg_init_hvsample()
260 vsample[2] = hsample[2] = in ff_mjpeg_init_hvsample()
261 vsample[3] = hsample[3] = 1; in ff_mjpeg_init_hvsample()
263 vsample[0] = vsample[1] = vsample[2] = 2; in ff_mjpeg_init_hvsample()
269 vsample[0] = 2; in ff_mjpeg_init_hvsample()
270 vsample[1] = 2 >> chroma_v_shift; in ff_mjpeg_init_hvsample()
271 vsample[2] = 2 >> chroma_v_shift; in ff_mjpeg_init_hvsample()
286 int hsample[4], vsample[4]; in ff_mjpeg_encode_picture_header() local
292 ff_mjpeg_init_hvsample(avctx, hsample, vsample); in ff_mjpeg_encode_picture_header()
326 put_bits(pb, 4, vsample[0]); /* V factor */ in ff_mjpeg_encode_picture_header()
332 put_bits(pb, 4, vsample[1]); /* V factor */ in ff_mjpeg_encode_picture_header()
338 put_bits(pb, 4, vsample[2]); /* V factor */ in ff_mjpeg_encode_picture_header()
344 put_bits(pb, 4, vsample[3]); /* V factor */ in ff_mjpeg_encode_picture_header()