Lines Matching refs:componentSpecs
824 int numChannels = sof.componentSpecs.length;
873 for (int i = 0; i < sof.componentSpecs.length; i++) {
874 int id = sof.componentSpecs[i].componentId;
875 if ((id < 1) || (id >= sof.componentSpecs.length)) {
889 if ((sof.componentSpecs[0].componentId == 'R')
890 && (sof.componentSpecs[1].componentId == 'G')
891 && (sof.componentSpecs[2].componentId == 'B')){
895 && (sof.componentSpecs[3].componentId == 'A')) {
901 if ((sof.componentSpecs[0].componentId == 'Y')
902 && (sof.componentSpecs[1].componentId == 'C')
903 && (sof.componentSpecs[2].componentId == 'c')){
907 && (sof.componentSpecs[3].componentId == 'A')) {
918 int hfactor = sof.componentSpecs[0].HsamplingFactor;
919 int vfactor = sof.componentSpecs[0].VsamplingFactor;
921 for (int i = 1; i<sof.componentSpecs.length; i++) {
922 if ((sof.componentSpecs[i].HsamplingFactor != hfactor)
923 || (sof.componentSpecs[i].VsamplingFactor != vfactor)){
1660 if ((sof.componentSpecs.length != numChannels) && (sos != null)) {
1700 // Keep the old componentSpecs array
1704 oldCompSpecs = sof.componentSpecs;
1741 for (int i = 0; i < target.componentSpecs.length; i++) {
1743 target.componentSpecs[i].componentSelector;
1744 // Find the position in the old componentSpecs array
1752 target.componentSpecs[i].componentSelector =
1764 for (int i = 0; i < sos.componentSpecs.length; i++) {
1765 if ((sos.componentSpecs[i].dcHuffTable
1767 || (sos.componentSpecs[i].acHuffTable
1928 int numChannels = sof.componentSpecs.length;
1931 for (int i = 0; i < sof.componentSpecs.length; i++) {
1932 if (sof.componentSpecs[i].componentId != i+1)
2091 int numChannels = sof.componentSpecs.length;
2109 for (int i = 0; i < sof.componentSpecs.length; i++) {
2110 newSpecs[i] = sof.componentSpecs[i];
2112 byte oldFirstID = (byte) sof.componentSpecs[0].componentId;
2116 sof.componentSpecs[0].HsamplingFactor,
2117 sof.componentSpecs[0].QtableSelector);
2119 sof.componentSpecs = newSpecs;
2124 for (int i = 0; i < sos.componentSpecs.length; i++) {
2125 newScanSpecs[i] = sos.componentSpecs[i];
2129 sos.componentSpecs = newScanSpecs;
2136 newSpecs[i] = sof.componentSpecs[i];
2138 sof.componentSpecs = newSpecs;
2144 newScanSpecs[i] = sos.componentSpecs[i];
2146 sos.componentSpecs = newScanSpecs;
2264 int numSOFBands = sof.componentSpecs.length;
2277 if (sof.componentSpecs[i].componentId != i+1) {
2318 SOSMarkerSegment.ScanComponentSpec [] specs = sos.componentSpecs;