Home
last modified time | relevance | path

Searched refs:video_size (Results 1 – 25 of 28) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Djvdec.c152 int video_size, video_type, i, j, ret; in decode_frame() local
157 video_size = AV_RL32(buf); in decode_frame()
161 if (video_size) { in decode_frame()
162 if (video_size < 0 || video_size > avpkt->size - 5) { in decode_frame()
163 av_log(avctx, AV_LOG_ERROR, "video size %d invalid\n", video_size); in decode_frame()
169 init_get_bits(&gb, buf, 8 * video_size); in decode_frame()
174 if (avctx->height/8 * (avctx->width/8) > 4 * video_size) { in decode_frame()
185 buf += video_size; in decode_frame()
212 if (video_size) { in decode_frame()
Dpafvideo.c60 int video_size; member
104 c->video_size = avctx->width * avctx->height; in paf_video_init()
215 } while (i < c->video_size / 16); in decode_0()
289 …c->video_size / 32 - (int64_t)bytestream2_get_bytes_left(&c->gb) > c->video_size / 32 * (int64_t)a… in paf_video_decode()
353 if (bytestream2_get_bytes_left(&c->gb) < c->video_size) in paf_video_decode()
355 bytestream2_get_bufferu(&c->gb, dst, c->video_size); in paf_video_decode()
370 end = dst + c->video_size; in paf_video_decode()
Dcdxl.c52 int video_size; member
90 if (init_get_bits8(&gb, c->video, c->video_size) < 0) in bitplanar2chunky()
106 if (init_get_bits8(&gb, c->video, c->video_size) < 0) in bitline2chunky()
122 bytestream2_init(&gb, c->video, c->video_size); in chunky2chunky()
264 c->video_size = buf_size - c->palette_size - 32; in cdxl_decode_frame()
289 if (c->video_size < aligned_width * avctx->height * (int64_t)c->bpp / 8) in cdxl_decode_frame()
Diff.c67 unsigned video_size; member
325 if (s->video_size && s->planesize * s->bpp * avctx->height > s->video_size) in extract_header()
442 s->video_size = FFALIGN(avctx->width, 2) * avctx->height * s->bpp; in decode_init()
443 if (!s->video_size) in decode_init()
1607 memcpy(s->video[0], buf, FFMIN(buf_end - buf, s->video_size)); in decode_frame()
1792 … decode_short_horizontal_delta(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size); in decode_frame()
1796 …e_byte_vertical_delta(s->video[0], buf, buf_end, avctx->width, s->is_brush, s->bpp, s->video_size); in decode_frame()
1801 … decode_short_vertical_delta(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size); in decode_frame()
1803 … decode_long_vertical_delta(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size); in decode_frame()
1808 … decode_short_vertical_delta2(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size); in decode_frame()
[all …]
/third_party/ffmpeg/libavformat/
Djvdec.c38 int video_size; /**< video packet size (bytes) */ member
132 jvf->video_size = avio_rl32(pb); in read_header()
135 if ((jvf->video_size | jvf->audio_size) & ~0xFFFFFF || in read_header()
137 - jvf->video_size in read_header()
146 jvf->video_size = in read_header()
190 if (jvf->video_size || jvf->palette_size) { in read_packet()
191 int size = jvf->video_size + jvf->palette_size; in read_packet()
195 AV_WL32(pkt->data, jvf->video_size); in read_packet()
213 avio_skip(pb, FFMAX(e->size - jvf->audio_size - jvf->video_size in read_packet()
Dbfi.c38 int video_size; member
144 bfi->video_size = chunk_size - video_offset; in bfi_read_packet()
145 if (audio_size < 0 || bfi->video_size < 0) { in bfi_read_packet()
157 } else if (bfi->video_size > 0) { in bfi_read_packet()
160 ret = av_get_packet(pb, pkt, bfi->video_size); in bfi_read_packet()
165 bfi->video_frame += ret / bfi->video_size; in bfi_read_packet()
Dcdxl.c121 uint32_t current_size, video_size, image_size; in cdxl_read_packet() local
158 video_size = palette_size + image_size; in cdxl_read_packet()
163 if (current_size < (uint64_t)audio_size + video_size + CDXL_HEADER_SIZE) in cdxl_read_packet()
217 if ((ret = av_new_packet(pkt, video_size + CDXL_HEADER_SIZE)) < 0) in cdxl_read_packet()
220 ret = avio_read(pb, pkt->data + CDXL_HEADER_SIZE, video_size); in cdxl_read_packet()
233 avio_skip(pb, current_size - audio_size - video_size - CDXL_HEADER_SIZE); in cdxl_read_packet()
Dpaf.c47 int video_size; member
163 p->video_size = p->max_video_blks * p->buffer_size; in read_header()
164 p->video_frame = av_mallocz(p->video_size); in read_header()
248 if (offset > p->video_size - p->buffer_size) in read_packet()
256 if (p->frames_offset_table[p->current_frame] >= p->video_size) in read_packet()
259 size = p->video_size - p->frames_offset_table[p->current_frame]; in read_packet()
Drpl.c286 int64_t offset, video_size, audio_size; in rpl_read_header() local
289 &offset, &video_size, &audio_size)) { in rpl_read_header()
295 video_size, rpl->frames_per_chunk, 0); in rpl_read_header()
297 av_add_index_entry(ast, offset + video_size, total_audio_size, in rpl_read_header()
Drawdec.h32 char *video_size; /**< String describing video size, set by a private option. */ member
/third_party/gstreamer/gstplugins_bad/gst/gaudieffects/
Dgstburn.c219 gint video_size, adjustment; in gst_burn_transform_frame() local
227 video_size = GST_VIDEO_FRAME_WIDTH (in_frame) * in gst_burn_transform_frame()
247 gaudi_orc_burn (dest, src, adjustment, video_size); in gst_burn_transform_frame()
Dgstdodge.c200 gint video_size; in gst_dodge_transform_frame() local
220 video_size = GST_VIDEO_FRAME_WIDTH (in_frame) * in gst_dodge_transform_frame()
223 transform (src, dest, video_size); in gst_dodge_transform_frame()
Dgstexclusion.c222 gint video_size, factor; in gst_exclusion_transform_frame() local
246 video_size = GST_VIDEO_FRAME_WIDTH (in_frame) * in gst_exclusion_transform_frame()
248 transform (src, dest, video_size, factor); in gst_exclusion_transform_frame()
Dgstchromium.c248 gint video_size, edge_a, edge_b; in gst_chromium_transform_frame() local
273 video_size = GST_VIDEO_FRAME_WIDTH (in_frame) * in gst_chromium_transform_frame()
275 transform (src, dest, video_size, edge_a, edge_b); in gst_chromium_transform_frame()
Dgstsolarize.c249 gint video_size, threshold, start, end; in gst_solarize_transform_frame() local
275 video_size = GST_VIDEO_FRAME_WIDTH (in_frame) * in gst_solarize_transform_frame()
278 transform (src, dest, video_size, threshold, start, end); in gst_solarize_transform_frame()
Dgstdilate.c221 gint video_size, width, height; in gst_dilate_transform_frame() local
249 video_size = width * height; in gst_dilate_transform_frame()
250 transform (src, dest, video_size, width, height, erode); in gst_dilate_transform_frame()
/third_party/ffmpeg/tests/fate/
Dspeedhq.mak4 … CMD = framecrc -flags +bitexact -f rawvideo -c:v speedhq -tag:v SHQ2 -video_size 112x64 -i $(TARG…
5 … CMD = framecrc -flags +bitexact -f rawvideo -c:v speedhq -tag:v SHQ2 -video_size 112x32 -i $(TARG…
/third_party/ffmpeg/libavdevice/
Dlibdc1394.c43 char *video_size; /**< String describing video size, set by a private option. */ member
82 …{ "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), A…
115 if ((ret = av_parse_video_size(&width, &height, dc1394->video_size)) < 0) { in dc1394_read_common()
116 av_log(c, AV_LOG_ERROR, "Could not parse video size '%s'.\n", dc1394->video_size); in dc1394_read_common()
Dvfwcap.c51 char *video_size; /**< A string describing video size, set by a private option. */ member
331 if (ctx->video_size) { in vfw_read_header()
333 ret = av_parse_video_size(&w, &h, ctx->video_size); in vfw_read_header()
472 …{ "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), A…
Davfoundation.m1200 …{ "video_size", "set video size", offsetof(AVFContext, width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NUL…
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstaging.c310 gint width, height, stride, video_size; in gst_agingtv_transform_frame() local
327 video_size = stride * height / 4; in gst_agingtv_transform_frame()
337 coloraging (src, dest, video_size, &agingtv->coloraging_state); in gst_agingtv_transform_frame()
/third_party/ffmpeg/doc/
Dindevs.texi88 @item video_size
172 @item -video_size
234 @item video_size
492 @item video_size
725 ffmpeg -f gdigrab -framerate 6 -offset_x 10 -offset_y 20 -video_size vga -i desktop out.mpg
756 ffmpeg -f gdigrab -show_region 1 -framerate 6 -video_size cif -offset_x 10 -offset_y 20 -i desktop …
759 @item video_size
763 When capturing a region with @var{video_size}, set the distance from the left edge of the screen or…
768 When capturing a region with @var{video_size}, set the distance from the top edge of the screen or …
1114 @item video_size
[all …]
Ddemuxers.texi456 @item video_size
756 @item video_size
765 ffplay -f rawvideo -pixel_format rgb24 -video_size 320x240 -framerate 10 input.raw
Dffplay.texi40 has been deprecated in favor of private options, try -video_size.
/third_party/ffmpeg/fftools/
Dffmpeg.c1587 uint64_t video_size = 0, audio_size = 0, extra_size = 0, other_size = 0; in print_final_stats() local
1597 case AVMEDIA_TYPE_VIDEO: video_size += ost->data_size; break; in print_final_stats()
1613 video_size / 1024.0, in print_final_stats()
1692 if(video_size + data_size + audio_size + subtitle_size + extra_size == 0){ in print_final_stats()

12