Searched refs:byte_buffer_size (Results 1 – 7 of 7) sorted by relevance
/third_party/ffmpeg/tests/api/ |
D | api-band-test.c | 78 int byte_buffer_size; in video_decode() local 147 byte_buffer_size = av_image_get_buffer_size(ctx->pix_fmt, ctx->width, ctx->height, 32); in video_decode() 148 byte_buffer = av_malloc(byte_buffer_size); in video_decode() 154 slice_byte_buffer = av_malloc(byte_buffer_size); in video_decode() 159 memset(slice_byte_buffer, 0, byte_buffer_size); in video_decode() 160 slice_byte_buffer_size = byte_buffer_size; in video_decode() 192 number_of_written_bytes = av_image_copy_to_buffer(byte_buffer, byte_buffer_size, in video_decode()
|
D | api-h264-test.c | 44 int byte_buffer_size; in video_decode_example() local 104 byte_buffer_size = av_image_get_buffer_size(ctx->pix_fmt, ctx->width, ctx->height, 16); in video_decode_example() 105 byte_buffer = av_malloc(byte_buffer_size); in video_decode_example() 148 number_of_written_bytes = av_image_copy_to_buffer(byte_buffer, byte_buffer_size, in video_decode_example()
|
D | api-seek-test.c | 81 int byte_buffer_size; in compute_crc_of_packets() local 85 byte_buffer_size = av_image_get_buffer_size(ctx->pix_fmt, ctx->width, ctx->height, 16); in compute_crc_of_packets() 86 byte_buffer = av_malloc(byte_buffer_size); in compute_crc_of_packets() 138 number_of_written_bytes = av_image_copy_to_buffer(byte_buffer, byte_buffer_size, in compute_crc_of_packets()
|
/third_party/ffmpeg/libavcodec/ |
D | internal.h | 166 unsigned int byte_buffer_size; member
|
D | encode.c | 44 … av_fast_padded_malloc(&avctx->internal->byte_buffer, &avctx->internal->byte_buffer_size, size); in ff_alloc_packet2()
|
D | mpegvideo_enc.c | 1880 …_buffer ? FFMAX(s->mb_width*s->mb_height*64+10000, avctx->internal->byte_buffer_size) - AV_INPUT_B… in ff_mpv_encode_picture() 1912 pkt->size = avctx->internal->byte_buffer_size; in ff_mpv_encode_picture() 2928 if ((s->avctx->internal->byte_buffer_size + size_increase) >= INT_MAX/8) { in ff_mpv_reallocate_putbitbuffer() 2936 s->avctx->internal->byte_buffer_size + size_increase); in ff_mpv_reallocate_putbitbuffer() 2940 memcpy(new_buffer, s->avctx->internal->byte_buffer, s->avctx->internal->byte_buffer_size); in ff_mpv_reallocate_putbitbuffer() 2943 s->avctx->internal->byte_buffer_size = new_buffer_size; in ff_mpv_reallocate_putbitbuffer() 3036 int size_increase = s->avctx->internal->byte_buffer_size/4 in encode_thread()
|
D | avcodec.c | 586 avctx->internal->byte_buffer_size = 0; in avcodec_close()
|