Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/pi.c

Issue 758593002: Update to openjpeg r2944 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: tab Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * The copyright in this software is being made available under the 2-clauses 2 * The copyright in this software is being made available under the 2-clauses
3 * BSD License, included below. This software may be subject to other third 3 * BSD License, included below. This software may be subject to other third
4 * party and contributor rights, including patent rights, and no such rights 4 * party and contributor rights, including patent rights, and no such rights
5 * are granted under this license. 5 * are granted under this license.
6 * 6 *
7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium 7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
8 * Copyright (c) 2002-2014, Professor Benoit Macq 8 * Copyright (c) 2002-2014, Professor Benoit Macq
9 * Copyright (c) 2001-2003, David Janssens 9 * Copyright (c) 2001-2003, David Janssens
10 * Copyright (c) 2002-2003, Yannick Verschueren 10 * Copyright (c) 2002-2003, Yannick Verschueren
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 return OPJ_TRUE; 1098 return OPJ_TRUE;
1099 }else{ 1099 }else{
1100 return OPJ_FALSE; 1100 return OPJ_FALSE;
1101 } 1101 }
1102 }else{ 1102 }else{
1103 return OPJ_TRUE; 1103 return OPJ_TRUE;
1104 } 1104 }
1105 break; 1105 break;
1106 case 'P': 1106 case 'P':
1107 switch(tcp->prg){ 1107 switch(tcp->prg){
1108 case OPJ_LRCP: // fall through 1108 case OPJ_LRCP: /* fall through */
1109 case OPJ_RLCP: 1109 case OPJ_RLCP:
1110 if(tcp->prc_t == tcp->prcE){ 1110 if(tcp->prc_t == tcp->prcE){
1111 if(opj_pi_check_next_level(i -1,cp,tileno,pino,prog)){ 1111 if(opj_pi_check_next_level(i -1,cp,tileno,pino,prog)){
1112 return OPJ_TRUE; 1112 return OPJ_TRUE;
1113 }else{ 1113 }else{
1114 return OPJ_FALSE; 1114 return OPJ_FALSE;
1115 } 1115 }
1116 }else{ 1116 }else{
1117 return OPJ_TRUE; 1117 return OPJ_TRUE;
1118 } 1118 }
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1863 case OPJ_PCRL: 1863 case OPJ_PCRL:
1864 return opj_pi_next_pcrl(pi); 1864 return opj_pi_next_pcrl(pi);
1865 case OPJ_CPRL: 1865 case OPJ_CPRL:
1866 return opj_pi_next_cprl(pi); 1866 return opj_pi_next_cprl(pi);
1867 case OPJ_PROG_UNKNOWN: 1867 case OPJ_PROG_UNKNOWN:
1868 return OPJ_FALSE; 1868 return OPJ_FALSE;
1869 } 1869 }
1870 1870
1871 return OPJ_FALSE; 1871 return OPJ_FALSE;
1872 } 1872 }
OLDNEW
« no previous file with comments | « core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/jp2.c ('k') | core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t1.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698