rb_state 1215 modules/dng.c } rb_state; rb_state 1218 modules/dng.c char *src = rb_state.src; rb_state 1219 modules/dng.c rb_state.stage = RB_STAGE_REVERSING; rb_state 1220 modules/dng.c rb_state.reversed = rb_state.dst; rb_state 1222 modules/dng.c while(rb_state.reversed < rb_state.end) { rb_state 1224 modules/dng.c if(rb_state.reversed + DNG_REV_CHUNK_SIZE > rb_state.end) { rb_state 1225 modules/dng.c chunk_size = rb_state.end - rb_state.reversed; rb_state 1229 modules/dng.c reverse_bytes_order2(src, rb_state.reversed, chunk_size); rb_state 1231 modules/dng.c rb_state.reversed += chunk_size; rb_state 1238 modules/dng.c rb_state.stage = RB_STAGE_DEREVERSING; rb_state 1241 modules/dng.c if(rb_state.src == rb_state.dst) { rb_state 1242 modules/dng.c src = rb_state.src; rb_state 1243 modules/dng.c while(src < rb_state.end) { rb_state 1244 modules/dng.c int chunk_size = rb_state.written - src; rb_state 1254 modules/dng.c if(ADR_IS_CACHED(rb_state.dst)) { rb_state 1260 modules/dng.c rb_state.stage = RB_STAGE_DONE; rb_state 1284 modules/dng.c if(rb_state.stage != RB_STAGE_DONE) { rb_state 1294 modules/dng.c rb_state.stage = RB_STAGE_INIT; rb_state 1295 modules/dng.c rb_state.src = rawadr; rb_state 1296 modules/dng.c rb_state.written = rb_state.reversed = rb_state.dst = altrawadr; rb_state 1297 modules/dng.c rb_state.end = rb_state.dst + camera_sensor.raw_size; rb_state 1306 modules/dng.c rb_state.written = rb_state.end; rb_state 1307 modules/dng.c while(rb_state.stage != RB_STAGE_DONE) { rb_state 1318 modules/dng.c while(rb_state.written < rb_state.end) { rb_state 1319 modules/dng.c int size = rb_state.reversed - rb_state.written; rb_state 1327 modules/dng.c if(size > DNG_END_CHUNK_SIZE && (rb_state.written + DNG_END_CHUNK_SIZE*DNG_END_NUM_CHUNKS) >= rb_state.end) { rb_state 1335 modules/dng.c write(fd,ADR_TO_UNCACHED(rb_state.written),size); rb_state 1336 modules/dng.c rb_state.written += size; rb_state 1342 modules/dng.c while(rb_state.stage != RB_STAGE_DONE) {