Searched refs:mb_width (Results 1 - 25 of 127) sorted by relevance

123456

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dproresdec.h48 unsigned mb_width; ///< width of the current picture in mb member in struct:__anon3198
H A Dasv.h53 int mb_width; member in struct:ASV1Context
H A Drv10enc.c53 put_bits(&s->pb, 12, s->mb_width * s->mb_height);
H A Derror_resilience.c48 *stride = s->mb_width * 4;
379 const int mb_width = s->mb_width; local
411 num_avail <= mb_width / 2) {
413 for (mb_x = 0; mb_x < s->mb_width; mb_x++) {
442 for (mb_x = 0; mb_x < s->mb_width; mb_x++) {
464 if (mb_x + 1 < mb_width && fixed[mb_xy + 1] == MV_FROZEN)
476 if (mb_x + 1 < mb_width && fixed[mb_xy + 1 ] == MV_CHANGED)
496 if (mb_x + 1 < mb_width && fixed[mb_xy + 1]) {
625 if (mb_x + 1 < mb_width
[all...]
H A Daic.c147 int mb_width, mb_height; member in struct:AICContext
309 int slice_width = FFMIN(ctx->slice_width, ctx->mb_width - mb_x);
400 for (x = 0; x < ctx->mb_width; x += ctx->slice_width) {
438 ctx->mb_width = FFALIGN(avctx->width, 16) >> 4;
442 ctx->slice_width = ctx->mb_width / 16;
444 if (!(ctx->mb_width % i) && (ctx->mb_width / i < 32)) {
445 ctx->slice_width = ctx->mb_width / i;
H A Dtscc2.c39 int mb_width, mb_height; member in struct:TSCC2Context
200 for (mb_x = 0; mb_x < c->mb_width; mb_x++) {
201 q = c->slice_quants[mb_x + c->mb_width * mb_y];
226 int num_mb = c->mb_width * c->mb_height;
301 int skip_row = 1, j, off = i * c->mb_width;
302 for (j = 0; j < c->mb_width; j++) {
360 c->mb_width = FFALIGN(avctx->width, 16) >> 4;
362 c->slice_quants = av_malloc(c->mb_width * c->mb_height);
H A Derror_resilience.h59 int mb_width, mb_height; member in struct:ERContext
H A Dvp56.c52 if (mvp.x < 0 || mvp.x >= s->mb_width ||
55 offset = mvp.x + s->mb_width*mvp.y;
196 s->macroblocks[row * s->mb_width + col].mv = s->mv[3];
214 s->macroblocks[row * s->mb_width + col].type = s->mb_type;
255 s->macroblocks[row*s->mb_width + col].mv = *mv;
470 s->mb_width = (avctx->coded_width +15) / 16;
473 if (s->mb_width > 1000 || s->mb_height > 1000) {
479 av_reallocp_array(&s->above_blocks, 4*s->mb_width+6,
481 av_reallocp_array(&s->macroblocks, s->mb_width*s->mb_height,
595 for (block=0; block<s->mb_height*s->mb_width; bloc
[all...]
H A Dljpegenc.c192 const int mb_width = (avctx->width + s->hsample[0] - 1) / s->hsample[0]; local
198 mb_width * 4 * 3 * s->hsample[0] * s->vsample[0]) {
203 for (mb_x = 0; mb_x < mb_width; mb_x++)
217 const int mb_width = (width + s->hsample[0] - 1) / s->hsample[0]; local
227 max_pkt_size += mb_width * mb_height * 3 * 4
H A Dlibxvid_rc.c97 xvid_plg_data.mb_width = s->mb_width;
H A Dmjpegdec.h81 int mb_width, mb_height; member in struct:MJpegDecodeContext
H A Dmxpegdec.c42 unsigned mb_width, mb_height; /* size of picture in MB's from MXM header */ member in struct:MXpegDecodeContext
97 s->mb_width = AV_RL16(buf_ptr+4);
99 mb_count = s->mb_width * s->mb_height;
162 if ((jpg->width + 0x0F)>>4 != s->mb_width ||
H A Dproresenc_kostya.c201 int mb_width, mb_height; member in struct:ProresContext
232 const int mb_width = 4 * blocks_per_mb; local
236 for (i = 0; i < mbs_per_slice; i++, src += mb_width) {
242 if (x + mb_width <= w && y + 16 <= h) {
251 bw = FFMIN(w - x, mb_width);
259 for (k = bw; k < mb_width; k++)
265 mb_width * sizeof(*emu_buf));
293 x += mb_width;
914 for (x = mb = 0; x < ctx->mb_width; x += mbs_per_slice, mb++) {
915 while (ctx->mb_width
[all...]
H A Dvp8.c74 if (!(f->seg_map = av_buffer_allocz(s->mb_width * s->mb_height))) {
154 if (width != s->avctx->width || ((width+15)/16 != s->mb_width || (height+15)/16 != s->mb_height) && s->macroblocks_base ||
163 s->mb_width = (s->avctx->coded_width + 15) / 16;
169 s->macroblocks_base = av_mallocz((s->mb_width + s->mb_height * 2 + 1) *
171 s->intra4x4_pred_mode_top = av_mallocz(s->mb_width * 4);
173 s->macroblocks_base = av_mallocz((s->mb_width + 2) * (s->mb_height + 2) *
175 s->top_nnz = av_mallocz(s->mb_width * sizeof(*s->top_nnz));
176 s->top_border = av_mallocz((s->mb_width + 1) * sizeof(*s->top_border));
181 av_mallocz(s->mb_width * sizeof(*s->thread_data[0].filter_strength));
451 int width = s->mb_width * 1
898 vp7_calculate_mb_offset(int mb_x, int mb_y, int mb_width, int xoffset, int yoffset, int boundary, int *edge_x, int *edge_y) argument
1455 xchg_mb_border(uint8_t *top_border, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int mb_x, int mb_y, int mb_width, int simple, int xchg) argument
[all...]
H A Ddnxhdenc.c349 ctx->m.mb_width = (avctx->width + 15) / 16;
356 ctx->m.mb_num = ctx->m.mb_height * ctx->m.mb_width;
624 for (mb_x = 0; mb_x < ctx->m.mb_width; mb_x++) {
625 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
679 for (mb_x = 0; mb_x < ctx->m.mb_width; mb_x++) {
680 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
712 for (mb_x = 0; mb_x < ctx->m.mb_width; mb_x++) {
713 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
734 for (mb_x = 0; mb_x < ctx->m.mb_width; ++mb_x, pix += 16) {
735 unsigned mb = mb_y * ctx->m.mb_width
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Drv10enc.c53 put_bits(&s->pb, 12, s->mb_width * s->mb_height);
H A Dmdec.c45 int mb_width; member in struct:MDECContext
196 for(a->mb_x=0; a->mb_x<a->mb_width; a->mb_x++){
206 memset(p->qscale_table, a->qscale, a->mb_width);
219 a->mb_width = (avctx->coded_width + 15) / 16;
237 p->qscale_table= av_mallocz(a->mb_width);
250 p->qscale_table = av_mallocz( a->mb_width);
H A Dvp56.c38 memset(s->qscale_table, quantizer, s->mb_width);
52 if (mvp.x < 0 || mvp.x >= s->mb_width ||
55 offset = mvp.x + s->mb_width*mvp.y;
196 s->macroblocks[row * s->mb_width + col].mv = s->mv[3];
214 s->macroblocks[row * s->mb_width + col].type = s->mb_type;
255 s->macroblocks[row*s->mb_width + col].mv = *mv;
466 s->mb_width = (avctx->coded_width +15) / 16;
469 if (s->mb_width > 1000 || s->mb_height > 1000) {
475 s->qscale_table = av_realloc(s->qscale_table, s->mb_width);
477 (4*s->mb_width
[all...]
H A Derror_resilience.c396 const int mb_width = s->mb_width; local
420 num_avail <= mb_width / 2) {
425 for (mb_x = 0; mb_x < s->mb_width; mb_x++) {
467 for (mb_x = 0; mb_x < s->mb_width; mb_x++) {
491 if (mb_x + 1 < mb_width && fixed[mb_xy + 1] == MV_FROZEN)
503 if (mb_x + 1 < mb_width && fixed[mb_xy + 1 ] == MV_CHANGED)
523 if (mb_x + 1 < mb_width && fixed[mb_xy + 1]) {
659 if (mb_x + 1 < mb_width && fixed[mb_xy + 1]) {
754 for (mb_x = 0; mb_x < s->mb_width; mb_
[all...]
H A Ddnxhdenc.c282 ctx->m.mb_width = (avctx->width + 15) / 16;
289 ctx->m.mb_num = ctx->m.mb_height * ctx->m.mb_width;
523 for (mb_x = 0; mb_x < ctx->m.mb_width; mb_x++) {
524 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
572 for (mb_x = 0; mb_x < ctx->m.mb_width; mb_x++) {
573 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
605 for (mb_x = 0; mb_x < ctx->m.mb_width; mb_x++) {
606 unsigned mb = mb_y * ctx->m.mb_width + mb_x;
623 for (mb_x = 0; mb_x < ctx->m.mb_width; ++mb_x, pix += 16) {
624 unsigned mb = mb_y * ctx->m.mb_width
[all...]
H A Dlibxvid_rc.c94 xvid_plg_data.mb_width = s->mb_width;
H A Dmjpegdec.h71 int mb_width, mb_height; member in struct:MJpegDecodeContext
H A Dmxpegdec.c41 unsigned mb_width, mb_height; /* size of picture in MB's from MXM header */ member in struct:MXpegDecodeContext
71 s->mb_width = AV_RL16(buf_ptr+4);
73 mb_count = s->mb_width * s->mb_height;
135 if ((jpg->width + 0x0F)>>4 != s->mb_width ||
H A Dljpegenc.c107 const int mb_width = (width + s->mjpeg_hsample[0] - 1) / s->mjpeg_hsample[0]; local
111 if(s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb)>>3) < mb_width * 4 * 3 * s->mjpeg_hsample[0] * s->mjpeg_vsample[0]){
115 for(mb_x = 0; mb_x < mb_width; mb_x++) {
H A Dvaapi_mpeg4.c90 pic_param->num_macroblocks_in_gob = s->mb_width * ff_h263_get_gob_height(s);
91 pic_param->num_gobs_in_vop = (s->mb_width * s->mb_height) / pic_param->num_macroblocks_in_gob;
143 slice_param->macroblock_number = s->mb_y * s->mb_width + s->mb_x;

Completed in 283 milliseconds

123456