Lines Matching refs:command

108 	producer_late_notice_received_command command;
109 command.source = whatSource;
110 command.how_much = howMuch;
111 command.performance_time = performanceTime;
113 SendToPort(whatSource.port, PRODUCER_LATE_NOTICE_RECEIVED, &command,
114 sizeof(command));
135 producer_video_clipping_changed_command* command;
138 command
140 if (command == NULL)
143 command->source = output;
144 command->destination = destination;
145 command->display = display;
146 command->user_data = userData;
147 command->change_tag = NewChangeTag();
148 command->short_count = shortCount;
149 memcpy(command->shorts, shorts, shortCount * sizeof(short));
151 *_changeTag = command->change_tag;
154 command, size);
156 free(command);
175 producer_enable_output_command command;
177 command.source = source;
178 command.destination = destination;
179 command.enabled = enabled;
180 command.user_data = user_data;
181 command.change_tag = NewChangeTag();
183 *change_tag = command.change_tag;
185 return SendToPort(source.port, PRODUCER_ENABLE_OUTPUT, &command, sizeof(command));
203 producer_format_change_requested_command command;
205 command.source = source;
206 command.destination = destination;
207 command.format = to_format;
208 command.user_data = user_data;
209 command.change_tag = NewChangeTag();
211 *change_tag = command.change_tag;
213 return SendToPort(source.port, PRODUCER_FORMAT_CHANGE_REQUESTED, &command, sizeof(command));
226 producer_additional_buffer_requested_command command;
228 command.source = source;
229 command.prev_buffer = prev_buffer->ID();
230 command.prev_time = 0;
231 command.has_seek_tag = false;
232 //command.prev_tag =
234 return SendToPort(source.port, PRODUCER_ADDITIONAL_BUFFER_REQUESTED, &command, sizeof(command));
246 producer_additional_buffer_requested_command command;
248 command.source = source;
249 command.prev_buffer = 0;
250 command.prev_time = startTime;
251 command.has_seek_tag = false;
254 &command, sizeof(command));
280 producer_set_buffer_group_command *command
282 MemoryDeleter deleter(command);
284 command->source = source;
285 command->destination = destination;
286 command->user_data = user_data;
287 command->change_tag = NewChangeTag();
294 command->buffers[i] = buffers[i]->ID();
297 command->buffer_count = buffer_count;
300 *change_tag = command->change_tag;
303 command, size);
324 producer_latency_changed_command command;
326 command.source = source;
327 command.destination = destination;
328 command.latency = newLatency;
329 command.flags = flags;
335 return SendToPort(source.port, PRODUCER_LATENCY_CHANGED, &command,
336 sizeof(command));
379 const consumer_buffer_received_command* command
382 BBuffer* buffer = fBufferCache->GetBuffer(command->buffer,
383 command->header.source_port);
388 buffer->SetHeader(&command->header);
402 const consumer_producer_data_status_command *command = static_cast<const consumer_producer_data_status_command *>(data);
403 ProducerDataStatus(command->for_whom, command->status, command->at_performance_time);
512 producer_video_clipping_changed_command *command;
517 command = static_cast<producer_video_clipping_changed_command *>(malloc(size));
518 command->source = output;
519 command->destination = media_destination::null;
520 command->display = display;
521 command->user_data = 0;
522 command->change_tag = NewChangeTag();
523 command->short_count = short_count;
524 memcpy(command->shorts, shorts, short_count * sizeof(short));
526 *change_tag = command->change_tag;
528 rv = SendToPort(output.port, PRODUCER_VIDEO_CLIPPING_CHANGED, command, size);
529 free(command);
547 producer_format_change_requested_command command;
549 command.source = source;
550 command.destination = destination;
551 command.format = *format;
552 command.user_data = 0;
553 command.change_tag = NewChangeTag();
555 *_changeTag = command.change_tag;
557 return SendToPort(source.port, PRODUCER_FORMAT_CHANGE_REQUESTED, &command,
558 sizeof(command));
572 producer_enable_output_command command;
574 command.source = source;
575 command.destination = media_destination::null;
576 command.enabled = enabled;
577 command.user_data = 0;
578 command.change_tag = NewChangeTag();
580 *_changeTag = command.change_tag;
582 return SendToPort(source.port, PRODUCER_ENABLE_OUTPUT, &command,
583 sizeof(command));