Mercurial > libavcodec.hg
comparison zmbv.c @ 5089:bff60ecc02f9 libavcodec
Use AV_xx throughout libavcodec
author | ramiro |
---|---|
date | Sat, 02 Jun 2007 01:41:07 +0000 |
parents | f99e40a7155b |
children | b985439e3e15 |
comparison
equal
deleted
inserted
replaced
5088:8e206208db1f | 5089:bff60ecc02f9 |
---|---|
577 case ZMBV_FMT_32BPP: | 577 case ZMBV_FMT_32BPP: |
578 for(j = 0; j < c->height; j++) { | 578 for(j = 0; j < c->height; j++) { |
579 for(i = 0; i < c->width; i++) { | 579 for(i = 0; i < c->width; i++) { |
580 uint32_t tmp = AV_RL32(src); | 580 uint32_t tmp = AV_RL32(src); |
581 src += 4; | 581 src += 4; |
582 out[i * 3 + 0] = tmp >> 16; | 582 AV_WB24(out+(i*3), tmp); |
583 out[i * 3 + 1] = tmp >> 8; | |
584 out[i * 3 + 2] = tmp >> 0; | |
585 } | 583 } |
586 out += c->pic.linesize[0]; | 584 out += c->pic.linesize[0]; |
587 } | 585 } |
588 break; | 586 break; |
589 default: | 587 default: |