Lines Matching defs:byte_run
181 int byte_run;
304 byte_run = sign_extend(bytestream2_get_byte(&g2), 8);
305 if (byte_run < 0) {
306 byte_run = -byte_run;
309 CHECK_PIXEL_PTR(byte_run * 2);
310 for (j = 0; j < byte_run; j++, pixel_countdown -= 2) {
315 CHECK_PIXEL_PTR(byte_run * 2);
316 if (bytestream2_tell(&g2) + byte_run * 2 > stream_ptr_after_chunk)
318 for (j = 0; j < byte_run * 2; j++, pixel_countdown--) {
353 byte_run = sign_extend(bytestream2_get_byte(&g2),8);
354 if (byte_run > 0) {
355 CHECK_PIXEL_PTR(byte_run);
356 if (bytestream2_tell(&g2) + byte_run > stream_ptr_after_chunk)
358 for (j = 0; j < byte_run; j++, pixel_countdown--) {
361 } else if (byte_run < 0) {
362 byte_run = -byte_run;
364 CHECK_PIXEL_PTR(byte_run);
365 for (j = 0; j < byte_run; j++, pixel_countdown--) {
396 byte_run = sign_extend(bytestream2_get_byte(&g2), 8);
397 if (!byte_run) {
402 if (byte_run > 0) {
404 CHECK_PIXEL_PTR(byte_run);
405 for (j = 0; j < byte_run; j++) {
412 } else { /* copy bytes if byte_run < 0 */
413 byte_run = -byte_run;
414 CHECK_PIXEL_PTR(byte_run);
415 if (bytestream2_tell(&g2) + byte_run > stream_ptr_after_chunk)
417 for (j = 0; j < byte_run; j++) {
514 int byte_run;
594 byte_run = sign_extend(bytestream2_get_byte(&g2), 8);
595 if (byte_run < 0) {
596 byte_run = -byte_run;
598 CHECK_PIXEL_PTR(2 * byte_run);
599 for (j = 0; j < byte_run; j++, pixel_countdown -= 2) {
604 if (bytestream2_tell(&g2) + 2*byte_run > stream_ptr_after_chunk)
606 CHECK_PIXEL_PTR(2 * byte_run);
607 for (j = 0; j < byte_run; j++, pixel_countdown--) {
642 byte_run = sign_extend(bytestream2_get_byte(&g2), 8);
643 if (byte_run > 0) {
645 CHECK_PIXEL_PTR(byte_run);
646 for (j = 0; j < byte_run; j++) {
653 } else { /* copy bytes if byte_run < 0 */
654 byte_run = -byte_run;
655 if (bytestream2_tell(&g2) + byte_run > stream_ptr_after_chunk)
657 CHECK_PIXEL_PTR(byte_run);
658 for (j = 0; j < byte_run; j++) {
698 byte_run = sign_extend(bytestream2_get_byte(&g2), 8);
699 if (byte_run > 0) {
701 CHECK_PIXEL_PTR(2 * byte_run);
702 for (j = 0; j < byte_run; j++) {
710 } else { /* copy pixels if byte_run < 0 */
711 byte_run = -byte_run;
712 if (bytestream2_tell(&g2) + 2 * byte_run > stream_ptr_after_chunk)
714 CHECK_PIXEL_PTR(2 * byte_run);
715 for (j = 0; j < byte_run; j++) {
814 int byte_run;
894 byte_run = sign_extend(bytestream2_get_byte(&g2), 8);
895 if (byte_run < 0) {
896 byte_run = -byte_run;
898 CHECK_PIXEL_PTR(3 * byte_run);
899 for (j = 0; j < byte_run; j++, pixel_countdown -= 1) {
904 if (bytestream2_tell(&g2) + 2*byte_run > stream_ptr_after_chunk)
906 CHECK_PIXEL_PTR(3 * byte_run);
907 for (j = 0; j < byte_run; j++, pixel_countdown--) {
943 byte_run = sign_extend(bytestream2_get_byte(&g2), 8);
944 if (byte_run > 0) {
946 CHECK_PIXEL_PTR(byte_run);
947 for (j = 0; j < byte_run; j++) {
954 } else { /* copy bytes if byte_run < 0 */
955 byte_run = -byte_run;
956 if (bytestream2_tell(&g2) + byte_run > stream_ptr_after_chunk)
958 CHECK_PIXEL_PTR(byte_run);
959 for (j = 0; j < byte_run; j++) {
986 byte_run = sign_extend(bytestream2_get_byte(&g2), 8);
987 if (byte_run > 0) {
989 CHECK_PIXEL_PTR(3 * byte_run);
990 for (j = 0; j < byte_run; j++) {
998 } else { /* copy pixels if byte_run < 0 */
999 byte_run = -byte_run;
1000 if (bytestream2_tell(&g2) + 3 * byte_run > stream_ptr_after_chunk)
1002 CHECK_PIXEL_PTR(3 * byte_run);
1003 for (j = 0; j < byte_run; j++) {