| 327 | } |
| 328 | |
| 329 | void 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 | |
| 340 | void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number) |
| 341 | { |
no test coverage detected