Home
last modified time | relevance | path

Searched refs:vsample (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmjpegenc_common.c193 void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[4], int vsample[4]) in ff_mjpeg_init_hvsample()
203 vsample[0] = hsample[0] = in ff_mjpeg_init_hvsample()
204 vsample[1] = hsample[1] = in ff_mjpeg_init_hvsample()
205 vsample[2] = hsample[2] = in ff_mjpeg_init_hvsample()
206 vsample[3] = hsample[3] = 1; in ff_mjpeg_init_hvsample()
208 vsample[0] = vsample[1] = vsample[2] = 2; in ff_mjpeg_init_hvsample()
211 vsample[0] = 2; in ff_mjpeg_init_hvsample()
212 vsample[1] = 2 >> chroma_v_shift; in ff_mjpeg_init_hvsample()
213 vsample[2] = 2 >> chroma_v_shift; in ff_mjpeg_init_hvsample()
226 int hsample[4], vsample[4]; in ff_mjpeg_encode_picture_header() local
[all …]
Dljpegenc.c52 int vsample[4]; member
144 v = s->vsample[i]; in ljpeg_encode_yuv_mb()
178 v = s->vsample[i]; in ljpeg_encode_yuv_mb()
203 const int mb_height = (avctx->height + s->vsample[0] - 1) / s->vsample[0]; in ljpeg_encode_yuv()
215 mb_width * 4 * 3 * s->hsample[0] * s->vsample[0]) { in ljpeg_encode_yuv()
235 const int mb_height = (height + s->vsample[0] - 1) / s->vsample[0]; in ljpeg_encode_frame()
246 * s->hsample[0] * s->vsample[0]; in ljpeg_encode_frame()
320 ff_mjpeg_init_hvsample(avctx, s->hsample, s->vsample); in ljpeg_encode_init()
Dmjpegenc_common.h39 void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[4], int vsample[4]);
Dmjpegenc.c565 int vsample = i ? 2 >> chroma_v_shift : 2; in amv_encode_picture() local
566 pic->data[i] += pic->linesize[i] * (vsample * s->height / V_MAX - 1); in amv_encode_picture()