Lines Matching defs:pc1
45 static int dca_find_frame_end(DCAParseContext * pc1, const uint8_t * buf,
50 ParseContext *pc = &pc1->pc;
60 if (pc1->lastmarker && state == pc1->lastmarker) {
63 } else if (!pc1->lastmarker) {
65 pc1->lastmarker = state;
73 pc1->size++;
75 if (state == DCA_HD_MARKER && !pc1->hd_pos)
76 pc1->hd_pos = pc1->size;
77 if (state == pc1->lastmarker && IS_MARKER(state, i, buf, buf_size)) {
78 if(pc1->framesize > pc1->size)
80 if(!pc1->framesize){
81 pc1->framesize = pc1->hd_pos ? pc1->hd_pos : pc1->size;
85 pc1->size = 0;
97 DCAParseContext *pc1 = s->priv_data;
99 pc1->lastmarker = 0;
108 DCAParseContext *pc1 = s->priv_data;
109 ParseContext *pc = &pc1->pc;
115 next = dca_find_frame_end(pc1, buf, buf_size);