Lines Matching refs:cc

50 static bool isNullPad(CCData *cc) {  in isNullPad()  argument
51 return cc->mData1 < 0x10 && cc->mData2 < 0x10; in isNullPad()
62 CCData *cc = (CCData *) (ccBuf->data() + offset); in dumpBytePair() local
64 if (isNullPad(cc)) { in dumpBytePair()
70 if (cc->mData1 >= 0x20 && cc->mData1 <= 0x7f) { in dumpBytePair()
72 sprintf(tmp, "[%d]Basic: %c %c", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
73 } else if ((cc->mData1 == 0x11 || cc->mData1 == 0x19) in dumpBytePair()
74 && cc->mData2 >= 0x30 && cc->mData2 <= 0x3f) { in dumpBytePair()
76 sprintf(tmp, "[%d]Special: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
77 } else if ((cc->mData1 == 0x12 || cc->mData1 == 0x1A) in dumpBytePair()
78 && cc->mData2 >= 0x20 && cc->mData2 <= 0x3f){ in dumpBytePair()
80 sprintf(tmp, "[%d]Spanish: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
81 } else if ((cc->mData1 == 0x13 || cc->mData1 == 0x1B) in dumpBytePair()
82 && cc->mData2 >= 0x20 && cc->mData2 <= 0x3f){ in dumpBytePair()
84 sprintf(tmp, "[%d]German: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
85 } else if ((cc->mData1 == 0x11 || cc->mData1 == 0x19) in dumpBytePair()
86 && cc->mData2 >= 0x20 && cc->mData2 <= 0x2f){ in dumpBytePair()
88 sprintf(tmp, "[%d]Mid-row: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
89 } else if (((cc->mData1 == 0x14 || cc->mData1 == 0x1c) in dumpBytePair()
90 && cc->mData2 >= 0x20 && cc->mData2 <= 0x2f) in dumpBytePair()
92 ((cc->mData1 == 0x17 || cc->mData1 == 0x1f) in dumpBytePair()
93 && cc->mData2 >= 0x21 && cc->mData2 <= 0x23)){ in dumpBytePair()
95 sprintf(tmp, "[%d]Ctrl: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
96 } else if ((cc->mData1 & 0x70) == 0x10 in dumpBytePair()
97 && (cc->mData2 & 0x40) == 0x40 in dumpBytePair()
98 && ((cc->mData1 & 0x07) || !(cc->mData2 & 0x20)) ) { in dumpBytePair()
100 sprintf(tmp, "[%d]PAC: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
102 sprintf(tmp, "[%d]Invalid: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
288 CCData cc(cc_type, cc_data_1, cc_data_2); in parseSEINalUnit() local
289 if (!isNullPad(&cc)) { in parseSEINalUnit()
291 if (cc.getChannel(&channel) && getTrackIndex(channel) < 0) { in parseSEINalUnit()
297 (void *)&cc, sizeof(cc)); in parseSEINalUnit()