Lines Matching defs:hsample
61 int hsample[3])
93 put_bits(p, 16, (avctx->width-1)/(8*hsample[0]) + 1);
156 void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[3], int vsample[3])
166 vsample[0] = hsample[0] =
167 vsample[1] = hsample[1] =
168 vsample[2] = hsample[2] = 1;
171 hsample[0] = hsample[1] = hsample[2] = 1;
176 hsample[0] = 2;
177 hsample[1] = 2 >> chroma_h_shift;
178 hsample[2] = 2 >> chroma_h_shift;
188 int hsample[3], vsample[3];
194 ff_mjpeg_init_hvsample(avctx, hsample, vsample);
203 jpeg_table_header(avctx, pb, intra_scantable, luma_intra_matrix, chroma_intra_matrix, hsample);
224 put_bits(pb, 4, hsample[0]); /* H factor */
230 put_bits(pb, 4, hsample[1]); /* H factor */
236 put_bits(pb, 4, hsample[2]); /* H factor */