Lines Matching refs:objects

40 #define MAX_OBJECT_REFS    2   // Max objects per display set
66 PGSSubObjectRef objects[MAX_OBJECT_REFS];
98 PGSSubObjects objects;
107 for (i = 0; i < ctx->objects.count; i++) {
108 av_freep(&ctx->objects.object[i].rle);
109 ctx->objects.object[i].rle_buffer_size = 0;
110 ctx->objects.object[i].rle_remaining_len = 0;
112 ctx->objects.count = 0;
116 static PGSSubObject * find_object(int id, PGSSubObjects *objects)
120 for (i = 0; i < objects->count; i++) {
121 if (objects->object[i].id == id)
122 return &objects->object[i];
247 object = find_object(id, &ctx->objects);
249 if (ctx->objects.count >= MAX_EPOCH_OBJECTS) {
250 av_log(avctx, AV_LOG_ERROR, "Too many objects in epoch\n");
253 object = &ctx->objects.object[ctx->objects.count++];
416 * 00 - Normal, previously defined objects and palettes are still valid
417 * 01 - Acquisition point, previous objects and palettes can be released
418 * 10 - Epoch start, previous objects and palettes can be released
419 * 11 - Epoch continue, previous objects and palettes can be released
436 "Invalid number of presentation objects %d\n",
447 PGSSubObjectRef *const object = &ctx->presentation.objects[i];
512 // objects (i.e. clears the previous sub)
541 object = find_object(ctx->presentation.objects[i].id, &ctx->objects);
545 ctx->presentation.objects[i].id);
551 if (ctx->presentation.objects[i].composition_flag & 0x40)
554 rect->x = ctx->presentation.objects[i].x;
555 rect->y = ctx->presentation.objects[i].y;
586 if (!ctx->forced_subs_only || ctx->presentation.objects[i].composition_flag & 0x40)