Lines Matching defs:bytes
62 int newsize = avc_context->extradata_size + 2 + packet->bytes;
65 if (packet->bytes < 0) {
67 } else if (packet->bytes > 0xffff) {
68 message = "ogg_packet is larger than 65535 bytes";
83 AV_WB16(avc_context->extradata + (*offset), packet->bytes);
85 memcpy(avc_context->extradata + (*offset), packet->packet, packet->bytes);
86 (*offset) += packet->bytes;
95 int bytes;
97 bytes = th_encode_ctl(h->t_state, TH_ENCCTL_2PASS_OUT, &buf, sizeof(buf));
98 if (bytes < 0) {
104 h->stats_offset + bytes);
108 memcpy(h->stats + h->stats_offset, buf, bytes);
109 h->stats_offset += bytes;
113 memcpy(h->stats, buf, bytes);
132 int bytes;
147 bytes = th_encode_ctl(h->t_state, TH_ENCCTL_2PASS_IN,
150 if (bytes < 0) {
154 if (!bytes)
156 h->stats_offset += bytes;
343 if ((ret = ff_get_encode_buffer(avc_context, pkt, o_packet.bytes, 0)) < 0)
345 memcpy(pkt->data, o_packet.packet, o_packet.bytes);