• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/

Lines Matching defs:packet

53 #define QDM2_LIST_ADD(list, size, packet) \
58 list[size].packet = packet; \
97 QDM2SubPacket *packet; ///< packet
98 struct QDM2SubPNode *next; ///< pointer to next packet in the list, NULL if leaf node
152 /// Packets and packet lists
196 int has_errors; ///< packet has errors
390 * Fill a QDM2SubPacket structure with packet type, size, and data pointer.
393 * @param sub_packet packet under analysis
423 * Return node pointer to first packet of requested type in list.
431 while (list != NULL && list->packet != NULL) {
432 if (list->packet->type == type)
638 * @param superblocktype_2_3 flag based on superblock packet type
765 * @param length packet length in bits
951 * Init the first element of a channel in quantized_coeffs with data from packet 10 (quantized_coeffs[ch][0]).
957 * @param length packet length in bits
988 * Related to synthesis filter, process data from packet 10
990 * Init tone_level_idx_hi1, tone_level_idx_hi2, tone_level_idx_mid with data from packet 10
994 * @param length packet length in bits
1057 * @param node pointer to node with packet
1064 init_get_bits(&gb, node->packet->data, node->packet->size*8);
1095 * @param node pointer to node with packet
1096 * @param length packet length in bits
1102 init_get_bits(&gb, ((node == NULL) ? empty_buffer : node->packet->data), ((node == NULL) ? 0 : node->packet->size*8));
1117 * @param node pointer to node with packet
1118 * @param length packet length in bit
1124 init_get_bits(&gb, ((node == NULL) ? empty_buffer : node->packet->data), ((node == NULL) ? 0 : node->packet->size*8));
1141 * @param node pointer to node with packet
1142 * @param length packet length in bits
1148 init_get_bits(&gb, ((node == NULL) ? empty_buffer : node->packet->data), ((node == NULL) ? 0 : node->packet->size*8));
1168 process_subpacket_10(q, nodes[1], nodes[1]->packet->size << 3);
1174 process_subpacket_11(q, nodes[2], (nodes[2]->packet->size << 3));
1180 process_subpacket_12(q, nodes[3], (nodes[3]->packet->size << 3));
1187 * Decode superblock, fill packet lists.
1194 QDM2SubPacket header, *packet;
1229 av_log(NULL,AV_LOG_ERROR,"bad packet checksum\n");
1234 q->sub_packet_list_B[0].packet = NULL;
1235 q->sub_packet_list_D[0].packet = NULL;
1258 packet = &q->sub_packets[i];
1259 qdm2_decode_sub_packet_header(&gb, packet);
1260 next_index = packet->size + get_bits_count(&gb) / 8;
1261 sub_packet_size = ((packet->size > 0xff) ? 1 : 0) + packet->size + 2;
1263 if (packet->type == 0)
1267 if (packet->type != 10 && packet->type != 11 && packet->type != 12)
1269 packet->size += packet_bytes - sub_packet_size;
1275 q->sub_packet_list_A[i].packet = packet;
1278 if (packet->type == 8) {
1279 SAMPLES_NEEDED_2("packet type 8");
1281 } else if (packet->type >= 9 && packet->type <= 12) {
1283 QDM2_LIST_ADD(q->sub_packet_list_D, sub_packets_D, packet);
1284 } else if (packet->type == 13) {
1287 } else if (packet->type == 14) {
1290 } else if (packet->type == 15) {
1291 SAMPLES_NEEDED_2("packet type 15")
1293 } else if (packet->type >= 16 && packet->type < 48 && !fft_subpackets[packet->type - 16]) {
1295 QDM2_LIST_ADD(q->sub_packet_list_B, q->sub_packets_B, packet);
1300 if (q->sub_packet_list_D[0].packet != NULL) {
1412 if (q->sub_packet_list_B[0].packet == NULL)
1422 QDM2SubPacket *packet= NULL;
1426 value = q->sub_packet_list_B[j].packet->type;
1429 packet = q->sub_packet_list_B[j].packet;
1436 if (!packet)
1439 if (i == 0 && (packet->type < 16 || packet->type >= 48 || fft_subpackets[packet->type - 16]))
1443 init_get_bits (&gb, packet->data, packet->size*8);
1445 if (packet->type >= 32 && packet->type < 48 && !fft_subpackets[packet->type - 16])
1450 type = packet->type;
1747 32 packet size (=1300)
1948 if (!q->has_errors && q->sub_packet_list_C[0].packet != NULL) {