Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmjpegenc_common.c252 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
[all …]
Dljpegenc.c53 int vsample[4]; member
138 v = s->vsample[i]; in ljpeg_encode_yuv_mb()
172 v = s->vsample[i]; in ljpeg_encode_yuv_mb()
197 const int mb_height = (avctx->height + s->vsample[0] - 1) / s->vsample[0]; in ljpeg_encode_yuv()
202 mb_width * 4 * 3 * s->hsample[0] * s->vsample[0]) { in ljpeg_encode_yuv()
222 const int mb_height = (height + s->vsample[0] - 1) / s->vsample[0]; in ljpeg_encode_frame()
233 * s->hsample[0] * s->vsample[0]; in ljpeg_encode_frame()
294 ff_mjpeg_init_hvsample(avctx, s->hsample, s->vsample); in ljpeg_encode_init()
Dmjpegenc_common.h45 void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[4], int vsample[4]);
Dmjpegenc.c616 int vsample = i ? 2 >> chroma_v_shift : 2; in amv_encode_picture() local
617 pic->data[i] += pic->linesize[i] * (vsample * s->height / V_MAX - 1); in amv_encode_picture()