• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching defs:packet

54 #define QDM2_LIST_ADD(list, size, packet) \
59 list[size].packet = packet; \
96 QDM2SubPacket *packet; ///< packet
97 struct QDM2SubPNode *next; ///< pointer to next packet in the list, NULL if leaf node
148 /// Packets and packet lists
192 int has_errors; ///< packet has errors
422 * Fill a QDM2SubPacket structure with packet type, size, and data pointer.
425 * @param sub_packet packet under analysis
456 * Return node pointer to first packet of requested type in list.
465 while (list != NULL && list->packet != NULL) {
466 if (list->packet->type == type)
687 * @param superblocktype_2_3 flag based on superblock packet type
813 * @param length packet length in bits
1025 * from packet 10 (quantized_coeffs[ch][0]).
1066 * Related to synthesis filter, process data from packet 10
1069 * data from packet 10
1135 * @param node pointer to node with packet
1142 init_get_bits(&gb, node->packet->data, node->packet->size * 8);
1177 * @param node pointer to node with packet
1184 init_get_bits(&gb, node->packet->data, node->packet->size * 8);
1196 * @param node pointer to node with packet
1204 length = node->packet->size * 8;
1205 init_get_bits(&gb, node->packet->data, length);
1225 * @param node pointer to node with packet
1233 length = node->packet->size * 8;
1234 init_get_bits(&gb, node->packet->data, length);
1274 * Decode superblock, fill packet lists.
1281 QDM2SubPacket header, *packet;
1316 av_log(NULL, AV_LOG_ERROR, "bad packet checksum\n");
1321 q->sub_packet_list_B[0].packet = NULL;
1322 q->sub_packet_list_D[0].packet = NULL;
1332 SAMPLES_NEEDED_2("too many packet bytes");
1350 packet = &q->sub_packets[i];
1351 qdm2_decode_sub_packet_header(&gb, packet);
1352 next_index = packet->size + get_bits_count(&gb) / 8;
1353 sub_packet_size = ((packet->size > 0xff) ? 1 : 0) + packet->size + 2;
1355 if (packet->type == 0)
1359 if (packet->type != 10 && packet->type != 11 && packet->type != 12)
1361 packet->size += packet_bytes - sub_packet_size;
1367 q->sub_packet_list_A[i].packet = packet;
1370 if (packet->type == 8) {
1371 SAMPLES_NEEDED_2("packet type 8");
1373 } else if (packet->type >= 9 && packet->type <= 12) {
1375 QDM2_LIST_ADD(q->sub_packet_list_D, sub_packets_D, packet);
1376 } else if (packet->type == 13) {
1379 } else if (packet->type == 14) {
1382 } else if (packet->type == 15) {
1383 SAMPLES_NEEDED_2("packet type 15")
1385 } else if (packet->type >= 16 && packet->type < 48 &&
1386 !fft_subpackets[packet->type - 16]) {
1388 QDM2_LIST_ADD(q->sub_packet_list_B, q->sub_packets_B, packet);
1392 if (q->sub_packet_list_D[0].packet != NULL) {
1509 if (q->sub_packet_list_B[0].packet == NULL)
1519 QDM2SubPacket *packet = NULL;
1523 value = q->sub_packet_list_B[j].packet->type;
1526 packet = q->sub_packet_list_B[j].packet;
1533 if (!packet)
1537 (packet->type < 16 || packet->type >= 48 ||
1538 fft_subpackets[packet->type - 16]))
1542 init_get_bits(&gb, packet->data, packet->size * 8);
1544 if (packet->type >= 32 && packet->type < 48 && !fft_subpackets[packet->type - 16])
1549 type = packet->type;
1801 32 packet size (=1300)
1990 if (!q->has_errors && q->sub_packet_list_C[0].packet != NULL) {