Lines Matching defs:target_layer

1038     int target_layer;
1048 display_time = target_layer = -1;
1097 target_layer = idx;
1104 if (target_layer < 0) return PV_FALSE;
1107 video->currLayer = target_layer;
1108 currVol = video->vol[target_layer];
1113 if (vopHeader[target_layer]->timeStamp < 0)
1115 stream = video->vol[target_layer]->bitstream;
1116 BitstreamReset(stream, buffer[target_layer], buffer_size[target_layer]);
1118 while (DecodeVOPHeader(video, vopHeader[target_layer], TRUE) != PV_SUCCESS)
1125 buffer_size[target_layer] = 0;
1129 video->vol[target_layer]->timeInc_offset = vopHeader[target_layer]->timeInc;
1130 video->vol[target_layer]->moduloTimeBase = timestamp[target_layer];
1131 vopHeader[target_layer]->timeStamp = timestamp[target_layer];
1132 if (target_layer == 0) vopHeader[target_layer]->refSelectCode = 1;
1138 video->currLayer = target_layer = 0;
1203 timestamp[target_layer] = video->currTimestamp = vopHeader[target_layer]->timeStamp;
1205 vopHeader[target_layer]->yChan = (PIXEL *)currYUV;
1206 vopHeader[target_layer]->uChan = (PIXEL *)currYUV + decCtrl->size;
1207 vopHeader[target_layer]->vChan = (PIXEL *)(vopHeader[target_layer]->uChan) + (decCtrl->size >> 2);
1209 vopHeader[target_layer]->yChan = currVop->yChan;
1210 vopHeader[target_layer]->uChan = currVop->uChan;
1211 vopHeader[target_layer]->vChan = currVop->vChan;
1213 oscl_memcpy(currVop, vopHeader[target_layer], sizeof(Vop));
1216 vopHeader[target_layer]->timeStamp = -1;
1219 header_info->currLayer = target_layer;
1222 header_info->refSelCode = vopHeader[target_layer]->refSelectCode;
1244 int target_layer = video->currLayer;
1245 Vol *currVol = video->vol[target_layer];
1264 if (bytes_consumed < buffer_size[target_layer])
1268 /* oscl_memcpy(buffer[target_layer], buffer[target_layer]+bytes_consumed,
1269 (buffer_size[target_layer]-=bytes_consumed)); */
1270 buffer_size[target_layer] -= bytes_consumed;
1274 buffer_size[target_layer] = 0;
1278 if (target_layer)
1297 if (target_layer)
1310 if (target_layer) /* this is necessary to avoid flashback problems 06/21/2002*/
1352 if (target_layer)
1400 if (bytes_consumed < buffer_size[target_layer])
1404 /* oscl_memcpy(buffer[target_layer], buffer[target_layer]+bytes_consumed,
1405 (buffer_size[target_layer]-=bytes_consumed)); */
1406 buffer_size[target_layer] -= bytes_consumed;
1410 buffer_size[target_layer] = 0;
1432 if (target_layer)