| 3511 | } |
| 3512 | |
| 3513 | static void encode_qlogs(SnowContext *s){ |
| 3514 | int plane_index, level, orientation; |
| 3515 | |
| 3516 | for(plane_index=0; plane_index<2; plane_index++){ |
| 3517 | for(level=0; level<s->spatial_decomposition_count; level++){ |
| 3518 | for(orientation=level ? 1:0; orientation<4; orientation++){ |
| 3519 | if(orientation==2) continue; |
| 3520 | put_symbol(&s->c, s->header_state, s->plane[plane_index].band[level][orientation].qlog, 1); |
| 3521 | } |
| 3522 | } |
| 3523 | } |
| 3524 | } |
| 3525 | |
| 3526 | static void encode_header(SnowContext *s){ |
| 3527 | int plane_index, i; |
no test coverage detected