• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/

Lines Matching defs:orientation

1340 static int encode_subband_c0run(SnowContext *s, SubBand *b, IDWTELEM *src, IDWTELEM *parent, int stride, int orientation){
1369 if(orientation==1) ll= src[y + (x-2)*stride];
1420 if(orientation==1) ll= src[y + (x-2)*stride];
1460 static int encode_subband(SnowContext *s, SubBand *b, IDWTELEM *src, IDWTELEM *parent, int stride, int orientation){
1461 // encode_subband_qtree(s, b, src, parent, stride, orientation);
1462 // encode_subband_z0run(s, b, src, parent, stride, orientation);
1463 return encode_subband_c0run(s, b, src, parent, stride, orientation);
1464 // encode_subband_dzr(s, b, src, parent, stride, orientation);
1467 static inline void unpack_coeffs(SnowContext *s, SubBand *b, SubBand * parent, int orientation){
1609 int plane_index, level, orientation;
1613 for(orientation=level ? 1:0; orientation<4; orientation++){
1614 memset(s->plane[plane_index].band[level][orientation].state, MID_STATE, sizeof(s->plane[plane_index].band[level][orientation].state));
3438 int plane_index, level, orientation;
3442 for(orientation=level ? 1:0; orientation<4; orientation++){
3443 if(orientation==2) continue;
3444 put_symbol(&s->c, s->header_state, s->plane[plane_index].band[level][orientation].qlog, 1);
3542 int plane_index, level, orientation;
3546 for(orientation=level ? 1:0; orientation<4; orientation++){
3548 if (plane_index==2) q= s->plane[1].band[level][orientation].qlog;
3549 else if(orientation==2) q= s->plane[plane_index].band[level][1].qlog;
3551 s->plane[plane_index].band[level][orientation].qlog= q;
3723 int plane_index, level, orientation;
3737 for(orientation=level ? 1 : 0; orientation<4; orientation++){
3738 SubBand *b= &s->plane[plane_index].band[level][orientation];
3743 b->width = (w + !(orientation&1))>>1;
3744 b->height= (h + !(orientation>1))>>1;
3750 if(orientation&1){
3754 if(orientation>1){
3761 b->parent= &s->plane[plane_index].band[level-1][orientation];
3785 int level, orientation, delta_qlog;
3788 for(orientation=level ? 1 : 0; orientation<4; orientation++){
3789 SubBand *b= &s->plane[0].band[level][orientation];
3802 if(orientation==0)
3834 int level, orientation, x, y;
3837 for(orientation=level ? 1 : 0; orientation<4; orientation++){
3838 SubBand *b= &p->band[level][orientation];
3862 static void find_sse(SnowContext *s, Plane *p, int *score, int score_stride, IDWTELEM *r0, IDWTELEM *r1, int level, int orientation){
3863 SubBand *b= &p->band[level][orientation];
3869 if(orientation&1)
3871 if(orientation&2)
3891 int level, orientation;
3894 for(orientation=level ? 1 : 0; orientation<4; orientation++){
3895 SubBand *b= &p->band[level][orientation];
3904 int level, orientation, ys, xs, x, y, pass;
3918 for(orientation=level ? 1 : 0; orientation<4; orientation++){
3919 SubBand *b= &p->band[level][orientation];
3931 for(orientation=level ? 1 : 0; orientation<4; orientation++){
3932 SubBand *b= &p->band[level][orientation];
3941 find_sse(s, p, best_score, score_stride, idwt2_buffer, s->spatial_idwt_buffer, level, orientation);
3952 find_sse(s, p, score, score_stride, idwt2_buffer, s->spatial_idwt_buffer, level, orientation);
4167 int level, orientation, plane_index, i, y;
4346 for(orientation=level ? 1 : 0; orientation<4; orientation++){
4347 SubBand *b= &p->band[level][orientation];
4351 if(orientation==0)
4353 encode_subband(s, b, b->ibuf, b->parent ? b->parent->ibuf : NULL, b->stride, orientation);
4355 if(orientation==0)
4361 for(orientation=level ? 1 : 0; orientation<4; orientation++){
4362 SubBand *b= &p->band[level][orientation];
4442 int plane_index, level, orientation, i;
4465 for(orientation=level ? 1 : 0; orientation<4; orientation++){
4466 SubBand *b= &s->plane[plane_index].band[level][orientation];
4498 int level, orientation, plane_index, i;
4549 for(orientation=level ? 1 : 0; orientation<4; orientation++){
4550 SubBand *b= &p->band[level][orientation];
4551 unpack_coeffs(s, b, b->parent, orientation);
4577 for(orientation=level ? 1 : 0; orientation<4; orientation++){
4578 SubBand *b= &p->band[level][orientation];
4594 if (orientation == 0){
4603 decode_subband_slice_buffered(s, b, &s->sb, start_y, end_y, decode_state[level][orientation]);
4753 int level, orientation, x, y;
4761 for(orientation=level ? 1 : 0; orientation<4; orientation++){
4768 if(orientation&1) buf+=w;
4769 if(orientation>1) buf+=stride>>1;
4783 errors[level][orientation]= error;
4791 for(orientation=0; orientation<4; orientation++){
4792 printf("%8"PRId64",", errors[level][orientation]/g);