/third_party/ffmpeg/libavutil/ |
H A D | video_enc_params.c | 28 unsigned int nb_blocks, size_t *out_size) in av_video_enc_params_alloc() 38 if (nb_blocks > (SIZE_MAX - size) / sizeof(AVVideoBlockParams)) in av_video_enc_params_alloc() 40 size += sizeof(AVVideoBlockParams) * nb_blocks; in av_video_enc_params_alloc() 47 par->nb_blocks = nb_blocks; in av_video_enc_params_alloc() 59 unsigned int nb_blocks) in av_video_enc_params_create_side_data() 65 par = av_video_enc_params_alloc(type, nb_blocks, &size); in av_video_enc_params_create_side_data() 27 av_video_enc_params_alloc(enum AVVideoEncParamsType type, unsigned int nb_blocks, size_t *out_size) av_video_enc_params_alloc() argument 58 av_video_enc_params_create_side_data(AVFrame *frame, enum AVVideoEncParamsType type, unsigned int nb_blocks) av_video_enc_params_create_side_data() argument
|
H A D | video_enc_params.h | 81 unsigned int nb_blocks; member 140 * Get the block at the specified {@code idx}. Must be between 0 and nb_blocks. 145 av_assert0(idx < par->nb_blocks); in av_video_enc_params_block() 152 * {@code nb_blocks} AVVideoBlockParams and initializes the variables. Can be 159 unsigned int nb_blocks, size_t *out_size); 163 * {@code nb_blocks} AVEncodeInfoBlock in the given AVFrame {@code frame} 169 unsigned int nb_blocks);
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_shufflepixels.c | 49 int nb_blocks; member 73 const int nb_blocks = s->nb_blocks; in make_horizontal_map() local 79 int rand = av_lfg_get(c) % nb_blocks; in make_horizontal_map() 111 const int nb_blocks = s->nb_blocks; in make_vertical_map() local 117 int rand = av_lfg_get(c) % nb_blocks; in make_vertical_map() 149 const int nb_blocks = s->nb_blocks; in make_block_map() local 155 for (int i = 0; i < nb_blocks;) { in make_block_map() [all...] |
H A D | qp_table.c | 44 (par->nb_blocks != 0 && par->nb_blocks != nb_mb)) in ff_qp_table_extract() 57 if (par->nb_blocks == 0) { in ff_qp_table_extract()
|
H A D | vf_qp.c | 114 (par_in->nb_blocks == s->h * s->qstride || !par_in->nb_blocks)) { in filter_frame() 116 if (!par_in->nb_blocks) in filter_frame()
|
H A D | vf_codecview.c | 267 if (par->nb_blocks) { in filter_frame() 268 for (int block_idx = 0; block_idx < par->nb_blocks; block_idx++) { in filter_frame()
|
H A D | vf_showinfo.c | 419 if (par->nb_blocks) in dump_video_enc_params() 420 av_log(ctx, AV_LOG_INFO, "%u blocks; ", par->nb_blocks); in dump_video_enc_params()
|
/third_party/ffmpeg/libavcodec/ |
H A D | lscrdec.c | 116 int ret, nb_blocks, offset = 0; in decode_frame_lscr() local 125 nb_blocks = bytestream2_get_le16(gb); in decode_frame_lscr() 126 if (bytestream2_get_bytes_left(gb) < 2 + nb_blocks * (12 + 8)) in decode_frame_lscr() 130 nb_blocks ? 0 : FF_REGET_BUFFER_FLAG_READONLY); in decode_frame_lscr() 134 for (int b = 0; b < nb_blocks; b++) { in decode_frame_lscr() 157 frame->key_frame = (nb_blocks == 1) && in decode_frame_lscr() 162 bytestream2_seek(gb, 2 + nb_blocks * 12 + offset, SEEK_SET); in decode_frame_lscr()
|
H A D | fmvc.c | 52 unsigned nb_blocks; member 450 unsigned block, nb_blocks; in decode_frame() local 456 for (block = 0; block < s->nb_blocks; block++) in decode_frame() 459 nb_blocks = bytestream2_get_le16(gb); in decode_frame() 460 if (nb_blocks > s->nb_blocks) in decode_frame() 466 for (block = 0; block < nb_blocks; block++) { in decode_frame() 471 if (offset >= s->nb_blocks) in decode_frame() 584 s->nb_blocks = s->xb * s->yb; in decode_init() 585 if (!s->nb_blocks) in decode_init() [all...] |
H A D | midivid.c | 60 uint32_t nb_blocks; in decode_mvdv() local 65 nb_blocks = (avctx->width / 2) * (avctx->height / 2); in decode_mvdv() 69 nb_blocks = bytestream2_get_le32(gb); in decode_mvdv() 102 if (bytestream2_get_bytes_left(gb) < (nb_blocks + 7 * !intra_flag) / 8) in decode_mvdv() 104 bytestream2_init(&idx9, gb->buffer_start + bytestream2_tell(gb), (nb_blocks + 7 * !intra_flag) / 8); in decode_mvdv() 105 bytestream2_skip(gb, (nb_blocks + 7 * !intra_flag) / 8); in decode_mvdv()
|
H A D | mjpegdec.h | 103 int nb_blocks[MAX_COMPONENTS]; member
|
H A D | smcenc.c | 56 #define ADVANCE_BLOCK(pixel_ptr, row_ptr, nb_blocks) \ 58 for (int block = 0; block < nb_blocks && pixel_ptr && row_ptr; block++) { \
|
H A D | exr.c | 2047 int nb_blocks; /* nb scanline or nb tile */ in decode_frame() local 2155 nb_blocks = ((s->xdelta + s->tile_attr.xSize - 1) / s->tile_attr.xSize) * in decode_frame() 2158 nb_blocks = (s->ydelta + s->scan_lines_per_block - 1) / in decode_frame() 2165 if (bytestream2_get_bytes_left(gb)/8 < nb_blocks) in decode_frame() 2173 start_next_scanline = start_offset_table + nb_blocks * 8; in decode_frame() 2174 bytestream2_init_writer(&offset_table_writer, &avpkt->data[start_offset_table], nb_blocks * 8); in decode_frame() 2176 for (y = 0; y < nb_blocks; y++) { in decode_frame() 2202 avctx->execute2(avctx, decode_block, s->thread_data, NULL, nb_blocks); in decode_frame()
|
H A D | mjpegdec.c | 1279 n = s->nb_blocks[i]; in ljpeg_decode_yuv_scan() 1350 n = s->nb_blocks[i]; in ljpeg_decode_yuv_scan() 1483 n = s->nb_blocks[i]; in mjpeg_decode_scan() 1697 s->nb_blocks[i] = s->h_count[index] * s->v_count[index]; in ff_mjpeg_decode_sos() 1733 s->nb_blocks[0] = 1; in ff_mjpeg_decode_sos()
|
H A D | vp9.c | 1504 unsigned int tile, nb_blocks = 0; in vp9_export_enc_params() local 1508 nb_blocks += s->td[tile].nb_block_structure; in vp9_export_enc_params() 1512 AV_VIDEO_ENC_PARAMS_VP9, nb_blocks); in vp9_export_enc_params() 1523 if (nb_blocks) { in vp9_export_enc_params()
|
/third_party/ffmpeg/tools/ |
H A D | venc_data_dump.c | 55 if (par->nb_blocks) { in process_frame() 56 fprintf(stdout, "nb_blocks %d\n", par->nb_blocks); in process_frame() 57 for (int i = 0; i < par->nb_blocks; i++) { in process_frame()
|
/third_party/ffmpeg/libavformat/ |
H A D | argo_asf.c | 48 int64_t nb_blocks; member 408 int nb_blocks = pkt->size / par->block_align; in argo_asf_write_packet() local 413 if (ctx->nb_blocks + nb_blocks > UINT32_MAX) in argo_asf_write_packet() 418 ctx->nb_blocks += nb_blocks; in argo_asf_write_packet() 430 avio_wl32(s->pb, (uint32_t)ctx->nb_blocks); in argo_asf_write_trailer()
|