Searched refs:chroma_h_shift (Results 1 - 18 of 18) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dhuffyuv.h71 int chroma_h_shift; member in struct:HYuvContext
H A Dffv1dec.c434 const int chroma_width = FF_CEIL_RSHIFT(width, f->chroma_h_shift);
436 const int cx = x >> f->chroma_h_shift;
542 f->chroma_h_shift = get_symbol(c, state, 0);
603 f->chroma_planes, f->chroma_h_shift, f->chroma_v_shift,
622 int chroma_planes, chroma_h_shift, chroma_v_shift, transparency, colorspace, bits_per_raw_sample; local
638 chroma_h_shift = get_symbol(c, state, 0);
646 || chroma_h_shift!= f->chroma_h_shift
657 f->chroma_h_shift = chroma_h_shift;
[all...]
H A Dsnowdec.c42 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size;
44 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth];
45 int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size;
295 s->chroma_h_shift= get_symbol(&s->c, s->header_state, 0);
298 if(s->chroma_h_shift == 1 && s->chroma_v_shift==1){
300 }else if(s->chroma_h_shift == 0 && s->chroma_v_shift==0){
302 }else if(s->chroma_h_shift == 2 && s->chroma_v_shift==2){
305 av_log(s, AV_LOG_ERROR, "unsupported color subsample mode %d %d\n", s->chroma_h_shift, s->chroma_v_shift);
306 s->chroma_h_shift = s->chroma_v_shift = 1;
313 s->chroma_h_shift
[all...]
H A Dmjpegenc_common.c158 int chroma_h_shift, chroma_v_shift; local
160 av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &chroma_h_shift,
177 hsample[1] = 2 >> chroma_h_shift;
178 hsample[2] = 2 >> chroma_h_shift;
H A Dmjpegenc.c186 int chroma_h_shift, chroma_v_shift; local
188 av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &chroma_h_shift, &chroma_v_shift);
H A Dsnow.h148 int chroma_h_shift; member in struct:SnowContext
420 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size;
422 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth];
423 const int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size;
428 av_assert2(s->chroma_h_shift == s->chroma_v_shift); // obmc params assume squares
501 ((y*c->uvstride + x)>>s->chroma_h_shift),
502 ((y*c->uvstride + x)>>s->chroma_h_shift),
H A Dsnow.c80 (EDGE_WIDTH >> (i ? s->chroma_h_shift : 0));
361 const int scale= plane_index ? (2*s->mv_scale)>>s->chroma_h_shift : 2*s->mv_scale;
379 av_assert2(s->chroma_h_shift == s->chroma_v_shift); // only one mv_scale
478 // dec += FFMAX(s->chroma_h_shift, s->chroma_v_shift);
531 w>>= s->chroma_h_shift;
586 int w= is_chroma ? s->avctx->width >>s->chroma_h_shift : s->avctx->width;
651 s->current_picture->linesize[1], w>>s->chroma_h_shift, h>>s->chroma_v_shift,
652 EDGE_WIDTH>>s->chroma_h_shift, EDGE_WIDTH>>s->chroma_v_shift, EDGE_TOP | EDGE_BOTTOM);
654 s->current_picture->linesize[2], w>>s->chroma_h_shift, h>>s->chroma_v_shift,
655 EDGE_WIDTH>>s->chroma_h_shift, EDGE_WIDT
[all...]
H A Dffv1.h86 int chroma_h_shift, chroma_v_shift; member in struct:FFV1Context
H A Dsnowenc.c120 avcodec_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift, &s->chroma_v_shift);
241 s->input_picture->data[1] + ((x*block_w)>>s->chroma_h_shift) + ((y*uvstride*block_w)>>s->chroma_v_shift),
242 s->input_picture->data[2] + ((x*block_w)>>s->chroma_h_shift) + ((y*uvstride*block_w)>>s->chroma_v_shift)};
367 block_s= block_w*block_w>>(s->chroma_h_shift + s->chroma_v_shift);
368 sum = pix_sum(current_data[1], uvstride, block_w>>s->chroma_h_shift, block_w>>s->chroma_v_shift);
371 sum = pix_sum(current_data[2], uvstride, block_w>>s->chroma_h_shift, block_w>>s->chroma_v_shift);
499 const int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size;
501 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth];
502 const int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size;
515 av_assert2(s->chroma_h_shift
[all...]
H A Dffv1enc.c512 put_symbol(c, state, f->chroma_h_shift, 0);
575 put_symbol(c, state, f->chroma_h_shift, 0);
852 avcodec_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift, &s->chroma_v_shift);
1135 const int chroma_width = FF_CEIL_RSHIFT(width, f->chroma_h_shift);
1137 const int cx = x >> f->chroma_h_shift;
H A Dhuffyuvenc.c244 &s->chroma_h_shift,
370 ((uint8_t*)avctx->extradata)[1] = ((s->bps-1)<<4) | s->chroma_h_shift | (s->chroma_v_shift<<2);
894 w >>= s->chroma_h_shift;
H A Dhuffyuvdec.c309 s->chroma_h_shift = avctx->extradata[1] & 3;
382 &s->chroma_h_shift,
385 switch ( (s->chroma<<10) | (s->yuv<<9) | (s->alpha<<8) | ((s->bps-1)<<4) | s->chroma_h_shift | (s->chroma_v_shift<<2)) {
903 w >>= s->chroma_h_shift;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dffv1.c167 int chroma_h_shift, chroma_v_shift; member in struct:FFV1Context
634 put_symbol(c, state, f->chroma_h_shift, 0);
772 put_symbol(c, state, f->chroma_h_shift, 0);
927 avcodec_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift, &s->chroma_v_shift);
1066 const int chroma_width = -((-width )>>f->chroma_h_shift);
1068 const int cx= x>>f->chroma_h_shift;
1391 const int chroma_width = -((-width )>>f->chroma_h_shift);
1393 const int cx= x>>f->chroma_h_shift;
1471 f->chroma_h_shift= get_symbol(c, state, 0);
1528 f->chroma_h_shift
[all...]
H A Dsnowdec.c290 s->chroma_h_shift= get_symbol(&s->c, s->header_state, 0);
331 if(FFMIN(s->avctx-> width>>s->chroma_h_shift,
337 if (s->chroma_h_shift != 1 || s->chroma_v_shift != 1) {
H A Dsnow.c436 // dec += FFMAX(s->chroma_h_shift, s->chroma_v_shift);
468 w>>= s->chroma_h_shift;
H A Dsnow.h137 int chroma_h_shift; member in struct:SnowContext
H A Dmpegvideo_enc.c281 int chroma_h_shift, chroma_v_shift; local
645 avcodec_get_chroma_sub_sample(avctx->pix_fmt, &chroma_h_shift,
685 s->mjpeg_hsample[1] = 2 >> chroma_h_shift;
686 s->mjpeg_hsample[2] = 2 >> chroma_h_shift;
H A Dsnowenc.c236 // avcodec_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift, &s->chroma_v_shift);
237 s->chroma_h_shift= 1;
1460 put_symbol(&s->c, s->header_state, s->chroma_h_shift, 0);

Completed in 144 milliseconds