Home
last modified time | relevance | path

Searched refs:hsample (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmjpegenc_common.c62 int hsample[3]) in jpeg_table_header()
101 put_bits(p, 16, (avctx->width-1)/(8*hsample[0]) + 1); in jpeg_table_header()
193 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()
209 hsample[0] = hsample[1] = hsample[2] = 1; in ff_mjpeg_init_hvsample()
214 hsample[0] = 2; in ff_mjpeg_init_hvsample()
215 hsample[1] = 2 >> chroma_h_shift; in ff_mjpeg_init_hvsample()
[all …]
Dljpegenc.c53 int hsample[4]; member
143 h = s->hsample[i]; in ljpeg_encode_yuv_mb()
177 h = s->hsample[i]; in ljpeg_encode_yuv_mb()
202 const int mb_width = (avctx->width + s->hsample[0] - 1) / s->hsample[0]; in ljpeg_encode_yuv()
215 mb_width * 4 * 3 * s->hsample[0] * s->vsample[0]) { in ljpeg_encode_yuv()
234 const int mb_width = (width + s->hsample[0] - 1) / s->hsample[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]);