Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
H A Dmjpegenc_common.c64 int hsample[3], int use_slices) in jpeg_table_header()
98 put_bits(p, 16, (avctx->width-1)/(8*hsample[0]) + 1); in jpeg_table_header()
252 void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[4], int vsample[4]) in ff_mjpeg_init_hvsample() argument
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()
264 hsample[0] = hsample[1] = hsample[ in ff_mjpeg_init_hvsample()
59 jpeg_table_header(AVCodecContext *avctx, PutBitContext *p, MJpegContext *m, ScanTable *intra_scantable, uint16_t luma_intra_matrix[64], uint16_t chroma_intra_matrix[64], int hsample[3], int use_slices) jpeg_table_header() argument
286 int hsample[4], vsample[4]; ff_mjpeg_encode_picture_header() local
[all...]
H A Dljpegenc.c54 int hsample[4]; member
137 h = s->hsample[i]; in ljpeg_encode_yuv_mb()
171 h = s->hsample[i]; in ljpeg_encode_yuv_mb()
196 const int mb_width = (avctx->width + s->hsample[0] - 1) / s->hsample[0]; in ljpeg_encode_yuv()
202 mb_width * 4 * 3 * s->hsample[0] * s->vsample[0]) { in ljpeg_encode_yuv()
221 const int mb_width = (width + s->hsample[0] - 1) / s->hsample[0]; in ljpeg_encode_frame()
233 * s->hsample[0] * s->vsample[0]; in ljpeg_encode_frame()
294 ff_mjpeg_init_hvsample(avctx, s->hsample, in ljpeg_encode_init()
[all...]
H A Dmjpegenc_common.h45 void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[4], int vsample[4]);

Completed in 3 milliseconds