frame_size 196 doc/examples/encode_audio.c frame->nb_samples = c->frame_size; frame_size 218 doc/examples/encode_audio.c for (j = 0; j < c->frame_size; j++) { frame_size 272 doc/examples/muxing.c nb_samples = c->frame_size; frame_size 439 doc/examples/transcode_aac.c int frame_size) frame_size 457 doc/examples/transcode_aac.c frame_size, frame_size 482 doc/examples/transcode_aac.c uint8_t **converted_data, const int frame_size, frame_size 489 doc/examples/transcode_aac.c converted_data, frame_size, frame_size 490 doc/examples/transcode_aac.c input_data , frame_size)) < 0) { frame_size 509 doc/examples/transcode_aac.c const int frame_size) frame_size 515 doc/examples/transcode_aac.c if ((error = av_audio_fifo_realloc(fifo, av_audio_fifo_size(fifo) + frame_size)) < 0) { frame_size 522 doc/examples/transcode_aac.c frame_size) < frame_size) { frame_size 614 doc/examples/transcode_aac.c int frame_size) frame_size 629 doc/examples/transcode_aac.c (*frame)->nb_samples = frame_size; frame_size 737 doc/examples/transcode_aac.c const int frame_size = FFMIN(av_audio_fifo_size(fifo), frame_size 738 doc/examples/transcode_aac.c output_codec_context->frame_size); frame_size 742 doc/examples/transcode_aac.c if (init_output_frame(&output_frame, output_codec_context, frame_size)) frame_size 747 doc/examples/transcode_aac.c if (av_audio_fifo_read(fifo, (void **)output_frame->data, frame_size) < frame_size) { frame_size 815 doc/examples/transcode_aac.c const int output_frame_size = output_codec_context->frame_size; frame_size 129 fftools/ffmpeg.c static void do_video_stats(OutputStream *ost, int frame_size); frame_size 1055 fftools/ffmpeg.c int frame_size = 0; frame_size 1310 fftools/ffmpeg.c frame_size = pkt.size; frame_size 1326 fftools/ffmpeg.c if (vstats_filename && frame_size) frame_size 1327 fftools/ffmpeg.c do_video_stats(ost, frame_size); frame_size 1349 fftools/ffmpeg.c static void do_video_stats(OutputStream *ost, int frame_size) frame_size 1378 fftools/ffmpeg.c fprintf(vstats_file,"f_size= %6d ", frame_size); frame_size 1384 fftools/ffmpeg.c bitrate = (frame_size * 8) / av_q2d(enc->time_base) / 1000.0; frame_size 2041 fftools/ffmpeg.c duration = ist->dec_ctx->frame_size; frame_size 2692 fftools/ffmpeg.c ist->next_dts += ((int64_t)AV_TIME_BASE * ist->dec_ctx->frame_size) / frame_size 3488 fftools/ffmpeg.c ost->enc_ctx->frame_size); frame_size 1140 fftools/ffmpeg_filter.c ost->enc_ctx->frame_size); frame_size 1703 fftools/ffmpeg_opt.c char *frame_size = NULL; frame_size 1710 fftools/ffmpeg_opt.c MATCH_PER_STREAM_OPT(frame_sizes, str, frame_size, oc, st); frame_size 1711 fftools/ffmpeg_opt.c if (frame_size && av_parse_video_size(&video_enc->width, &video_enc->height, frame_size) < 0) { frame_size 1712 fftools/ffmpeg_opt.c av_log(NULL, AV_LOG_FATAL, "Invalid frame size: %s.\n", frame_size); frame_size 1988 fftools/ffmpeg_opt.c char *frame_size = NULL; frame_size 1990 fftools/ffmpeg_opt.c MATCH_PER_STREAM_OPT(frame_sizes, str, frame_size, oc, st); frame_size 1991 fftools/ffmpeg_opt.c if (frame_size && av_parse_video_size(&subtitle_enc->width, &subtitle_enc->height, frame_size) < 0) { frame_size 1992 fftools/ffmpeg_opt.c av_log(NULL, AV_LOG_FATAL, "Invalid frame size: %s.\n", frame_size); frame_size 140 fftools/ffplay.c int frame_size; frame_size 2471 fftools/ffplay.c is->audio_buf_size = SDL_AUDIO_MIN_BUFFER_SIZE / is->audio_tgt.frame_size * is->audio_tgt.frame_size; frame_size 2565 fftools/ffplay.c audio_hw_params->frame_size = av_samples_get_buffer_size(NULL, audio_hw_params->channels, 1, audio_hw_params->fmt, 1); frame_size 2567 fftools/ffplay.c if (audio_hw_params->bytes_per_sec <= 0 || audio_hw_params->frame_size <= 0) { frame_size 841 libavcodec/4xm.c int i, frame_4cc, frame_size, ret; frame_size 909 libavcodec/4xm.c frame_size = cfrm->size; frame_size 924 libavcodec/4xm.c frame_size = buf_size - 12; frame_size 932 libavcodec/4xm.c if ((ret = decode_i2_frame(f, buf - 4, frame_size + 4)) < 0) { frame_size 938 libavcodec/4xm.c if ((ret = decode_i_frame(f, buf, frame_size)) < 0) { frame_size 944 libavcodec/4xm.c if ((ret = decode_p_frame(f, buf, frame_size)) < 0) { frame_size 42 libavcodec/aac_ac3_parser.h int frame_size; frame_size 3295 libavcodec/aacdec_template.c avctx->frame_size = samples; frame_size 892 libavcodec/aacenc.c ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, frame_size 970 libavcodec/aacenc.c avctx->frame_size = 1024; frame_size 1099 libavcodec/aacenc.c ff_lpc_init(&s->lpc, 2*avctx->frame_size, TNS_MAX_ORDER, FF_LPC_TYPE_LEVINSON); frame_size 204 libavcodec/ac3.h uint16_t frame_size; frame_size 108 libavcodec/ac3_parser.c hdr->frame_size = ff_ac3_frame_size_tab[frame_size_code][hdr->sr_code] * 2; frame_size 120 libavcodec/ac3_parser.c hdr->frame_size = (get_bits(gbc, 11) + 1) << 1; frame_size 121 libavcodec/ac3_parser.c if(hdr->frame_size < AC3_HEADER_SIZE) frame_size 140 libavcodec/ac3_parser.c hdr->bit_rate = 8LL * hdr->frame_size * hdr->sample_rate / frame_size 176 libavcodec/ac3_parser.c uint8_t *bitstream_id, uint16_t *frame_size) frame_size 188 libavcodec/ac3_parser.c *frame_size = hdr.frame_size; frame_size 231 libavcodec/ac3_parser.c return hdr.frame_size; frame_size 260 libavcodec/ac3_parser.c uint8_t *bitstream_id, uint16_t *frame_size) frame_size 33 libavcodec/ac3_parser.h uint8_t *bitstream_id, uint16_t *frame_size); frame_size 319 libavcodec/ac3dec.c s->frame_size = hdr.frame_size; frame_size 320 libavcodec/ac3dec.c s->superframe_size += hdr.frame_size; frame_size 1559 libavcodec/ac3dec.c if (s->frame_size > buf_size) { frame_size 1565 libavcodec/ac3dec.c s->frame_size - 2)) { frame_size 1577 libavcodec/ac3dec.c return FFMIN(full_buf_size, s->frame_size); frame_size 1654 libavcodec/ac3dec.c if (buf_size > s->frame_size) { frame_size 1658 libavcodec/ac3dec.c if (buf_size - s->frame_size <= 16) { frame_size 1659 libavcodec/ac3dec.c skip = buf_size - s->frame_size; frame_size 1663 libavcodec/ac3dec.c if ((ret = init_get_bits8(&s->gbc, buf + s->frame_size, buf_size - s->frame_size)) < 0) frame_size 1674 libavcodec/ac3dec.c buf += s->frame_size; frame_size 1675 libavcodec/ac3dec.c buf_size -= s->frame_size; frame_size 1823 libavcodec/ac3dec.c return FFMIN(full_buf_size, s->frame_size + skip); frame_size 80 libavcodec/ac3dec.h int frame_size; ///< current frame size, in bytes frame_size 189 libavcodec/ac3enc.c s->frame_size = s->frame_size_min + frame_size 191 libavcodec/ac3enc.c s->bits_written += s->frame_size * 8; frame_size 1101 libavcodec/ac3enc.c bits_left = 8 * s->frame_size - (s->frame_bits + s->exponent_bits); frame_size 1336 libavcodec/ac3enc.c put_bits(&s->pb, 6, s->frame_size_code + (s->frame_size - s->frame_size_min) / 2); frame_size 1618 libavcodec/ac3enc.c frame_size_58 = ((s->frame_size >> 2) + (s->frame_size >> 4)) << 1; frame_size 1621 libavcodec/ac3enc.c av_assert2(s->frame_size * 8 - put_bits_count(&s->pb) >= 18); frame_size 1624 libavcodec/ac3enc.c pad_bytes = s->frame_size - (put_bits_ptr(&s->pb) - frame) - 2; frame_size 1631 libavcodec/ac3enc.c crc2_partial = av_crc(crc_ctx, 0, frame + 2, s->frame_size - 5); frame_size 1636 libavcodec/ac3enc.c crc_inv = s->crc_inv[s->frame_size > s->frame_size_min]; frame_size 1642 libavcodec/ac3enc.c s->frame_size - frame_size_58 - 3); frame_size 1644 libavcodec/ac3enc.c crc2 = av_crc(crc_ctx, crc2_partial, frame + s->frame_size - 3, 1); frame_size 1647 libavcodec/ac3enc.c frame[s->frame_size - 3] ^= 0x1; frame_size 1648 libavcodec/ac3enc.c crc2 = av_crc(crc_ctx, crc2_partial, frame + s->frame_size - 3, 1); frame_size 1651 libavcodec/ac3enc.c AV_WB16(frame + s->frame_size - 2, crc2); frame_size 2223 libavcodec/ac3enc.c s->frame_size = s->frame_size_min; frame_size 2438 libavcodec/ac3enc.c avctx->frame_size = AC3_BLOCK_SIZE * s->num_blocks; frame_size 2449 libavcodec/ac3enc.c frame_size_58 = (( s->frame_size >> 2) + ( s->frame_size >> 4)) << 1; frame_size 2452 libavcodec/ac3enc.c frame_size_58 = (((s->frame_size+2) >> 2) + ((s->frame_size+2) >> 4)) << 1; frame_size 187 libavcodec/ac3enc.h int frame_size; ///< current frame size in bytes frame_size 427 libavcodec/ac3enc_template.c if ((ret = ff_alloc_packet2(avctx, avpkt, s->frame_size, 0)) < 0) frame_size 108 libavcodec/adpcmenc.c avctx->frame_size = (BLKSIZE - 4 * avctx->channels) * 8 / frame_size 116 libavcodec/adpcmenc.c avctx->frame_size = 64; frame_size 122 libavcodec/adpcmenc.c avctx->frame_size = (BLKSIZE - 7 * avctx->channels) * 2 / avctx->channels + 2; frame_size 129 libavcodec/adpcmenc.c bytestream_put_le16(&extradata, avctx->frame_size); frame_size 137 libavcodec/adpcmenc.c avctx->frame_size = BLKSIZE * 2 / avctx->channels; frame_size 149 libavcodec/adpcmenc.c avctx->frame_size = 512 * (avctx->sample_rate / 11025); frame_size 152 libavcodec/adpcmenc.c avctx->frame_size = BLKSIZE * 2 / avctx->channels; frame_size 131 libavcodec/adxenc.c avctx->frame_size = BLOCK_SAMPLES; frame_size 161 libavcodec/aic.c uint32_t frame_size; frame_size 172 libavcodec/aic.c frame_size = AV_RB32(src + 2); frame_size 175 libavcodec/aic.c if (frame_size > size) { frame_size 177 libavcodec/aic.c frame_size, size); frame_size 65 libavcodec/alacenc.c int frame_size; /**< current frame size */ frame_size 95 libavcodec/alacenc.c for (i = 0; i < s->frame_size; i++) \ frame_size 140 libavcodec/alacenc.c if (s->frame_size < DEFAULT_FRAME_SIZE) frame_size 150 libavcodec/alacenc.c put_bits32(&s->pbctx, s->frame_size); // No. of samples in the frame frame_size 170 libavcodec/alacenc.c s->frame_size, frame_size 220 libavcodec/alacenc.c int i, mode, n = s->frame_size; frame_size 266 libavcodec/alacenc.c for (i = 1; i < s->frame_size; i++) { frame_size 285 libavcodec/alacenc.c for (i = lpc.lpc_order + 1; i < s->frame_size; i++) { frame_size 327 libavcodec/alacenc.c for (i = 0; i < s->frame_size;) { frame_size 347 libavcodec/alacenc.c if (history < 128 && i < s->frame_size) { frame_size 352 libavcodec/alacenc.c while (*samples == 0 && i < s->frame_size) { frame_size 383 libavcodec/alacenc.c for (i = 0; i < s->frame_size; i++) frame_size 390 libavcodec/alacenc.c for (i = 0; i < s->frame_size; i++) frame_size 408 libavcodec/alacenc.c for (i = 0; i < s->frame_size; i++) { frame_size 437 libavcodec/alacenc.c for (i = 0; i < s->frame_size; i++) { frame_size 452 libavcodec/alacenc.c for (j = s->frame_size - 1; j > 0; j--) frame_size 491 libavcodec/alacenc.c static av_always_inline int get_max_frame_size(int frame_size, int ch, int bps) frame_size 493 libavcodec/alacenc.c int header_bits = 23 + 32 * (frame_size < DEFAULT_FRAME_SIZE); frame_size 494 libavcodec/alacenc.c return FFALIGN(header_bits + bps * ch * frame_size + 3, 8) / 8; frame_size 512 libavcodec/alacenc.c avctx->frame_size = s->frame_size = DEFAULT_FRAME_SIZE; frame_size 535 libavcodec/alacenc.c s->max_coded_frame_size = get_max_frame_size(avctx->frame_size, frame_size 549 libavcodec/alacenc.c AV_WB32(alac_extradata+12, avctx->frame_size); frame_size 602 libavcodec/alacenc.c if ((ret = ff_lpc_init(&s->lpc_ctx, avctx->frame_size, frame_size 620 libavcodec/alacenc.c s->frame_size = frame->nb_samples; frame_size 623 libavcodec/alacenc.c max_frame_size = get_max_frame_size(s->frame_size, avctx->channels, frame_size 518 libavcodec/aptx.c if (avctx->frame_size == 0) frame_size 519 libavcodec/aptx.c avctx->frame_size = 256 * s->block_size; frame_size 521 libavcodec/aptx.c if (avctx->frame_size % s->block_size) { frame_size 170 libavcodec/audiotoolboxdec.c avctx->frame_size = format.mFramesPerPacket; frame_size 212 libavcodec/audiotoolboxdec.c if (!avctx->frame_size) frame_size 213 libavcodec/audiotoolboxdec.c avctx->frame_size = 2048; frame_size 343 libavcodec/audiotoolboxdec.c &in_format.mChannelsPerFrame, &avctx->frame_size, frame_size 360 libavcodec/audiotoolboxdec.c avctx->frame_size = hdr.num_blocks * 256; frame_size 390 libavcodec/audiotoolboxdec.c * avctx->frame_size * avctx->channels))) frame_size 511 libavcodec/audiotoolboxdec.c .mDataByteSize = av_get_bytes_per_sample(avctx->sample_fmt) * avctx->frame_size frame_size 529 libavcodec/audiotoolboxdec.c frame->nb_samples = avctx->frame_size; frame_size 50 libavcodec/audiotoolboxenc.c int frame_size; frame_size 115 libavcodec/audiotoolboxenc.c avctx->frame_size = out_format.mFramesPerPacket; frame_size 120 libavcodec/audiotoolboxenc.c at->frame_size = avctx->frame_size; frame_size 124 libavcodec/audiotoolboxenc.c avctx->frame_size *= 1024; frame_size 438 libavcodec/audiotoolboxenc.c UInt32 max_size = avctx->rc_max_rate * avctx->frame_size / avctx->sample_rate; frame_size 545 libavcodec/audiotoolboxenc.c *got_packet_ptr = avctx->frame_size / at->frame_size; frame_size 549 libavcodec/audiotoolboxenc.c (avctx->frame_size > at->frame_size) ? NULL : &out_pkt_desc); frame_size 557 libavcodec/audiotoolboxenc.c avctx->frame_size, frame_size 1206 libavcodec/avcodec.h int frame_size; frame_size 61 libavcodec/bitpacked.c uint64_t frame_size = (uint64_t)avctx->width * (uint64_t)avctx->height * 20; frame_size 71 libavcodec/bitpacked.c if (frame_size > packet_size) frame_size 478 libavcodec/cbs_av1_syntax_template.c static int FUNC(frame_size)(CodedBitstreamContext *ctx, RWContext *rw, frame_size 553 libavcodec/cbs_av1_syntax_template.c CHECK(FUNC(frame_size)(ctx, rw, current)); frame_size 1411 libavcodec/cbs_av1_syntax_template.c CHECK(FUNC(frame_size)(ctx, rw, current)); frame_size 1445 libavcodec/cbs_av1_syntax_template.c CHECK(FUNC(frame_size)(ctx, rw, current)); frame_size 70 libavcodec/cbs_vp9_syntax_template.c static int FUNC(frame_size)(CodedBitstreamContext *ctx, RWContext *rw, frame_size 128 libavcodec/cbs_vp9_syntax_template.c CHECK(FUNC(frame_size)(ctx, rw, current)); frame_size 295 libavcodec/cbs_vp9_syntax_template.c CHECK(FUNC(frame_size)(ctx, rw, current)); frame_size 328 libavcodec/cbs_vp9_syntax_template.c CHECK(FUNC(frame_size)(ctx, rw, current)); frame_size 63 libavcodec/cngdec.c avctx->frame_size = 640; frame_size 67 libavcodec/cngdec.c p->filter_out = av_mallocz_array(avctx->frame_size + p->order, frame_size 69 libavcodec/cngdec.c p->excitation = av_mallocz_array(avctx->frame_size, sizeof(*p->excitation)); frame_size 123 libavcodec/cngdec.c if (avctx->internal->skip_samples > 10 * avctx->frame_size) { frame_size 143 libavcodec/cngdec.c for (i = 0; i < avctx->frame_size; i++) { frame_size 148 libavcodec/cngdec.c p->excitation, avctx->frame_size, p->order); frame_size 150 libavcodec/cngdec.c frame->nb_samples = avctx->frame_size; frame_size 154 libavcodec/cngdec.c for (i = 0; i < avctx->frame_size; i++) frame_size 156 libavcodec/cngdec.c memcpy(p->filter_out, p->filter_out + avctx->frame_size, frame_size 55 libavcodec/cngenc.c avctx->frame_size = 640; frame_size 57 libavcodec/cngenc.c if ((ret = ff_lpc_init(&p->lpc, avctx->frame_size, p->order, FF_LPC_TYPE_LEVINSON)) < 0) frame_size 59 libavcodec/cngenc.c p->samples32 = av_malloc_array(avctx->frame_size, sizeof(*p->samples32)); frame_size 28 libavcodec/codec2utils.c int frame_size = avpriv_codec2_mode_frame_size(logctx, mode); frame_size 31 libavcodec/codec2utils.c if (frame_size <= 0 || block_align <= 0) { frame_size 35 libavcodec/codec2utils.c return 8 * 8000 * block_align / frame_size; frame_size 181 libavcodec/codec_par.h int frame_size; frame_size 106 libavcodec/dca.c h->frame_size = get_bits(gb, 14) + 1; frame_size 107 libavcodec/dca.c if (h->frame_size < 96) frame_size 56 libavcodec/dca.h uint16_t frame_size; ///< Primary frame byte size frame_size 98 libavcodec/dca_core.c av_log(s->avctx, AV_LOG_ERROR, "Invalid core frame size (%d bytes)\n", h.frame_size); frame_size 129 libavcodec/dca_core.c s->frame_size = h.frame_size; frame_size 850 libavcodec/dca_core.c if (ff_dca_seek_bits(&s->gb, s->frame_size * 8)) { frame_size 1533 libavcodec/dca_core.c if (ff_dca_seek_bits(&s->gb, s->frame_size * 8)) { frame_size 1704 libavcodec/dca_core.c int sync_pos = FFMIN(s->frame_size / 4, s->gb.size_in_bits / 32) - 1; frame_size 1726 libavcodec/dca_core.c dist = s->frame_size - sync_pos * 4; frame_size 1751 libavcodec/dca_core.c dist = s->frame_size - sync_pos * 4; frame_size 1819 libavcodec/dca_core.c if (s->frame_size > size) frame_size 1820 libavcodec/dca_core.c s->frame_size = size; frame_size 1822 libavcodec/dca_core.c if (ff_dca_seek_bits(&s->gb, s->frame_size * 8)) { frame_size 109 libavcodec/dca_core.h int frame_size; ///< Primary frame byte size frame_size 201 libavcodec/dca_parser.c int ret, frame_size; frame_size 287 libavcodec/dca_parser.c frame_size = FFALIGN(h.frame_size, 4); frame_size 288 libavcodec/dca_parser.c if (buf_size - 4 < frame_size) frame_size 291 libavcodec/dca_parser.c buf += frame_size; frame_size 292 libavcodec/dca_parser.c buf_size -= frame_size; frame_size 340 libavcodec/dca_xll.c if (b->lsb_section_size < 0 || b->lsb_section_size > s->frame_size) { frame_size 795 libavcodec/dca_xll.c s->frame_size = get_bits_long(&s->gb, frame_size_nbits); frame_size 796 libavcodec/dca_xll.c if (s->frame_size < 0 || s->frame_size >= DCA_XLL_PBR_BUFFER_MAX) { frame_size 797 libavcodec/dca_xll.c av_log(s->avctx, AV_LOG_ERROR, "Invalid XLL frame size (%d bytes)\n", s->frame_size); frame_size 800 libavcodec/dca_xll.c s->frame_size++; frame_size 977 libavcodec/dca_xll.c if (size < 0 || size >= s->frame_size) { frame_size 1055 libavcodec/dca_xll.c if (ff_dca_seek_bits(&s->gb, s->frame_size * 8)) { frame_size 1109 libavcodec/dca_xll.c if (s->frame_size > size) frame_size 1113 libavcodec/dca_xll.c if (s->frame_size < size) frame_size 1114 libavcodec/dca_xll.c if ((ret = copy_to_pbr(s, data + s->frame_size, size - s->frame_size, 0)) < 0) frame_size 1139 libavcodec/dca_xll.c if (s->frame_size > s->pbr_length) { frame_size 1144 libavcodec/dca_xll.c if (s->frame_size == s->pbr_length) { frame_size 1148 libavcodec/dca_xll.c s->pbr_length -= s->frame_size; frame_size 1149 libavcodec/dca_xll.c memmove(s->pbr_buffer, s->pbr_buffer + s->frame_size, s->pbr_length); frame_size 109 libavcodec/dca_xll.h int frame_size; ///< Number of bytes in a lossless frame frame_size 182 libavcodec/dcadec.c int frame_size; frame_size 190 libavcodec/dcadec.c frame_size = FFALIGN(s->core.frame_size, 4); frame_size 191 libavcodec/dcadec.c if (input_size - 4 > frame_size) { frame_size 192 libavcodec/dcadec.c input += frame_size; frame_size 193 libavcodec/dcadec.c input_size -= frame_size; frame_size 67 libavcodec/dcaenc.c int frame_size; frame_size 241 libavcodec/dcaenc.c c->frame_size = (c->frame_bits + 7) / 8; frame_size 243 libavcodec/dcaenc.c avctx->frame_size = 32 * SUBBAND_SAMPLES; frame_size 960 libavcodec/dcaenc.c put_bits(&c->pb, 14, c->frame_size - 1); frame_size 1184 libavcodec/dcaenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, c->frame_size, 0)) < 0) frame_size 1209 libavcodec/dcaenc.c for (i = put_bits_count(&c->pb); i < 8*c->frame_size; i++) frame_size 1092 libavcodec/dnxhddata.c return ff_dnxhd_cid_table[i].frame_size; frame_size 45 libavcodec/dnxhddata.h unsigned int frame_size; frame_size 484 libavcodec/dnxhdenc.c if (ctx->cid_table->frame_size == DNXHD_VARIABLE) { frame_size 485 libavcodec/dnxhdenc.c ctx->frame_size = avpriv_dnxhd_get_hr_frame_size(ctx->cid, frame_size 487 libavcodec/dnxhdenc.c av_assert0(ctx->frame_size >= 0); frame_size 488 libavcodec/dnxhdenc.c ctx->coding_unit_size = ctx->frame_size; frame_size 490 libavcodec/dnxhdenc.c ctx->frame_size = ctx->cid_table->frame_size; frame_size 1293 libavcodec/dnxhdenc.c if ((ret = ff_alloc_packet2(avctx, pkt, ctx->frame_size, 0)) < 0) frame_size 66 libavcodec/dnxhdenc.h int frame_size; frame_size 76 libavcodec/dv_profile.c .frame_size = 120000, /* IEC 61834, SMPTE-314M - 525/60 (NTSC) */ frame_size 93 libavcodec/dv_profile.c .frame_size = 144000, /* IEC 61834 - 625/50 (PAL) */ frame_size 110 libavcodec/dv_profile.c .frame_size = 144000, /* SMPTE-314M - 625/50 (PAL) */ frame_size 127 libavcodec/dv_profile.c .frame_size = 240000, /* SMPTE-314M - 525/60 (NTSC) 50 Mbps */ frame_size 144 libavcodec/dv_profile.c .frame_size = 288000, /* SMPTE-314M - 625/50 (PAL) 50 Mbps */ frame_size 161 libavcodec/dv_profile.c .frame_size = 480000, /* SMPTE-370M - 1080i60 100 Mbps */ frame_size 178 libavcodec/dv_profile.c .frame_size = 576000, /* SMPTE-370M - 1080i50 100 Mbps */ frame_size 195 libavcodec/dv_profile.c .frame_size = 240000, /* SMPTE-370M - 720p60 100 Mbps */ frame_size 212 libavcodec/dv_profile.c .frame_size = 288000, /* SMPTE-370M - 720p50 100 Mbps */ frame_size 229 libavcodec/dv_profile.c .frame_size = 144000, /* IEC 61883-5 - 625/50 (PAL) */ frame_size 289 libavcodec/dv_profile.c if (sys && buf_size == sys->frame_size) frame_size 42 libavcodec/dv_profile.h int frame_size; /* total size of one frame in bytes */ frame_size 558 libavcodec/dvdec.c if (!sys || buf_size < sys->frame_size) { frame_size 618 libavcodec/dvdec.c return s->sys->frame_size; frame_size 1175 libavcodec/dvenc.c if ((ret = ff_alloc_packet2(c, pkt, s->sys->frame_size, 0)) < 0) frame_size 47 libavcodec/eac3_core_bsf.c pkt->size = FFMIN(hdr.frame_size, pkt->size); frame_size 48 libavcodec/eac3_core_bsf.c } else if (hdr.frame_type == EAC3_FRAME_TYPE_DEPENDENT && pkt->size > hdr.frame_size) { frame_size 51 libavcodec/eac3_core_bsf.c ret = init_get_bits8(&gbc, pkt->data + hdr.frame_size, pkt->size - hdr.frame_size); frame_size 63 libavcodec/eac3_core_bsf.c pkt->size -= hdr.frame_size; frame_size 64 libavcodec/eac3_core_bsf.c pkt->data += hdr.frame_size; frame_size 611 libavcodec/eac3dec.c int block_start_bits = (s->num_blocks-1) * (4 + av_log2(s->frame_size-2)); frame_size 138 libavcodec/eac3enc.c put_bits(&s->pb, 11, (s->frame_size / 2) - 1); /* frame size */ frame_size 87 libavcodec/encode.c frame->nb_samples = s->frame_size; frame_size 166 libavcodec/encode.c if (frame->nb_samples > avctx->frame_size) { frame_size 174 libavcodec/encode.c av_log(avctx, AV_LOG_ERROR, "frame_size (%d) was not respected for a non-last frame (avcodec_encode_audio2)\n", avctx->frame_size); frame_size 179 libavcodec/encode.c if (frame->nb_samples < avctx->frame_size) { frame_size 188 libavcodec/encode.c if (frame->nb_samples != avctx->frame_size) { frame_size 189 libavcodec/encode.c av_log(avctx, AV_LOG_ERROR, "nb_samples (%d) != frame_size (%d) (avcodec_encode_audio2)\n", frame->nb_samples, avctx->frame_size); frame_size 207 libavcodec/escape124.c unsigned frame_flags, frame_size; frame_size 232 libavcodec/escape124.c frame_size = get_bits_long(&gb, 32); frame_size 246 libavcodec/escape124.c return frame_size; frame_size 367 libavcodec/escape124.c frame_size, buf_size, get_bits_count(&gb) / 8); frame_size 375 libavcodec/escape124.c return frame_size; frame_size 232 libavcodec/flacenc.c av_log(avctx, AV_LOG_DEBUG, " block size: %d\n", avctx->frame_size); frame_size 402 libavcodec/flacenc.c if (avctx->frame_size > 0) { frame_size 403 libavcodec/flacenc.c if (avctx->frame_size < FLAC_MIN_BLOCKSIZE || frame_size 404 libavcodec/flacenc.c avctx->frame_size > FLAC_MAX_BLOCKSIZE) { frame_size 406 libavcodec/flacenc.c avctx->frame_size); frame_size 410 libavcodec/flacenc.c s->avctx->frame_size = select_blocksize(s->samplerate, s->options.block_time_ms); frame_size 412 libavcodec/flacenc.c s->max_blocksize = s->avctx->frame_size; frame_size 415 libavcodec/flacenc.c s->max_framesize = ff_flac_get_max_frame_size(s->avctx->frame_size, frame_size 457 libavcodec/flacenc.c ret = ff_lpc_init(&s->lpc_ctx, avctx->frame_size, frame_size 99 libavcodec/flashsv2enc.c int frame_size; frame_size 224 libavcodec/flashsv2enc.c s->frame_size = s->image_width * s->image_height * 3; frame_size 227 libavcodec/flashsv2enc.c s->encbuffer = av_mallocz(s->frame_size); frame_size 228 libavcodec/flashsv2enc.c s->keybuffer = av_mallocz(s->frame_size); frame_size 229 libavcodec/flashsv2enc.c s->databuffer = av_mallocz(s->frame_size * 6); frame_size 230 libavcodec/flashsv2enc.c s->current_frame = av_mallocz(s->frame_size); frame_size 231 libavcodec/flashsv2enc.c s->key_frame = av_mallocz(s->frame_size); frame_size 263 libavcodec/flashsv2enc.c memcpy(s->key_frame, s->current_frame, s->frame_size); frame_size 271 libavcodec/flashsv2enc.c memcpy(s->keybuffer, s->encbuffer, s->frame_size); frame_size 859 libavcodec/flashsv2enc.c if ((res = ff_alloc_packet2(avctx, pkt, s->frame_size + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) frame_size 162 libavcodec/flicvideo.c unsigned int frame_size; frame_size 195 libavcodec/flicvideo.c frame_size = bytestream2_get_le32(&g2); frame_size 196 libavcodec/flicvideo.c if (frame_size > buf_size) frame_size 197 libavcodec/flicvideo.c frame_size = buf_size; frame_size 202 libavcodec/flicvideo.c if (frame_size < 16) frame_size 205 libavcodec/flicvideo.c frame_size -= 16; frame_size 208 libavcodec/flicvideo.c while ((frame_size >= 6) && (num_chunks > 0) && frame_size 212 libavcodec/flicvideo.c if (chunk_size > frame_size) { frame_size 214 libavcodec/flicvideo.c "Invalid chunk_size = %u > frame_size = %u\n", chunk_size, frame_size); frame_size 215 libavcodec/flicvideo.c chunk_size = frame_size; frame_size 463 libavcodec/flicvideo.c frame_size -= chunk_size; frame_size 501 libavcodec/flicvideo.c unsigned int frame_size; frame_size 528 libavcodec/flicvideo.c frame_size = bytestream2_get_le32(&g2); frame_size 532 libavcodec/flicvideo.c if (frame_size > buf_size) frame_size 533 libavcodec/flicvideo.c frame_size = buf_size; frame_size 535 libavcodec/flicvideo.c if (frame_size < 16) frame_size 537 libavcodec/flicvideo.c frame_size -= 16; frame_size 540 libavcodec/flicvideo.c while ((frame_size > 0) && (num_chunks > 0) && frame_size 544 libavcodec/flicvideo.c if (chunk_size > frame_size) { frame_size 546 libavcodec/flicvideo.c "Invalid chunk_size = %u > frame_size = %u\n", chunk_size, frame_size); frame_size 547 libavcodec/flicvideo.c chunk_size = frame_size; frame_size 771 libavcodec/flicvideo.c frame_size -= chunk_size; frame_size 799 libavcodec/flicvideo.c unsigned int frame_size; frame_size 826 libavcodec/flicvideo.c frame_size = bytestream2_get_le32(&g2); frame_size 830 libavcodec/flicvideo.c if (frame_size > buf_size) frame_size 831 libavcodec/flicvideo.c frame_size = buf_size; frame_size 833 libavcodec/flicvideo.c if (frame_size < 16) frame_size 835 libavcodec/flicvideo.c frame_size -= 16; frame_size 838 libavcodec/flicvideo.c while ((frame_size > 0) && (num_chunks > 0) && frame_size 842 libavcodec/flicvideo.c if (chunk_size > frame_size) { frame_size 844 libavcodec/flicvideo.c "Invalid chunk_size = %u > frame_size = %u\n", chunk_size, frame_size); frame_size 845 libavcodec/flicvideo.c chunk_size = frame_size; frame_size 1051 libavcodec/flicvideo.c frame_size -= chunk_size; frame_size 83 libavcodec/g722enc.c if (avctx->frame_size) { frame_size 85 libavcodec/g722enc.c if (avctx->frame_size & 1 || avctx->frame_size > MAX_FRAME_SIZE) { frame_size 88 libavcodec/g722enc.c if (avctx->frame_size == 1) frame_size 90 libavcodec/g722enc.c else if (avctx->frame_size > MAX_FRAME_SIZE) frame_size 93 libavcodec/g722enc.c new_frame_size = avctx->frame_size - 1; frame_size 97 libavcodec/g722enc.c avctx->frame_size); frame_size 98 libavcodec/g722enc.c avctx->frame_size = new_frame_size; frame_size 103 libavcodec/g722enc.c avctx->frame_size = 320; frame_size 222 libavcodec/g723_1.h static const uint8_t frame_size[4] = { 24, 20, 4, 1 }; frame_size 40 libavcodec/g723_1_parser.c next = frame_size[buf[0] & 3] * FFMAX(1, avctx->channels); frame_size 871 libavcodec/g723_1dec.c if (buf_size < frame_size[dec_mode] * avctx->channels) { frame_size 875 libavcodec/g723_1dec.c frame_size[dec_mode], buf_size); frame_size 1021 libavcodec/g723_1dec.c return frame_size[dec_mode] * avctx->channels; frame_size 68 libavcodec/g723_1enc.c avctx->frame_size = 240; frame_size 1054 libavcodec/g723_1enc.c return frame_size[info_bits]; frame_size 342 libavcodec/g726.c avctx->frame_size = ((int[]){ 4096, 2736, 2048, 1640 })[c->code_size - 2]; frame_size 53 libavcodec/g729_parser.c s->duration = avctx->frame_size; frame_size 362 libavcodec/g729dec.c avctx->frame_size = SUBFRAME_SIZE << 1; frame_size 37 libavcodec/gdv.c unsigned frame_size; frame_size 59 libavcodec/gdv.c gdv->frame_size = avctx->width * avctx->height + PREAMBLE_SIZE; frame_size 60 libavcodec/gdv.c gdv->frame = av_calloc(gdv->frame_size, 1); frame_size 251 libavcodec/gdv.c bytestream2_init(g2, gdv->frame, gdv->frame_size); frame_size 292 libavcodec/gdv.c bytestream2_init(g2, gdv->frame, gdv->frame_size); frame_size 339 libavcodec/gdv.c bytestream2_init(g2, gdv->frame, gdv->frame_size); frame_size 471 libavcodec/gdv.c bytestream2_init_writer(pb, gdv->frame, gdv->frame_size); frame_size 491 libavcodec/gdv.c memset(gdv->frame + PREAMBLE_SIZE, 0, gdv->frame_size - PREAMBLE_SIZE); frame_size 45 libavcodec/gsmdec.c avctx->frame_size = GSM_FRAME_SIZE; frame_size 49 libavcodec/gsmdec.c avctx->frame_size = 2 * GSM_FRAME_SIZE; frame_size 81 libavcodec/gsmdec.c frame->nb_samples = avctx->frame_size; frame_size 1092 libavcodec/ivi.c ctx->frame_size = buf_size; frame_size 224 libavcodec/ivi.h uint32_t frame_size; ///< frame size in bytes frame_size 64 libavcodec/libcelt_dec.c if (!c->channels || !c->frame_size || frame_size 65 libavcodec/libcelt_dec.c c->frame_size > INT_MAX / sizeof(int16_t) / c->channels) frame_size 67 libavcodec/libcelt_dec.c celt->mode = celt_mode_create(c->sample_rate, c->frame_size, &err); frame_size 77 libavcodec/libcelt_dec.c if (celt->discard < 0 || celt->discard >= c->frame_size) { frame_size 113 libavcodec/libcelt_dec.c frame->nb_samples = c->frame_size; frame_size 117 libavcodec/libcelt_dec.c err = celt_decode(celt->dec, pkt->data, pkt->size, pcm, c->frame_size); frame_size 67 libavcodec/libcodec2.c avctx->frame_size = codec2_samples_per_frame(c2->codec); frame_size 70 libavcodec/libcodec2.c if (avctx->frame_size <= 0 || avctx->block_align <= 0) { frame_size 146 libavcodec/libcodec2.c frame->nb_samples = avctx->frame_size * nframes; frame_size 159 libavcodec/libcodec2.c output += avctx->frame_size; frame_size 119 libavcodec/libfdk-aacdec.c avctx->frame_size = info->frameSize; frame_size 377 libavcodec/libfdk-aacdec.c frame->nb_samples = avctx->frame_size; frame_size 388 libavcodec/libfdk-aacdec.c avctx->channels * avctx->frame_size * frame_size 327 libavcodec/libfdk-aacenc.c avctx->frame_size = info.frameLength; frame_size 420 libavcodec/libfdk-aacenc.c ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, frame_size 61 libavcodec/libgsmdec.c avctx->frame_size = GSM_FRAME_SIZE; frame_size 67 libavcodec/libgsmdec.c avctx->frame_size = 2 * GSM_FRAME_SIZE; frame_size 99 libavcodec/libgsmdec.c frame->nb_samples = avctx->frame_size; frame_size 104 libavcodec/libgsmdec.c for (i = 0; i < avctx->frame_size / GSM_FRAME_SIZE; i++) { frame_size 77 libavcodec/libgsmenc.c avctx->frame_size = GSM_FRAME_SIZE; frame_size 83 libavcodec/libgsmenc.c avctx->frame_size = 2*GSM_FRAME_SIZE; frame_size 158 libavcodec/libilbc.c avctx->frame_size = s->encoder.blockl; frame_size 148 libavcodec/libmp3lame.c avctx->frame_size = lame_get_framesize(s->gfp); frame_size 154 libavcodec/libmp3lame.c s->samples_flt[ch] = av_malloc_array(avctx->frame_size, frame_size 263 libavcodec/libmp3lame.c len = hdr.frame_size; frame_size 264 libavcodec/libmp3lame.c ff_dlog(avctx, "in:%d packet-len:%d index:%d\n", avctx->frame_size, len, frame_size 274 libavcodec/libmp3lame.c ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, frame_size 277 libavcodec/libmp3lame.c discard_padding = avctx->frame_size - avpkt->duration; frame_size 279 libavcodec/libmp3lame.c if ((discard_padding < avctx->frame_size) != (avpkt->duration > 0)) { frame_size 208 libavcodec/libopencore-amr.c avctx->frame_size = 160; frame_size 250 libavcodec/libopencore-amr.c if (frame->nb_samples < avctx->frame_size) { frame_size 251 libavcodec/libopencore-amr.c flush_buf = av_mallocz_array(avctx->frame_size, sizeof(*flush_buf)); frame_size 256 libavcodec/libopencore-amr.c if (frame->nb_samples < avctx->frame_size - avctx->initial_padding) frame_size 266 libavcodec/libopencore-amr.c flush_buf = av_mallocz_array(avctx->frame_size, sizeof(*flush_buf)); frame_size 279 libavcodec/libopencore-amr.c ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, frame_size 255 libavcodec/libopusenc.c int coupled_stream_count, header_size, frame_size; frame_size 258 libavcodec/libopusenc.c frame_size = opus->opts.frame_duration * 48000 / 1000; frame_size 259 libavcodec/libopusenc.c switch (frame_size) { frame_size 280 libavcodec/libopusenc.c avctx->frame_size = frame_size * avctx->sample_rate / 48000; frame_size 402 libavcodec/libopusenc.c opus->samples = av_mallocz_array(frame_size, avctx->channels * frame_size 63 libavcodec/libshine.c avctx->frame_size = shine_samples_per_pass(s->shine); frame_size 103 libavcodec/libshine.c len = hdr.frame_size; frame_size 111 libavcodec/libshine.c ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, frame_size 35 libavcodec/libspeexdec.c int frame_size; frame_size 93 libavcodec/libspeexdec.c s->frame_size = 160 << spx_mode; frame_size 137 libavcodec/libspeexdec.c frame->nb_samples = s->frame_size; frame_size 167 libavcodec/libspeexdec.c speex_decode_stereo_int(output, s->frame_size, &s->stereo); frame_size 136 libavcodec/libspeexenc.c avctx->frame_size); frame_size 140 libavcodec/libspeexenc.c avctx->frame_size * s->frames_per_packet); frame_size 235 libavcodec/libspeexenc.c avctx->frame_size = s->header.frame_size; frame_size 278 libavcodec/libspeexenc.c speex_encode_stereo_int(samples, s->header.frame_size, &s->bits); frame_size 303 libavcodec/libspeexenc.c ff_af_queue_remove(&s->afq, s->frames_per_packet * avctx->frame_size, frame_size 62 libavcodec/libtwolame.c avctx->frame_size = TWOLAME_SAMPLES_PER_FRAME; frame_size 98 libavcodec/libvo-amrwbenc.c avctx->frame_size = 320; frame_size 259 libavcodec/libvorbisenc.c avctx->frame_size = LIBVORBIS_FRAME_SIZE; frame_size 67 libavcodec/libwavpackenc.c (!frame || frame->nb_samples < avctx->frame_size)) { frame_size 77 libavcodec/libwavpackenc.c ff_af_queue_remove(&s->afq, avctx->frame_size, &pkt->pts, &pkt->duration); frame_size 123 libavcodec/libwavpackenc.c if (!avctx->frame_size) frame_size 124 libavcodec/libwavpackenc.c avctx->frame_size = WV_DEFAULT_BLOCK_SIZE; frame_size 128 libavcodec/libwavpackenc.c config.block_samples = avctx->frame_size; frame_size 372 libavcodec/metasound.c tctx->frame_size = avctx->bit_rate * tctx->mtab->size frame_size 175 libavcodec/mlp_parser.c avctx->frame_size = frame_size 371 libavcodec/mlpdec.c m->avctx->frame_size = mh.access_unit_size; frame_size 142 libavcodec/mlpenc.c unsigned int *frame_size; ///< Array with number of samples/channel in each access unit. frame_size 499 libavcodec/mlpenc.c avctx->frame_size = 40 << 0; frame_size 504 libavcodec/mlpenc.c avctx->frame_size = 40 << 1; frame_size 510 libavcodec/mlpenc.c avctx->frame_size = 40 << 2; frame_size 515 libavcodec/mlpenc.c avctx->frame_size = 40 << 0; frame_size 520 libavcodec/mlpenc.c avctx->frame_size = 40 << 1; frame_size 526 libavcodec/mlpenc.c avctx->frame_size = 40 << 2; frame_size 571 libavcodec/mlpenc.c ctx->dts = -avctx->frame_size; frame_size 574 libavcodec/mlpenc.c ctx->one_sample_buffer_size = avctx->frame_size frame_size 585 libavcodec/mlpenc.c size = avctx->frame_size * ctx->max_restart_interval; frame_size 678 libavcodec/mlpenc.c ctx->frame_size = av_malloc(size); frame_size 679 libavcodec/mlpenc.c if (!ctx->frame_size) frame_size 1250 libavcodec/mlpenc.c for (i = 0; i < ctx->frame_size[ctx->frame_index]; i++) { frame_size 1294 libavcodec/mlpenc.c for (i = 0; i < ctx->frame_size[cur_index]; i++) { frame_size 2172 libavcodec/mlpenc.c dp->blocksize = ctx->frame_size[index]; frame_size 2267 libavcodec/mlpenc.c if (ctx->frame_size[ctx->frame_index] > MAX_BLOCKSIZE) { frame_size 2269 libavcodec/mlpenc.c ctx->frame_size[ctx->frame_index], MAX_BLOCKSIZE); frame_size 2286 libavcodec/mlpenc.c ctx->timestamp += ctx->frame_size[ctx->frame_index]; frame_size 2287 libavcodec/mlpenc.c ctx->dts += ctx->frame_size[ctx->frame_index]; frame_size 2292 libavcodec/mlpenc.c ctx->frame_size[ctx->frame_index] = avctx->frame_size; frame_size 2293 libavcodec/mlpenc.c ctx->next_major_frame_size += avctx->frame_size; frame_size 2329 libavcodec/mlpenc.c number_of_samples += ctx->frame_size[(ctx->starting_frame_index + index) % ctx->max_restart_interval]; frame_size 2356 libavcodec/mlpenc.c ff_af_queue_remove(&ctx->afq, avctx->frame_size, &avpkt->pts, frame_size 2375 libavcodec/mlpenc.c av_freep(&ctx->frame_size); frame_size 35 libavcodec/mp3_header_decompress_bsf.c int lsf, mpeg25, bitrate_index, frame_size, ret; frame_size 73 libavcodec/mp3_header_decompress_bsf.c frame_size = avpriv_mpa_bitrate_tab[lsf][2][bitrate_index>>1]; frame_size 74 libavcodec/mp3_header_decompress_bsf.c frame_size = (frame_size * 144000) / (sample_rate << lsf) + (bitrate_index&1); frame_size 75 libavcodec/mp3_header_decompress_bsf.c if(frame_size == buf_size + 4) frame_size 77 libavcodec/mp3_header_decompress_bsf.c if(frame_size == buf_size + 6) frame_size 88 libavcodec/mp3_header_decompress_bsf.c header |= (frame_size == buf_size + 4)<<16; //FIXME actually set a correct crc instead of 0 frame_size 90 libavcodec/mp3_header_decompress_bsf.c ret = av_new_packet(out, frame_size); frame_size 98 libavcodec/mp3_header_decompress_bsf.c memcpy(out->data + frame_size - buf_size, buf, buf_size + AV_INPUT_BUFFER_PADDING_SIZE); frame_size 101 libavcodec/mp3_header_decompress_bsf.c uint8_t *p= out->data + frame_size - buf_size; frame_size 31 libavcodec/mpegaudio_parser.c int frame_size; frame_size 56 libavcodec/mpegaudio_parser.c if(s->frame_size){ frame_size 57 libavcodec/mpegaudio_parser.c int inc= FFMIN(buf_size - i, s->frame_size); frame_size 59 libavcodec/mpegaudio_parser.c s->frame_size -= inc; frame_size 62 libavcodec/mpegaudio_parser.c if(!s->frame_size){ frame_size 68 libavcodec/mpegaudio_parser.c int ret, sr, channels, bit_rate, frame_size; frame_size 73 libavcodec/mpegaudio_parser.c ret = ff_mpa_decode_header(state, &sr, &channels, &frame_size, &bit_rate, &codec_id); frame_size 83 libavcodec/mpegaudio_parser.c s->frame_size = ret-4; frame_size 88 libavcodec/mpegaudio_parser.c s1->duration = frame_size; frame_size 97 libavcodec/mpegaudio_parser.c s->frame_size = 0; frame_size 1588 libavcodec/mpegaudiodec_template.c s->avctx->frame_size = 384; frame_size 1592 libavcodec/mpegaudiodec_template.c s->avctx->frame_size = 1152; frame_size 1596 libavcodec/mpegaudiodec_template.c s->avctx->frame_size = s->lsf ? 576 : 1152; frame_size 1633 libavcodec/mpegaudiodec_template.c s->frame->nb_samples = s->avctx->frame_size; frame_size 1692 libavcodec/mpegaudiodec_template.c s->frame_size = -1; frame_size 1701 libavcodec/mpegaudiodec_template.c if (s->frame_size <= 0) { frame_size 1704 libavcodec/mpegaudiodec_template.c } else if (s->frame_size < buf_size) { frame_size 1706 libavcodec/mpegaudiodec_template.c buf_size= s->frame_size; frame_size 1713 libavcodec/mpegaudiodec_template.c s->frame->nb_samples = avctx->frame_size; frame_size 1728 libavcodec/mpegaudiodec_template.c s->frame_size = 0; frame_size 1783 libavcodec/mpegaudiodec_template.c s->frame_size = len; frame_size 38 libavcodec/mpegaudiodecheader.c int sample_rate, frame_size, mpeg25, padding; frame_size 80 libavcodec/mpegaudiodecheader.c frame_size = avpriv_mpa_bitrate_tab[s->lsf][s->layer - 1][bitrate_index]; frame_size 81 libavcodec/mpegaudiodecheader.c s->bit_rate = frame_size * 1000; frame_size 84 libavcodec/mpegaudiodecheader.c frame_size = (frame_size * 12000) / sample_rate; frame_size 85 libavcodec/mpegaudiodecheader.c frame_size = (frame_size + padding) * 4; frame_size 88 libavcodec/mpegaudiodecheader.c frame_size = (frame_size * 144000) / sample_rate; frame_size 89 libavcodec/mpegaudiodecheader.c frame_size += padding; frame_size 93 libavcodec/mpegaudiodecheader.c frame_size = (frame_size * 144000) / (sample_rate << s->lsf); frame_size 94 libavcodec/mpegaudiodecheader.c frame_size += padding; frame_size 97 libavcodec/mpegaudiodecheader.c s->frame_size = frame_size; frame_size 122 libavcodec/mpegaudiodecheader.c int ff_mpa_decode_header(uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bit_rate, enum AVCodecID *codec_id) frame_size 133 libavcodec/mpegaudiodecheader.c *frame_size = 384; frame_size 137 libavcodec/mpegaudiodecheader.c *frame_size = 1152; frame_size 144 libavcodec/mpegaudiodecheader.c *frame_size = 576; frame_size 146 libavcodec/mpegaudiodecheader.c *frame_size = 1152; frame_size 153 libavcodec/mpegaudiodecheader.c return s->frame_size; frame_size 35 libavcodec/mpegaudiodecheader.h int frame_size; \ frame_size 58 libavcodec/mpegaudiodecheader.h int *channels, int *frame_size, int *bitrate, enum AVCodecID *codec_id); frame_size 53 libavcodec/mpegaudioenc_template.c int frame_size; /* frame size, in bits, without padding */ frame_size 91 libavcodec/mpegaudioenc_template.c avctx->frame_size = MPA_FRAME_SIZE; frame_size 129 libavcodec/mpegaudioenc_template.c s->frame_size = ((int)a) * 8; frame_size 143 libavcodec/mpegaudioenc_template.c bitrate, freq, s->frame_size, table, s->frame_frac_incr); frame_size 525 libavcodec/mpegaudioenc_template.c max_frame_size = s->frame_size; frame_size 168 libavcodec/nellymoserenc.c avctx->frame_size = NELLY_SAMPLES; frame_size 415 libavcodec/nellymoserenc.c ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, frame_size 847 libavcodec/on2avc.c int num_frames = 0, frame_size, audio_off; frame_size 861 libavcodec/on2avc.c frame_size = bytestream2_get_le16(&gb); frame_size 862 libavcodec/on2avc.c if (!frame_size || frame_size > bytestream2_get_bytes_left(&gb)) { frame_size 864 libavcodec/on2avc.c frame_size); frame_size 868 libavcodec/on2avc.c bytestream2_skip(&gb, frame_size); frame_size 883 libavcodec/on2avc.c frame_size = bytestream2_get_le16(&gb); frame_size 884 libavcodec/on2avc.c if ((ret = on2avc_decode_subframe(c, gb.buffer, frame_size, frame_size 888 libavcodec/on2avc.c bytestream2_skip(&gb, frame_size); frame_size 91 libavcodec/options_table.h {"frame_size", NULL, OFFSET(frame_size), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, 0, INT_MAX, A|E}, frame_size 130 libavcodec/opus.c pkt->frame_size[0] = frame_bytes; frame_size 149 libavcodec/opus.c pkt->frame_size[0] = frame_bytes >> 1; frame_size 150 libavcodec/opus.c pkt->frame_offset[1] = pkt->frame_offset[0] + pkt->frame_size[0]; frame_size 151 libavcodec/opus.c pkt->frame_size[1] = frame_bytes >> 1; frame_size 172 libavcodec/opus.c pkt->frame_size[0] = frame_bytes; frame_size 175 libavcodec/opus.c frame_bytes = end - ptr - pkt->frame_size[0]; frame_size 178 libavcodec/opus.c pkt->frame_offset[1] = pkt->frame_offset[0] + pkt->frame_size[0]; frame_size 179 libavcodec/opus.c pkt->frame_size[1] = frame_bytes; frame_size 207 libavcodec/opus.c pkt->frame_size[i] = frame_bytes; frame_size 224 libavcodec/opus.c pkt->frame_offset[i] = pkt->frame_offset[i-1] + pkt->frame_size[i-1]; frame_size 225 libavcodec/opus.c pkt->frame_size[pkt->frame_count-1] = frame_bytes - total_bytes; frame_size 244 libavcodec/opus.c pkt->frame_size[0] = frame_bytes; frame_size 246 libavcodec/opus.c pkt->frame_offset[i] = pkt->frame_offset[i-1] + pkt->frame_size[i-1]; frame_size 247 libavcodec/opus.c pkt->frame_size[i] = frame_bytes; frame_size 94 libavcodec/opus.h int frame_size[MAX_FRAMES]; /**< frame sizes */ frame_size 321 libavcodec/opus_celt.c float **output, int channels, int frame_size, frame_size 348 libavcodec/opus_celt.c f->size = av_log2(frame_size / CELT_SHORT_BLOCKSIZE); frame_size 350 libavcodec/opus_celt.c frame_size != CELT_SHORT_BLOCKSIZE * (1 << f->size)) { frame_size 352 libavcodec/opus_celt.c frame_size); frame_size 386 libavcodec/opus_celt.c f->blocksize = frame_size / f->blocks; frame_size 419 libavcodec/opus_celt.c f->dsp->vector_fmac_scalar(f->block[0].coeffs, f->block[1].coeffs, 1.0, FFALIGN(frame_size, 16)); frame_size 422 libavcodec/opus_celt.c memcpy(f->block[1].coeffs, f->block[0].coeffs, frame_size * sizeof(float)); frame_size 450 libavcodec/opus_celt.c f->dsp->vector_fmul_scalar(&block->buf[1024], &block->buf[1024], 0.5f, frame_size); frame_size 457 libavcodec/opus_celt.c &block->buf[1024 - frame_size], frame_size 458 libavcodec/opus_celt.c block->emph_coeff, frame_size); frame_size 169 libavcodec/opus_celt.h int coded_channels, int frame_size, int startband, int endband); frame_size 388 libavcodec/opusdec.c int size = s->packet.frame_size[i]; frame_size 119 libavcodec/opusenc.c const int subframesize = s->avctx->frame_size; frame_size 158 libavcodec/opusenc.c const int subframesize = s->avctx->frame_size; frame_size 521 libavcodec/opusenc.c f->nb_samples = s->avctx->frame_size; frame_size 538 libavcodec/opusenc.c int ret, frame_size, alloc_size = 0; frame_size 554 libavcodec/opusenc.c frame_size = OPUS_BLOCK_SIZE(s->packet.framesize); frame_size 558 libavcodec/opusenc.c int pad_empty = s->packet.frames*(frame_size/s->avctx->frame_size) - s->bufqueue.available + 1; frame_size 589 libavcodec/opusenc.c ff_af_queue_remove(&s->afq, s->packet.frames*frame_size, &avpkt->pts, &avpkt->duration); frame_size 590 libavcodec/opusenc.c if (s->packet.frames*frame_size > avpkt->duration) { frame_size 594 libavcodec/opusenc.c AV_WL32(&side[4], s->packet.frames*frame_size - avpkt->duration + 120); frame_size 634 libavcodec/opusenc.c avctx->frame_size = 120; frame_size 314 libavcodec/opusenc_psy.c int frame_size = OPUS_BLOCK_SIZE(s->p.framesize); frame_size 354 libavcodec/opusenc_psy.c rate = ((float)s->avctx->bit_rate) + frame_bits*frame_size*16; frame_size 356 libavcodec/opusenc_psy.c rate /= s->avctx->sample_rate/frame_size; frame_size 481 libavcodec/opusenc_psy.c int i, frame_size = OPUS_BLOCK_SIZE(s->p.framesize); frame_size 482 libavcodec/opusenc_psy.c int steps_out = s->p.frames*(frame_size/120); frame_size 500 libavcodec/opusenc_psy.c ideal_fbits = s->avctx->bit_rate/(s->avctx->sample_rate/frame_size); frame_size 59 libavcodec/pafvideo.c int frame_size; frame_size 103 libavcodec/pafvideo.c c->frame_size = avctx->width * FFALIGN(avctx->height, 256); frame_size 106 libavcodec/pafvideo.c c->frame[i] = av_mallocz(c->frame_size); frame_size 160 libavcodec/pafvideo.c *pend = c->frame[page] + c->frame_size; frame_size 186 libavcodec/pafvideo.c dend = c->frame[page] + c->frame_size; frame_size 205 libavcodec/pafvideo.c dend = c->frame[c->current_frame] + c->frame_size; frame_size 338 libavcodec/pafvideo.c memset(c->frame[i], 0, c->frame_size); frame_size 367 libavcodec/pafvideo.c memcpy(c->frame[c->current_frame], c->frame[frame], c->frame_size); frame_size 38 libavcodec/pcm-dvdenc.c int quant, freq, frame_size; frame_size 71 libavcodec/pcm-dvdenc.c frame_size = 2008 / s->block_size; frame_size 97 libavcodec/pcm-dvdenc.c frame_size = FFALIGN(2008 / s->block_size, s->samples_per_block); frame_size 104 libavcodec/pcm-dvdenc.c if (!avctx->frame_size) frame_size 105 libavcodec/pcm-dvdenc.c avctx->frame_size = frame_size; frame_size 37 libavcodec/pcm.c avctx->frame_size = 0; frame_size 725 libavcodec/proresenc_anatoliy.c int frame_size = FFALIGN(avctx->width, 16) * FFALIGN(avctx->height, 16)*16 + 500 + AV_INPUT_BUFFER_MIN_SIZE; //FIXME choose tighter limit frame_size 728 libavcodec/proresenc_anatoliy.c if ((ret = ff_alloc_packet2(avctx, pkt, frame_size + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) frame_size 1007 libavcodec/proresenc_kostya.c int frame_size, picture_size, slice_size; frame_size 1148 libavcodec/proresenc_kostya.c frame_size = buf - orig_buf; frame_size 1149 libavcodec/proresenc_kostya.c bytestream_put_be32(&orig_buf, frame_size); frame_size 1151 libavcodec/proresenc_kostya.c pkt->size = frame_size; frame_size 142 libavcodec/psymodel.c int frame_size = ctx->avctx->frame_size; frame_size 147 libavcodec/psymodel.c iir->filter_flt(ctx->fcoeffs, ctx->fstate[ch], frame_size, frame_size 148 libavcodec/psymodel.c &audio[ch][frame_size], 1, &audio[ch][frame_size], 1); frame_size 139 libavcodec/qdm2.c int frame_size; ///< size of data frame frame_size 1591 libavcodec/qdm2.c for (i = 0; i < q->frame_size; i++) frame_size 1725 libavcodec/qdm2.c s->frame_size = s->group_size / 16; // 16 iterations per super block frame_size 1727 libavcodec/qdm2.c if (s->frame_size > QDM2_MAX_FRAME_SIZE) frame_size 1733 libavcodec/qdm2.c if (s->frame_size * 4 >> s->sub_sampling > MPA_FRAME_SIZE) { frame_size 1786 libavcodec/qdm2.c const int frame_size = (q->frame_size * q->channels); frame_size 1788 libavcodec/qdm2.c if((unsigned)frame_size > FF_ARRAY_ELEMS(q->output_buffer)/2) frame_size 1796 libavcodec/qdm2.c memmove(q->output_buffer, &q->output_buffer[frame_size], frame_size * sizeof(float)); frame_size 1797 libavcodec/qdm2.c memset(&q->output_buffer[frame_size], 0, frame_size * sizeof(float)); frame_size 1831 libavcodec/qdm2.c for (i = 0; i < frame_size; i++) { frame_size 1861 libavcodec/qdm2.c frame->nb_samples = 16 * s->frame_size; frame_size 1869 libavcodec/qdm2.c out += s->channels * s->frame_size; frame_size 50 libavcodec/qdmc.c int frame_size; frame_size 324 libavcodec/qdmc.c s->frame_size = 1 << s->frame_bits; frame_size 325 libavcodec/qdmc.c s->subframe_size = s->frame_size >> 5; frame_size 496 libavcodec/qdmc.c if (pos2 >= s->frame_size) frame_size 618 libavcodec/qdmc.c if (imptr >= &s->fft_buffer[stereo_mode][2 * s->frame_size]) { frame_size 674 libavcodec/qdmc.c s->fft_offset = s->frame_size - s->fft_offset; frame_size 724 libavcodec/qdmc.c memset(s->buffer + s->nb_channels * (n * s->subframe_size + s->frame_size + s->buffer_offset), 0, 4 * s->subframe_size * s->nb_channels); frame_size 727 libavcodec/qdmc.c s->buffer_offset += s->frame_size; frame_size 728 libavcodec/qdmc.c if (s->buffer_offset >= 32768 - s->frame_size) { frame_size 729 libavcodec/qdmc.c memcpy(s->buffer, &s->buffer[s->nb_channels * s->buffer_offset], 4 * s->frame_size * s->nb_channels); frame_size 760 libavcodec/qdmc.c frame->nb_samples = s->frame_size; frame_size 57 libavcodec/ra144enc.c avctx->frame_size = NBLOCKS * BLOCKSIZE; frame_size 58 libavcodec/ra144enc.c avctx->initial_padding = avctx->frame_size; frame_size 65 libavcodec/ra144enc.c ret = ff_lpc_init(&ractx->lpc_ctx, avctx->frame_size, LPC_ORDER, frame_size 536 libavcodec/ra144enc.c ff_af_queue_remove(&ractx->afq, avctx->frame_size, &avpkt->pts, frame_size 681 libavcodec/ratecontrol.c int ff_vbv_update(MpegEncContext *s, int frame_size) frame_size 690 libavcodec/ratecontrol.c buffer_size, rcc->buffer_index, frame_size, min_rate, max_rate); frame_size 695 libavcodec/ratecontrol.c rcc->buffer_index -= frame_size; frame_size 698 libavcodec/ratecontrol.c if (frame_size > max_rate && s->qscale == s->avctx->qmax) { frame_size 96 libavcodec/ratecontrol.h int ff_vbv_update(struct MpegEncContext *s, int frame_size); frame_size 42 libavcodec/rawdec.c int frame_size; /* size of the frame in bytes */ frame_size 218 libavcodec/rawdec.c context->frame_size = av_image_get_buffer_size(avctx->pix_fmt, frame_size 222 libavcodec/rawdec.c context->frame_size = av_image_get_buffer_size(avctx->pix_fmt, frame_size 227 libavcodec/rawdec.c context->frame_size = av_image_get_buffer_size(avctx->pix_fmt, avctx->width, frame_size 230 libavcodec/rawdec.c if (context->frame_size < 0) frame_size 231 libavcodec/rawdec.c return context->frame_size; frame_size 254 libavcodec/rawdec.c frame->buf[0] = av_buffer_alloc(FFMAX(context->frame_size, buf_size)); frame_size 264 libavcodec/rawdec.c buf_size = context->frame_size - (context->is_pal8 ? AVPALETTE_SIZE : 0); frame_size 352 libavcodec/rawdec.c buf += buf_size - context->frame_size; frame_size 354 libavcodec/rawdec.c len = context->frame_size - (avctx->pix_fmt==AV_PIX_FMT_PAL8 ? AVPALETTE_SIZE : 0); frame_size 427 libavcodec/rawdec.c if ((avctx->pix_fmt == AV_PIX_FMT_PAL8 && buf_size < context->frame_size) || frame_size 67 libavcodec/roqaudioenc.c avctx->frame_size = ROQ_FRAME_SIZE; frame_size 141 libavcodec/roqaudioenc.c in, avctx->frame_size * avctx->channels * sizeof(*in)); frame_size 142 libavcodec/roqaudioenc.c context->buffered_samples += avctx->frame_size; frame_size 161 libavcodec/roqaudioenc.c data_size = avctx->channels * avctx->frame_size; frame_size 41 libavcodec/s302m.c int frame_size, channels, bits; frame_size 58 libavcodec/s302m.c frame_size = (h >> 16) & 0xffff; frame_size 62 libavcodec/s302m.c if (AES3_HEADER_LEN + frame_size != buf_size || bits > 24) { frame_size 89 libavcodec/s302m.c return frame_size; frame_size 103 libavcodec/s302m.c int frame_size = s302m_parse_frame_header(avctx, buf, buf_size); frame_size 104 libavcodec/s302m.c if (frame_size < 0) frame_size 105 libavcodec/s302m.c return frame_size; frame_size 61 libavcodec/s302menc.c avctx->frame_size = 0; frame_size 47 libavcodec/sbc_parser.c avctx->frame_size = 120; frame_size 48 libavcodec/sbc_parser.c s->duration = avctx->frame_size; frame_size 71 libavcodec/sbc_parser.c avctx->frame_size = subbands * blocks; frame_size 72 libavcodec/sbc_parser.c s->duration = avctx->frame_size; frame_size 219 libavcodec/sbcenc.c avctx->frame_size = 8 * MSBC_BLOCKS; frame_size 257 libavcodec/sbcenc.c avctx->frame_size = 4*((frame->subbands >> 3) + 1) * 4*(frame->blocks >> 2); frame_size 369 libavcodec/sipr.c int frame_size = subframe_count * SUBFR_SIZE; frame_size 453 libavcodec/sipr.c memcpy(synth - LP_FILTER_ORDER, synth + frame_size - LP_FILTER_ORDER, frame_size 466 libavcodec/sipr.c memcpy(ctx->postfilter_syn5k0, ctx->postfilter_syn5k0 + frame_size, frame_size 477 libavcodec/sipr.c frame_size); frame_size 179 libavcodec/sipr16k.c int frame_size = SUBFRAME_COUNT_16k * L_SUBFR_16k; frame_size 260 libavcodec/sipr16k.c memcpy(ctx->synth, synth + frame_size - LP_FILTER_ORDER_16k, frame_size 57 libavcodec/sonic.c int channels, samplerate, block_align, frame_size; frame_size 647 libavcodec/sonic.c s->frame_size = s->channels*s->block_align*s->downsampling; frame_size 665 libavcodec/sonic.c s->int_samples = av_calloc(s->frame_size, sizeof(*s->int_samples)); frame_size 667 libavcodec/sonic.c s->window_size = ((2*s->tail_size)+s->frame_size); frame_size 699 libavcodec/sonic.c s->version, s->minor_version, s->lossless, s->decorrelation, s->num_taps, s->block_align, s->frame_size, s->downsampling); frame_size 701 libavcodec/sonic.c avctx->frame_size = s->block_align*s->downsampling; frame_size 733 libavcodec/sonic.c if ((ret = ff_alloc_packet2(avctx, avpkt, s->frame_size * 5 + 1000, 0)) < 0) frame_size 741 libavcodec/sonic.c for (i = 0; i < s->frame_size; i++) frame_size 745 libavcodec/sonic.c for (i = 0; i < s->frame_size; i++) frame_size 751 libavcodec/sonic.c for (i = 0; i < s->frame_size; i += s->channels) frame_size 758 libavcodec/sonic.c for (i = 0; i < s->frame_size; i += s->channels) frame_size 762 libavcodec/sonic.c for (i = 0; i < s->frame_size; i += s->channels) frame_size 772 libavcodec/sonic.c for (i = 0; i < s->frame_size; i++) frame_size 779 libavcodec/sonic.c s->tail[i] = s->int_samples[s->frame_size - s->tail_size + i]; frame_size 931 libavcodec/sonic.c s->frame_size = s->channels*s->block_align*s->downsampling; frame_size 934 libavcodec/sonic.c if (s->num_taps * s->channels > s->frame_size) { frame_size 937 libavcodec/sonic.c s->num_taps, s->channels, s->frame_size); frame_size 942 libavcodec/sonic.c s->version, s->minor_version, s->lossless, s->decorrelation, s->num_taps, s->block_align, s->frame_size, s->downsampling); frame_size 967 libavcodec/sonic.c s->int_samples = av_calloc(s->frame_size, sizeof(*s->int_samples)); frame_size 1008 libavcodec/sonic.c frame->nb_samples = s->frame_size / avctx->channels; frame_size 1053 libavcodec/sonic.c s->predictor_state[ch][i] = s->int_samples[s->frame_size - s->channels + ch - i*s->channels]; frame_size 1059 libavcodec/sonic.c for (i = 0; i < s->frame_size; i += s->channels) frame_size 1066 libavcodec/sonic.c for (i = 0; i < s->frame_size; i += s->channels) frame_size 1070 libavcodec/sonic.c for (i = 0; i < s->frame_size; i += s->channels) frame_size 1076 libavcodec/sonic.c for (i = 0; i < s->frame_size; i++) frame_size 1080 libavcodec/sonic.c for (i = 0; i < s->frame_size; i++) frame_size 56 libavcodec/ttaenc.c avctx->frame_size = 256 * avctx->sample_rate / 245; frame_size 780 libavcodec/twinvq.c avctx->block_align = tctx->frame_size + 7 >> 3; frame_size 782 libavcodec/twinvq.c frames_per_packet = avctx->block_align * 8LL / tctx->frame_size; frame_size 785 libavcodec/twinvq.c avctx->block_align * (int64_t)8, tctx->frame_size); frame_size 169 libavcodec/twinvq.h int frame_size, frames_per_packet, cur_frame; frame_size 404 libavcodec/twinvqdec.c tctx->frame_size = avctx->bit_rate * tctx->mtab->size frame_size 407 libavcodec/twinvqdec.c if (avctx->block_align && avctx->block_align * 8LL / tctx->frame_size > 1) { frame_size 1572 libavcodec/utils.c uint8_t * extradata, int frame_size, int frame_bytes) frame_size 1743 libavcodec/utils.c if (frame_size > 1 && frame_bytes) frame_size 1744 libavcodec/utils.c return frame_size; frame_size 1761 libavcodec/utils.c avctx->bit_rate, avctx->extradata, avctx->frame_size, frame_size 1770 libavcodec/utils.c par->bit_rate, par->extradata, par->frame_size, frame_size 2117 libavcodec/utils.c par->frame_size = codec->frame_size; frame_size 2172 libavcodec/utils.c codec->frame_size = par->frame_size; frame_size 1035 libavcodec/vorbisenc.c f->nb_samples = avctx->frame_size; frame_size 1054 libavcodec/vorbisenc.c int frame_size = 1 << (venc->log2_blocksize[1] - 1); frame_size 1055 libavcodec/vorbisenc.c int subframes = frame_size / sf_size; frame_size 1061 libavcodec/vorbisenc.c memcpy(venc->samples + 2 * ch * frame_size, frame_size 1062 libavcodec/vorbisenc.c venc->saved + ch * frame_size, sizeof(float) * frame_size); frame_size 1065 libavcodec/vorbisenc.c memset(venc->samples + 2 * ch * frame_size, 0, sizeof(float) * frame_size); frame_size 1071 libavcodec/vorbisenc.c float *offset = venc->samples + 2 * ch * frame_size + frame_size; frame_size 1072 libavcodec/vorbisenc.c float *save = venc->saved + ch * frame_size; frame_size 1082 libavcodec/vorbisenc.c memcpy(venc->scratch, venc->samples, 2 * venc->channels * frame_size); frame_size 1090 libavcodec/vorbisenc.c int frame_size = 1 << (venc->log2_blocksize[1] - 1); frame_size 1107 libavcodec/vorbisenc.c need_more = venc->bufqueue.available * avctx->frame_size < frame_size; frame_size 1114 libavcodec/vorbisenc.c if (venc->bufqueue.available * avctx->frame_size < frame_size) { frame_size 1115 libavcodec/vorbisenc.c int frames_needed = (frame_size/avctx->frame_size) - venc->bufqueue.available; frame_size 1128 libavcodec/vorbisenc.c move_audio(venc, avctx->frame_size); frame_size 1157 libavcodec/vorbisenc.c floor_fit(venc, fc, &venc->coeffs[i * frame_size], posts, frame_size); frame_size 1158 libavcodec/vorbisenc.c if (floor_encode(venc, fc, &pb, posts, &venc->floor[i * frame_size], frame_size)) { frame_size 1164 libavcodec/vorbisenc.c for (i = 0; i < venc->channels * frame_size; i++) frame_size 1168 libavcodec/vorbisenc.c float *mag = venc->coeffs + mapping->magnitude[i] * frame_size; frame_size 1169 libavcodec/vorbisenc.c float *ang = venc->coeffs + mapping->angle[i] * frame_size; frame_size 1171 libavcodec/vorbisenc.c for (j = 0; j < frame_size; j++) { frame_size 1182 libavcodec/vorbisenc.c &pb, venc->coeffs, frame_size, venc->channels)) { frame_size 1190 libavcodec/vorbisenc.c ff_af_queue_remove(&venc->afq, frame_size, &avpkt->pts, &avpkt->duration); frame_size 1192 libavcodec/vorbisenc.c if (frame_size > avpkt->duration) { frame_size 1196 libavcodec/vorbisenc.c AV_WL32(&side[4], frame_size - avpkt->duration); frame_size 1291 libavcodec/vorbisenc.c avctx->frame_size = 64; frame_size 68 libavcodec/vp9_superframe_split_bsf.c int frame_size = 0; frame_size 70 libavcodec/vp9_superframe_split_bsf.c frame_size |= bytestream2_get_byte(&bc) << (j * 8); frame_size 72 libavcodec/vp9_superframe_split_bsf.c total_size += frame_size; frame_size 73 libavcodec/vp9_superframe_split_bsf.c if (frame_size < 0 || total_size > in->size - idx_size) { frame_size 75 libavcodec/vp9_superframe_split_bsf.c "Invalid frame size in a superframe: %d\n", frame_size); frame_size 79 libavcodec/vp9_superframe_split_bsf.c s->sizes[i] = frame_size; frame_size 1634 libavcodec/wavpack.c int frame_size, ret, frame_flags; frame_size 1655 libavcodec/wavpack.c frame_size = AV_RL32(buf + 4) - 12; frame_size 1658 libavcodec/wavpack.c if (frame_size <= 0 || frame_size > buf_size) { frame_size 1661 libavcodec/wavpack.c s->block, frame_size, buf_size); frame_size 1665 libavcodec/wavpack.c if ((ret = wavpack_decode_block(avctx, s->block, buf, frame_size)) < 0) frame_size 1668 libavcodec/wavpack.c buf += frame_size; frame_size 1669 libavcodec/wavpack.c buf_size -= frame_size; frame_size 136 libavcodec/wavpackenc.c if (!avctx->frame_size) { frame_size 148 libavcodec/wavpackenc.c avctx->frame_size = block_samples; frame_size 149 libavcodec/wavpackenc.c } else if (avctx->frame_size && (avctx->frame_size < 128 || frame_size 150 libavcodec/wavpackenc.c avctx->frame_size > WV_MAX_SAMPLES)) { frame_size 151 libavcodec/wavpackenc.c av_log(avctx, AV_LOG_ERROR, "invalid block size: %d\n", avctx->frame_size); frame_size 98 libavcodec/wmaenc.c avctx->frame_size = avctx->initial_padding = s->frame_len; frame_size 1253 libavcodec/wmalosslessdec.c int frame_size; frame_size 1260 libavcodec/wmalosslessdec.c (frame_size = show_bits(gb, s->log2_frame_size)) && frame_size 1261 libavcodec/wmalosslessdec.c frame_size <= remaining_bits(s, gb)) { frame_size 1262 libavcodec/wmalosslessdec.c save_bits(s, gb, frame_size, 0); frame_size 1721 libavcodec/wmaprodec.c int frame_size; frame_size 1726 libavcodec/wmaprodec.c (frame_size = show_bits(gb, s->log2_frame_size)) && frame_size 1727 libavcodec/wmaprodec.c frame_size <= remaining_bits(s, gb)) { frame_size 1728 libavcodec/wmaprodec.c save_bits(s, gb, frame_size, 0); frame_size 71 libavcodec/xan.c int frame_size; frame_size 93 libavcodec/xan.c s->frame_size = 0; frame_size 227 libavcodec/xan.c while (pixel_count && index < s->frame_size) { frame_size 275 libavcodec/xan.c curframe_index < s->frame_size && frame_size 276 libavcodec/xan.c prevframe_index < s->frame_size) { frame_size 620 libavcodec/xan.c if (!s->frame_size) frame_size 621 libavcodec/xan.c s->frame_size = frame->linesize[0] * s->avctx->height; frame_size 190 libavdevice/alsa.c s->frame_size = av_get_bits_per_sample(*codec_id) / 8 * channels; frame_size 283 libavdevice/alsa.c s->reorder_buf = av_malloc_array(s->reorder_buf_size, s->frame_size); frame_size 343 libavdevice/alsa.c r = av_realloc_array(s->reorder_buf, size, s->frame_size); frame_size 51 libavdevice/alsa.h int frame_size; ///< bytes per sample * channels frame_size 86 libavdevice/alsa_dec.c st->codecpar->frame_size = s->frame_size; frame_size 108 libavdevice/alsa_dec.c if (av_new_packet(pkt, s->period_size * s->frame_size) < 0) { frame_size 134 libavdevice/alsa_dec.c pkt->size = res * s->frame_size; frame_size 90 libavdevice/alsa_enc.c size /= s->frame_size; frame_size 131 libavdevice/alsa_enc.c pkt.size = (*frame)->nb_samples * s->frame_size; frame_size 50 libavdevice/fbdev_dec.c int frame_size; ///< size in bytes of a grabbed frame frame_size 120 libavdevice/fbdev_dec.c fbdev->frame_size = fbdev->frame_linesize * fbdev->height; frame_size 180 libavdevice/fbdev_dec.c if ((ret = av_new_packet(pkt, fbdev->frame_size)) < 0) frame_size 202 libavdevice/fbdev_dec.c return fbdev->frame_size; frame_size 43 libavdevice/gdigrab.c int frame_size; /**< Size in bytes of the frame pixel data */ frame_size 393 libavdevice/gdigrab.c gdigrab->frame_size = bmp.bmWidthBytes * bmp.bmHeight * bmp.bmPlanes; frame_size 420 libavdevice/gdigrab.c st->codecpar->bit_rate = (gdigrab->header_size + gdigrab->frame_size) * 1/av_q2d(gdigrab->time_base) * 8; frame_size 541 libavdevice/gdigrab.c int file_size = gdigrab->header_size + gdigrab->frame_size; frame_size 601 libavdevice/gdigrab.c memcpy(pkt->data + gdigrab->header_size, gdigrab->buffer, gdigrab->frame_size); frame_size 605 libavdevice/gdigrab.c return gdigrab->header_size + gdigrab->frame_size; frame_size 68 libavdevice/oss.c s->frame_size = OSS_AUDIO_BLOCK_SIZE; frame_size 33 libavdevice/oss.h int frame_size; /* in bytes ! */ frame_size 77 libavdevice/oss_dec.c if ((ret=av_new_packet(pkt, s->frame_size)) < 0) frame_size 45 libavdevice/pulse_audio_dec.c int frame_size; frame_size 313 libavdevice/pulse_audio_dec.c int frame_size = ((av_get_bits_per_sample(codec_id) >> 3) * pd->channels); frame_size 314 libavdevice/pulse_audio_dec.c int frame_duration = read_length / frame_size; frame_size 355 libavdevice/pulse_audio_dec.c { "frame_size", "set number of bytes per frame", OFFSET(frame_size), AV_OPT_TYPE_INT, {.i64 = 1024}, 1, INT_MAX, D }, frame_size 75 libavdevice/v4l2.c int frame_size; frame_size 383 libavdevice/v4l2.c if (s->frame_size > 0 && s->buf_len[i] < s->frame_size) { frame_size 386 libavdevice/v4l2.c i, s->buf_len[i], s->frame_size); frame_size 538 libavdevice/v4l2.c s->frame_size = buf.bytesused; frame_size 540 libavdevice/v4l2.c if (s->frame_size > 0 && buf.bytesused != s->frame_size) { frame_size 543 libavdevice/v4l2.c buf.bytesused, s->frame_size, buf.flags); frame_size 949 libavdevice/v4l2.c s->frame_size = av_image_get_buffer_size(st->codecpar->format, frame_size 973 libavdevice/v4l2.c st->codecpar->bit_rate = s->frame_size * av_q2d(st->avg_frame_rate) * 8; frame_size 64 libavdevice/xcbgrab.c int frame_size; frame_size 305 libavdevice/xcbgrab.c pkt->size = c->frame_size; frame_size 594 libavdevice/xcbgrab.c c->frame_size = frame_size_bits / 8; frame_size 597 libavdevice/xcbgrab.c c->shm_pool = av_buffer_pool_init2(c->frame_size + AV_INPUT_BUFFER_PADDING_SIZE, frame_size 162 libavfilter/af_dynaudnorm.c const int frame_size = lrint((double)sample_rate * (frame_len_msec / 1000.0)); frame_size 163 libavfilter/af_dynaudnorm.c return frame_size + (frame_size % 2); frame_size 335 libavfilter/af_dynaudnorm.c s->frame_len = frame_size(inlink->sample_rate, s->frame_len_msec); frame_size 848 libavfilter/af_dynaudnorm.c s->frame_len = frame_size(inlink->sample_rate, s->frame_len_msec); frame_size 129 libavfilter/af_loudnorm.c const int frame_size = round((double)sample_rate * (frame_len_msec / 1000.0)); frame_size 130 libavfilter/af_loudnorm.c return frame_size + (frame_size % 2); frame_size 445 libavfilter/af_loudnorm.c if (s->frame_type == FIRST_FRAME && in->nb_samples < frame_size(inlink->sample_rate, 3000)) { frame_size 500 libavfilter/af_loudnorm.c subframe_length = frame_size(inlink->sample_rate, 100); frame_size 537 libavfilter/af_loudnorm.c subframe_length = (frame_size(inlink->sample_rate, 100) - in->nb_samples) * inlink->channels; frame_size 591 libavfilter/af_loudnorm.c subframe_length = frame_size(inlink->sample_rate, 100); frame_size 655 libavfilter/af_loudnorm.c nb_samples -= (frame_size(inlink->sample_rate, 100) - s->prev_nb_samples); frame_size 666 libavfilter/af_loudnorm.c offset -= (frame_size(inlink->sample_rate, 100) - s->prev_nb_samples) * inlink->channels; frame_size 746 libavfilter/af_loudnorm.c s->buf_size = frame_size(inlink->sample_rate, 3000) * inlink->channels; frame_size 751 libavfilter/af_loudnorm.c s->limiter_buf_size = frame_size(inlink->sample_rate, 210) * inlink->channels; frame_size 765 libavfilter/af_loudnorm.c inlink->partial_buf_size = frame_size(inlink->sample_rate, 3000); frame_size 777 libavfilter/af_loudnorm.c s->attack_length = frame_size(inlink->sample_rate, 10); frame_size 778 libavfilter/af_loudnorm.c s->release_length = frame_size(inlink->sample_rate, 100); frame_size 175 libavfilter/buffersink.c void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size) frame_size 180 libavfilter/buffersink.c inlink->partial_buf_size = frame_size; frame_size 105 libavfilter/buffersink.h void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size); frame_size 47 libavformat/ac3dec.c uint16_t frame_size; frame_size 61 libavformat/ac3dec.c &frame_size); frame_size 64 libavformat/ac3dec.c &frame_size); frame_size 67 libavformat/ac3dec.c if(buf2 + frame_size > end) frame_size 70 libavformat/ac3dec.c av_assert0(frame_size <= sizeof(buf3)); frame_size 71 libavformat/ac3dec.c for(i = 8; i < frame_size; i += 2) { frame_size 75 libavformat/ac3dec.c if (av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, buf3 + 2, frame_size - 2)) frame_size 78 libavformat/ac3dec.c if (av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, buf2 + 2, frame_size - 2)) frame_size 83 libavformat/ac3dec.c buf2 += frame_size; frame_size 89 libavformat/act.c st->codecpar->frame_size=80; frame_size 100 libavformat/act.c st->duration = av_rescale(1000*(min*60+sec)+msec, st->codecpar->sample_rate, 1000 * st->codecpar->frame_size); frame_size 116 libavformat/act.c int frame_size=s->streams[0]->codecpar->sample_rate==8000?10:22; frame_size 129 libavformat/act.c ret = avio_read(pb, ctx->audio_buffer, frame_size); frame_size 133 libavformat/act.c if(ret!=frame_size) frame_size 168 libavformat/act.c ret = avio_read(pb, ctx->audio_buffer, frame_size); frame_size 172 libavformat/act.c if(ret!=frame_size) frame_size 187 libavformat/act.c ctx->bytes_left_in_chunk -= frame_size; frame_size 189 libavformat/act.c if(ctx->bytes_left_in_chunk < frame_size) frame_size 59 libavformat/aptxdec.c st->codecpar->frame_size = APTX_PACKET_SIZE; frame_size 71 libavformat/aptxdec.c st->codecpar->frame_size = APTX_HD_PACKET_SIZE; frame_size 197 libavformat/argo_asf.c st->codecpar->frame_size = st->codecpar->channels + frame_size 201 libavformat/argo_asf.c st->codecpar->block_align = st->codecpar->frame_size; frame_size 225 libavformat/argo_asf.c if ((ret = av_get_packet(pb, pkt, st->codecpar->frame_size)) < 0) frame_size 227 libavformat/argo_asf.c else if (ret != st->codecpar->frame_size) frame_size 113 libavformat/cafenc.c int frame_size = par->frame_size; frame_size 141 libavformat/cafenc.c if (par->codec_id != AV_CODEC_ID_MP3 || frame_size != 576) frame_size 142 libavformat/cafenc.c frame_size = samples_per_packet(par->codec_id, par->channels, par->block_align); frame_size 154 libavformat/cafenc.c avio_wb32(pb, frame_size); //< mFramesPerPacket frame_size 75 libavformat/codec2.c st->codecpar->frame_size = avpriv_codec2_mode_frame_size(s, mode); frame_size 79 libavformat/codec2.c st->codecpar->frame_size <= 0 || frame_size 128 libavformat/codec2.c int ret, size, n, block_align, frame_size; frame_size 131 libavformat/codec2.c frame_size = st->codecpar->frame_size; frame_size 133 libavformat/codec2.c if (block_align <= 0 || frame_size <= 0 || c2->frames_per_packet <= 0) { frame_size 147 libavformat/codec2.c pkt->duration = n * frame_size; frame_size 84 libavformat/dfa.c uint32_t frame_size; frame_size 100 libavformat/dfa.c frame_size = AV_RL32(pkt->data + pkt->size - 8); frame_size 101 libavformat/dfa.c if (frame_size > INT_MAX - 4) { frame_size 102 libavformat/dfa.c av_log(s, AV_LOG_ERROR, "Too large chunk size: %"PRIu32"\n", frame_size); frame_size 106 libavformat/dfa.c if (frame_size) { frame_size 109 libavformat/dfa.c frame_size); frame_size 110 libavformat/dfa.c avio_skip(pb, frame_size); frame_size 114 libavformat/dfa.c ret = av_append_packet(pb, pkt, frame_size); frame_size 46 libavformat/dss.c static const uint8_t frame_size[4] = { 24, 20, 4, 1 }; frame_size 278 libavformat/dss.c size = frame_size[byte & 3]; frame_size 300 libavformat/dv.c par->bit_rate = av_rescale_q(c->sys->frame_size, frame_size 303 libavformat/dv.c return c->sys->frame_size; frame_size 372 libavformat/dv.c buf_size < c->sys->frame_size) { frame_size 421 libavformat/dv.c const int frame_size = c->sys->frame_size; frame_size 424 libavformat/dv.c int64_t max_offset = ((size - 1) / frame_size) * frame_size; frame_size 426 libavformat/dv.c offset = frame_size * timestamp; frame_size 538 libavformat/dv.c s->bit_rate = av_rescale_q(c->dv_demux->sys->frame_size, frame_size 565 libavformat/dv.c size = c->dv_demux->sys->frame_size; frame_size 589 libavformat/dv.c ff_dv_offset_reset(c, offset / c->sys->frame_size); frame_size 209 libavformat/dvenc.c for (buf = frame; buf < frame + c->sys->frame_size; buf += 150 * 80, seq++) { frame_size 215 libavformat/dvenc.c if (((long)(buf-frame)/(c->sys->frame_size/(c->sys->difseg_size*c->sys->n_difchan))%c->sys->difseg_size) > 5) { /* FIXME: is this really needed ? */ frame_size 250 libavformat/dvenc.c if (data_size != c->sys->frame_size) { frame_size 252 libavformat/dvenc.c data_size, c->sys->frame_size); frame_size 256 libavformat/dvenc.c memcpy(*frame, data, c->sys->frame_size); frame_size 292 libavformat/dvenc.c return c->sys->frame_size; frame_size 32 libavformat/g723_1.c static const uint8_t frame_size[4] = { 24, 20, 4, 1 }; frame_size 60 libavformat/g723_1.c size = frame_size[byte & 3]; frame_size 62 libavformat/img2.h int frame_size; frame_size 480 libavformat/img2dec.c if (s->frame_size > 0) { frame_size 481 libavformat/img2dec.c size[0] = s->frame_size; frame_size 648 libavformat/img2dec.c { "frame_size", "force frame size in bytes", OFFSET(frame_size), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX, DEC }, frame_size 87 libavformat/lmlm4.c unsigned int frame_type, packet_size, padding, frame_size; frame_size 93 libavformat/lmlm4.c frame_size = packet_size - 8; frame_size 104 libavformat/lmlm4.c if ((ret = av_get_packet(pb, pkt, frame_size)) <= 0) frame_size 212 libavformat/matroskadec.c int frame_size; frame_size 2619 libavformat/matroskadec.c track->audio.frame_size = avio_rb16(&b); frame_size 2623 libavformat/matroskadec.c track->audio.frame_size <= 0) frame_size 2627 libavformat/matroskadec.c if (track->audio.sub_packet_h & 1 || 2 * track->audio.frame_size frame_size 2640 libavformat/matroskadec.c track->audio.frame_size % track->audio.sub_packet_size) frame_size 2646 libavformat/matroskadec.c track->audio.frame_size); frame_size 3128 libavformat/matroskadec.c const int w = track->audio.frame_size; frame_size 3619 libavformat/matroskadec.c if (track->audio.samplerate != st->codecpar->sample_rate || !st->codecpar->frame_size) frame_size 899 libavformat/mov.c st->codecpar->frame_size = frame_size 6790 libavformat/mov.c st->codecpar->frame_size = 40 << (ratebits & 0x7); frame_size 465 libavformat/movenc.c if (pkt->size != hdr->frame_size) { frame_size 466 libavformat/movenc.c int cumul_size = hdr->frame_size; frame_size 498 libavformat/movenc.c cumul_size += hdr->frame_size; frame_size 1148 libavformat/movenc.c avio_wb32(pb, track->par->frame_size); /* Samples per packet */ frame_size 5482 libavformat/movenc.c samples_in_chunk = trk->par->frame_size; frame_size 6506 libavformat/movenc.c if (!st->codecpar->frame_size && !av_get_bits_per_sample(st->codecpar->codec_id)) { frame_size 6517 libavformat/movenc.c }else if (st->codecpar->frame_size > 1){ /* assume compressed audio */ frame_size 97 libavformat/mp3dec.c available = FFMIN(h.frame_size, end - buf2); frame_size 104 libavformat/mp3dec.c framesizes += h.frame_size; frame_size 105 libavformat/mp3dec.c if (available < h.frame_size) { frame_size 109 libavformat/mp3dec.c buf2 += h.frame_size; frame_size 333 libavformat/mp3dec.c vbrtag_size = c.frame_size; frame_size 402 libavformat/mp3dec.c int frame_size; frame_size 405 libavformat/mp3dec.c frame_size = check(s->pb, off + i, &header); frame_size 406 libavformat/mp3dec.c if (frame_size > 0) { frame_size 410 libavformat/mp3dec.c ffio_ensure_seekback(s->pb, i + 1024 + frame_size + 4); frame_size 411 libavformat/mp3dec.c ret = check(s->pb, off + i + frame_size, &header2); frame_size 421 libavformat/mp3dec.c av_log(s, AV_LOG_ERROR, "Invalid frame size (%d): Could not seek to %"PRId64".\n", frame_size, off + i + frame_size); frame_size 424 libavformat/mp3dec.c } else if (frame_size == CHECK_SEEK_FAILED) { frame_size 425 libavformat/mp3dec.c av_log(s, AV_LOG_ERROR, "Failed to read frame size: Could not seek to %"PRId64".\n", (int64_t) (i + 1024 + frame_size + 4)); frame_size 491 libavformat/mp3dec.c return sd.frame_size; frame_size 213 libavformat/mp3enc.c if (bytes_needed <= mpah.frame_size) frame_size 229 libavformat/mp3enc.c mp3->size = mpah.frame_size; frame_size 274 libavformat/mp3enc.c ffio_fill(dyn_ctx, 0, mpah.frame_size - bytes_needed); frame_size 887 libavformat/mpegtsenc.c int frame_size = av_get_audio_frame_duration2(pcr_st->codecpar, 0); frame_size 888 libavformat/mpegtsenc.c if (!frame_size) { frame_size 890 libavformat/mpegtsenc.c frame_size = 512; frame_size 892 libavformat/mpegtsenc.c frame_period = av_rescale_rnd(frame_size, PCR_TIME_BASE, pcr_st->codecpar->sample_rate, AV_ROUND_UP); frame_size 550 libavformat/mux.c int frame_size; frame_size 635 libavformat/mux.c frame_size = (pkt->flags & AV_PKT_FLAG_UNCODED_FRAME) ? frame_size 642 libavformat/mux.c if (frame_size >= 0 && (pkt->size || st->internal->priv_pts->num != st->internal->priv_pts->den >> 1 || st->internal->priv_pts->val)) { frame_size 643 libavformat/mux.c frac_add(st->internal->priv_pts, (int64_t)st->time_base.den * frame_size); frame_size 99 libavformat/mxfenc.c int frame_size; ///< frame size in bytes frame_size 1749 libavformat/mxfenc.c audio_frame_size = sc->frame_size; frame_size 1965 libavformat/mxfenc.c sc->frame_size = pkt->size; frame_size 2000 libavformat/mxfenc.c int i, cid, frame_size = 0; frame_size 2028 libavformat/mxfenc.c if ((frame_size = avpriv_dnxhd_get_frame_size(cid)) == DNXHD_VARIABLE) { frame_size 2029 libavformat/mxfenc.c frame_size = avpriv_dnxhd_get_hr_frame_size(cid, st->codecpar->width, st->codecpar->height); frame_size 2031 libavformat/mxfenc.c if (frame_size < 0) frame_size 2045 libavformat/mxfenc.c sc->frame_size = pkt->size; frame_size 2132 libavformat/mxfenc.c sc->frame_size = pkt->size; frame_size 2139 libavformat/mxfenc.c int frame_size; frame_size 2181 libavformat/mxfenc.c int i, frame_size, slice_type, has_sps = 0, intra_only = 0, ret; frame_size 2250 libavformat/mxfenc.c frame_size = pkt->size + extra_size; frame_size 2253 libavformat/mxfenc.c if (frame_size == mxf_h264_codec_uls[i].frame_size && sc->interlaced == mxf_h264_codec_uls[i].interlaced) { frame_size 2260 libavformat/mxfenc.c sc->frame_size = pkt->size; frame_size 2264 libavformat/mxfenc.c } else if (has_sps && mxf_h264_codec_uls[i].frame_size == 0 && frame_size 2533 libavformat/mxfenc.c sc->frame_size = (int64_t)sc->video_bit_rate * frame_size 2556 libavformat/mxfenc.c sc->frame_size = 4 + 8 * av_rescale_rnd(st->codecpar->sample_rate, mxf->time_base.num, mxf->time_base.den, AV_ROUND_UP) * 4; frame_size 2578 libavformat/mxfenc.c sc->frame_size = st->codecpar->channels * frame_size 2711 libavformat/mxfenc.c int frame_size = pkt->size / st->codecpar->block_align; frame_size 2716 libavformat/mxfenc.c klv_encode_ber4_length(pb, 4 + frame_size*4*8); frame_size 2718 libavformat/mxfenc.c avio_w8(pb, (frame_size == 1920 ? 0 : (mxf->edit_units_count-1) % 5 + 1)); frame_size 2719 libavformat/mxfenc.c avio_wl16(pb, frame_size); frame_size 2796 libavformat/mxfenc.c mxf->edit_unit_byte_count = sc->frame_size; frame_size 2805 libavformat/mxfenc.c mxf->edit_unit_byte_count += 16 + 4 + sc->frame_size; frame_size 2856 libavformat/mxfenc.c if (pkt->size != sc->frame_size && st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) { frame_size 2858 libavformat/mxfenc.c st->index, pkt->size, sc->frame_size); frame_size 62 libavformat/nutenc.c int lsf, mpeg25, sample_rate_index, bitrate_index, frame_size; frame_size 76 libavformat/nutenc.c frame_size = frame_size 78 libavformat/nutenc.c frame_size = (frame_size * 144000) / (sample_rate << lsf) + frame_size 81 libavformat/nutenc.c if (frame_size == size) frame_size 175 libavformat/nutenc.c int frame_size = 0; frame_size 178 libavformat/nutenc.c frame_size = av_get_audio_frame_duration2(par, 0); frame_size 179 libavformat/nutenc.c if (par->codec_id == AV_CODEC_ID_VORBIS && !frame_size) frame_size 180 libavformat/nutenc.c frame_size = 64; frame_size 184 libavformat/nutenc.c frame_size = f.num; frame_size 186 libavformat/nutenc.c if (!frame_size) frame_size 187 libavformat/nutenc.c frame_size = 1; frame_size 211 libavformat/nutenc.c int frame_size = av_get_audio_frame_duration2(par, 0); frame_size 212 libavformat/nutenc.c frame_bytes = frame_size * (int64_t)par->bit_rate / (8 * par->sample_rate); frame_size 222 libavformat/nutenc.c ft->pts_delta = pts * frame_size; frame_size 232 libavformat/nutenc.c ft->pts_delta = frame_size; frame_size 258 libavformat/nutenc.c pred_table[pred] *= frame_size; frame_size 97 libavformat/oggparseopus.c unsigned frame_size = toc_config < 12 ? FFMAX(480, 960 * (toc_config & 3)) : frame_size 108 libavformat/oggparseopus.c return frame_size * nb_frames; frame_size 100 libavformat/psxstr.c int frame_size = AV_RL32(§or[0x24]); frame_size 102 libavformat/psxstr.c if(!( frame_size>=0 frame_size 104 libavformat/psxstr.c && sector_count*VIDEO_DATA_CHUNK_SIZE >=frame_size)){ frame_size 184 libavformat/psxstr.c int frame_size = AV_RL32(§or[0x24]); frame_size 186 libavformat/psxstr.c if(!( frame_size>=0 frame_size 188 libavformat/psxstr.c && sector_count*VIDEO_DATA_CHUNK_SIZE >=frame_size)){ frame_size 189 libavformat/psxstr.c av_log(s, AV_LOG_ERROR, "Invalid parameters %d %d %d\n", current_sector, sector_count, frame_size); frame_size 231 libavformat/psxstr.c pkt->size= frame_size; frame_size 57 libavformat/riffenc.c int bps, blkalign, bytespersec, frame_size; frame_size 71 libavformat/riffenc.c frame_size = av_get_audio_frame_duration2(par, par->block_align); frame_size 167 libavformat/riffenc.c bytestream_put_le16(&riff_extradata, frame_size); frame_size 274 libavformat/riffenc.c audio_frame_size = par->frame_size; frame_size 186 libavformat/rmenc.c int frame_size = av_get_audio_frame_duration2(stream->par, 0); frame_size 189 libavformat/rmenc.c frame_size) / (8 * sample_rate); frame_size 327 libavformat/rmenc.c int frame_size; frame_size 340 libavformat/rmenc.c frame_size = av_get_audio_frame_duration2(par, 0); frame_size 341 libavformat/rmenc.c stream->frame_rate = (AVRational){par->sample_rate, frame_size}; frame_size 330 libavformat/rpl.c uint32_t frame_size; frame_size 333 libavformat/rpl.c frame_size = avio_rl32(pb); frame_size 337 libavformat/rpl.c ret = av_get_packet(pb, pkt, frame_size); frame_size 340 libavformat/rpl.c if (ret != frame_size) { frame_size 105 libavformat/rtpdec_amr.c int frame_size = frame_sizes[(toc >> 3) & 0x0f]; frame_size 107 libavformat/rtpdec_amr.c if (speech_data + frame_size > buf + len) { frame_size 120 libavformat/rtpdec_amr.c memcpy(ptr, speech_data, frame_size); frame_size 121 libavformat/rtpdec_amr.c speech_data += frame_size; frame_size 122 libavformat/rtpdec_amr.c ptr += frame_size; frame_size 59 libavformat/rtpdec_qcelp.c int frame_size, ret; frame_size 121 libavformat/rtpdec_qcelp.c frame_size = frame_sizes[buf[1]]; frame_size 122 libavformat/rtpdec_qcelp.c if (1 + frame_size > len) frame_size 125 libavformat/rtpdec_qcelp.c if (len - 1 - frame_size > sizeof(data->group[0].data)) frame_size 128 libavformat/rtpdec_qcelp.c if ((ret = av_new_packet(pkt, frame_size)) < 0) frame_size 130 libavformat/rtpdec_qcelp.c memcpy(pkt->data, &buf[1], frame_size); frame_size 134 libavformat/rtpdec_qcelp.c ip->size = len - 1 - frame_size; frame_size 136 libavformat/rtpdec_qcelp.c memcpy(ip->data, &buf[1 + frame_size], ip->size); frame_size 156 libavformat/rtpdec_qcelp.c int frame_size, ret; frame_size 176 libavformat/rtpdec_qcelp.c frame_size = frame_sizes[ip->data[ip->pos]]; frame_size 177 libavformat/rtpdec_qcelp.c if (ip->pos + frame_size > ip->size) frame_size 180 libavformat/rtpdec_qcelp.c if ((ret = av_new_packet(pkt, frame_size)) < 0) frame_size 182 libavformat/rtpdec_qcelp.c memcpy(pkt->data, &ip->data[ip->pos], frame_size); frame_size 184 libavformat/rtpdec_qcelp.c ip->pos += frame_size; frame_size 36 libavformat/rtpdec_rfc4175.c unsigned int frame_size; frame_size 71 libavformat/rtpdec_rfc4175.c data->frame_size = data->width * data->height * data->pgroup / data->xinc; frame_size 129 libavformat/rtpdec_rfc4175.c ret = av_packet_from_data(pkt, data->frame, data->frame_size); frame_size 166 libavformat/rtpdec_rfc4175.c data->frame = av_malloc(data->frame_size); frame_size 210 libavformat/rtpdec_rfc4175.c if (copy_offset + length > data->frame_size) frame_size 36 libavformat/rtpdec_vc2hq.c uint32_t frame_size; frame_size 137 libavformat/rtpdec_vc2hq.c pl_ctx->frame_size = DIRAC_DATA_UNIT_HEADER_SIZE + DIRAC_PIC_NR_SIZE; frame_size 141 libavformat/rtpdec_vc2hq.c pl_ctx->frame_size += frag_len; frame_size 155 libavformat/rtpdec_vc2hq.c pl_ctx->frame_size += frag_len; frame_size 168 libavformat/rtpdec_vc2hq.c fill_parse_info_header(pl_ctx, pkt->data, DIRAC_PCODE_PICTURE_HQ, pl_ctx->frame_size); frame_size 171 libavformat/rtpdec_vc2hq.c pl_ctx->frame_size = 0; frame_size 187 libavformat/rtpdec_vc2hq.c pl_ctx->frame_size = 0; frame_size 487 libavformat/rtpenc.c int frame_size = st->codecpar->block_align; frame_size 488 libavformat/rtpenc.c int frames = size / frame_size; frame_size 502 libavformat/rtpenc.c memcpy(s->buf_ptr, buf, frame_size); frame_size 505 libavformat/rtpenc.c s->buf_ptr += frame_size; frame_size 506 libavformat/rtpenc.c buf += frame_size; frame_size 39 libavformat/rtpenc_h261.c void ff_rtp_send_h261(AVFormatContext *ctx, const uint8_t *frame_buf, int frame_size) frame_size 49 libavformat/rtpenc_h261.c while (frame_size > 0) { frame_size 74 libavformat/rtpenc_h261.c if (frame_size < 2 || frame_buf[0] != 0 || frame_buf[1] != 1) { frame_size 83 libavformat/rtpenc_h261.c cur_frame_size = FFMIN(rtp_ctx->max_payload_size - RTP_H261_HEADER_SIZE, frame_size); frame_size 86 libavformat/rtpenc_h261.c if (cur_frame_size < frame_size) { frame_size 93 libavformat/rtpenc_h261.c last_packet_of_frame = cur_frame_size == frame_size; frame_size 100 libavformat/rtpenc_h261.c frame_size -= cur_frame_size; frame_size 102 libavformat/rtpenc_vc2hq.c void ff_rtp_send_vc2hq(AVFormatContext *ctx, const uint8_t *frame_buf, int frame_size, int interlaced) frame_size 104 libavformat/rtpenc_vc2hq.c const uint8_t *end = frame_buf + frame_size; frame_size 39 libavformat/sbgdec.c int frame_size; frame_size 1401 libavformat/sbgdec.c if (!sbg->frame_size) frame_size 1402 libavformat/sbgdec.c sbg->frame_size = FFMAX(1, sbg->sample_rate / 10); frame_size 1422 libavformat/sbgdec.c st->codecpar->frame_size = sbg->frame_size; frame_size 1452 libavformat/sbgdec.c end_ts = ts + avf->streams[0]->codecpar->frame_size; frame_size 1488 libavformat/sbgdec.c { "frame_size", "", offsetof(struct sbg_demuxer, frame_size), frame_size 42 libavformat/sierravmd.c unsigned int frame_size; frame_size 234 libavformat/sierravmd.c vmd->frame_table[total_frames].frame_size = size; frame_size 246 libavformat/sierravmd.c vmd->frame_table[total_frames].frame_size = size; frame_size 284 libavformat/sierravmd.c if(ffio_limit(pb, frame->frame_size) != frame->frame_size) frame_size 286 libavformat/sierravmd.c ret = av_new_packet(pkt, frame->frame_size + BYTES_PER_FRAME_RECORD); frame_size 292 libavformat/sierravmd.c ret = avio_read(pb, pkt->data, frame->frame_size); frame_size 295 libavformat/sierravmd.c frame->frame_size); frame_size 297 libavformat/sierravmd.c if (ret != frame->frame_size) { frame_size 304 libavformat/sierravmd.c frame->frame_size + BYTES_PER_FRAME_RECORD, frame_size 245 libavformat/smacker.c int frame_size = 0; frame_size 254 libavformat/smacker.c frame_size = smk->frm_size[smk->cur_frame] & (~3); frame_size 265 libavformat/smacker.c if(size + 1 > frame_size) frame_size 267 libavformat/smacker.c frame_size -= size; frame_size 268 libavformat/smacker.c frame_size--; frame_size 312 libavformat/smacker.c if (!size || size + 4LL > frame_size) { frame_size 316 libavformat/smacker.c frame_size -= size; frame_size 317 libavformat/smacker.c frame_size -= 4; frame_size 331 libavformat/smacker.c if (frame_size < 0 || frame_size >= INT_MAX/2) frame_size 333 libavformat/smacker.c if ((ret = av_new_packet(pkt, frame_size + 769)) < 0) frame_size 339 libavformat/smacker.c ret = avio_read(s->pb, pkt->data + 769, frame_size); frame_size 340 libavformat/smacker.c if(ret != frame_size) frame_size 430 libavformat/swfenc.c int frame_size = av_fifo_size(swf->audio_fifo); frame_size 434 libavformat/swfenc.c av_fifo_generic_read(swf->audio_fifo, pb, frame_size, (void*)avio_write); frame_size 34 libavformat/tta.c int frame_size; frame_size 87 libavformat/tta.c c->frame_size = samplerate * 256 / 245; frame_size 88 libavformat/tta.c c->last_frame_size = nb_samples % c->frame_size; frame_size 90 libavformat/tta.c c->last_frame_size = c->frame_size; frame_size 91 libavformat/tta.c c->totalframes = nb_samples / c->frame_size + (c->last_frame_size < c->frame_size); frame_size 122 libavformat/tta.c if ((r = av_add_index_entry(st, framepos, i * c->frame_size, size, 0, frame_size 168 libavformat/tta.c c->frame_size; frame_size 34 libavformat/ttaenc.c int frame_size; frame_size 63 libavformat/ttaenc.c tta->frame_size = par->sample_rate * 256 / 245; frame_size 105 libavformat/ttaenc.c if (tta->frame_size != pkt->duration) { frame_size 956 libavformat/utils.c int frame_size, sample_rate; frame_size 998 libavformat/utils.c frame_size = av_get_audio_frame_duration(st->internal->avctx, pkt->size); frame_size 1001 libavformat/utils.c frame_size = av_get_audio_frame_duration2(st->codecpar, pkt->size); frame_size 1004 libavformat/utils.c if (frame_size <= 0 || sample_rate <= 0) frame_size 1006 libavformat/utils.c *pnum = frame_size; frame_size 3015 libavformat/utils.c if (!avctx->frame_size && determinable_frame_size(avctx)) frame_size 98 libavformat/vc1test.c int frame_size; frame_size 105 libavformat/vc1test.c frame_size = avio_rl24(pb); frame_size 109 libavformat/vc1test.c if(av_get_packet(pb, pkt, frame_size) < 0) frame_size 92 libavformat/xmv.c uint32_t frame_size; ///< Number of bytes to put into an audio frame. frame_size 204 libavformat/xmv.c packet->frame_size = 0; frame_size 368 libavformat/xmv.c packet->frame_size = packet->data_size / xmv->video.frame_count; frame_size 369 libavformat/xmv.c packet->frame_size -= packet->frame_size % packet->block_align; frame_size 459 libavformat/xmv.c data_size = FFMIN(audio->frame_size, audio->data_size); frame_size 497 libavformat/xmv.c uint32_t frame_size, frame_timestamp; frame_size 507 libavformat/xmv.c frame_size = (frame_header & 0x1FFFF) * 4 + 4; frame_size 510 libavformat/xmv.c if ((frame_size + 4) > video->data_size) frame_size 514 libavformat/xmv.c result = av_get_packet(pb, pkt, frame_size); frame_size 515 libavformat/xmv.c if (result != frame_size) frame_size 522 libavformat/xmv.c for (data = pkt->data, end = pkt->data + frame_size; data < end; data += 4) frame_size 541 libavformat/xmv.c video->data_size -= frame_size + 4; frame_size 542 libavformat/xmv.c video->data_offset += frame_size + 4; frame_size 34 libavformat/yop.c int frame_size; frame_size 87 libavformat/yop.c yop->frame_size = avio_r8(pb) * 2048; frame_size 100 libavformat/yop.c video_par->bit_rate = 8 * (yop->frame_size - yop->audio_block_length) * frame_rate; frame_size 104 libavformat/yop.c yop->audio_block_length + yop->palette_size >= yop->frame_size) { frame_size 122 libavformat/yop.c int actual_video_data_size = yop->frame_size - frame_size 135 libavformat/yop.c yop->frame_size - yop->audio_block_length); frame_size 191 libavformat/yop.c pos_max = avio_size(s->pb) - yop->frame_size; frame_size 192 libavformat/yop.c frame_count = (pos_max - pos_min) / yop->frame_size; frame_size 196 libavformat/yop.c frame_pos = timestamp * yop->frame_size + pos_min; frame_size 39 tests/api/api-flac-test.c int channels, int frame_size) frame_size 43 tests/api/api-flac-test.c for (j = 0; j < frame_size; j++) { frame_size 126 tests/api/api-flac-test.c in_frame->nb_samples = enc_ctx->frame_size; frame_size 158 tests/api/api-flac-test.c enc_ctx->channels, enc_ctx->frame_size); frame_size 185 tests/tiny_ssim.c int frame_size, w, h; frame_size 204 tests/tiny_ssim.c frame_size = w*h*3LL/2; frame_size 207 tests/tiny_ssim.c buf[i] = malloc(frame_size); frame_size 220 tests/tiny_ssim.c if( fread(buf[0], frame_size, 1, f[0]) != 1) break; frame_size 221 tests/tiny_ssim.c if( fread(buf[1], frame_size, 1, f[1]) != 1) break;