MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_mpeg1_encode_slice_header

Function ff_mpeg1_encode_slice_header

libavcodec/mpeg12enc.c:329–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329void ff_mpeg1_encode_slice_header(MpegEncContext *s){
330 if (s->height > 2800) {
331 put_header(s, SLICE_MIN_START_CODE + (s->mb_y & 127));
332 put_bits(&s->pb, 3, s->mb_y >> 7); /* slice_vertical_position_extension */
333 } else {
334 put_header(s, SLICE_MIN_START_CODE + s->mb_y);
335 }
336 put_qscale(s);
337 put_bits(&s->pb, 1, 0); /* slice extra information */
338}
339
340void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number)
341{

Callers 2

encode_threadFunction · 0.85

Calls 2

put_qscaleFunction · 0.85
put_headerFunction · 0.70

Tested by

no test coverage detected