Lines Matching defs:pic_conf
109 IVIPicConfig pic_conf;
152 pic_conf.pic_height = get_bits(&ctx->gb, 16);
153 pic_conf.pic_width = get_bits(&ctx->gb, 16);
155 pic_conf.pic_height = ivi4_common_pic_sizes[pic_size_indx * 2 + 1];
156 pic_conf.pic_width = ivi4_common_pic_sizes[pic_size_indx * 2 ];
162 pic_conf.tile_height = scale_tile_size(pic_conf.pic_height, get_bits(&ctx->gb, 4));
163 pic_conf.tile_width = scale_tile_size(pic_conf.pic_width, get_bits(&ctx->gb, 4));
165 pic_conf.tile_height = pic_conf.pic_height;
166 pic_conf.tile_width = pic_conf.pic_width;
174 pic_conf.chroma_height = (pic_conf.pic_height + 3) >> 2;
175 pic_conf.chroma_width = (pic_conf.pic_width + 3) >> 2;
178 pic_conf.luma_bands = decode_plane_subdivision(&ctx->gb);
179 pic_conf.chroma_bands = 0;
180 if (pic_conf.luma_bands)
181 pic_conf.chroma_bands = decode_plane_subdivision(&ctx->gb);
183 if (av_image_check_size2(pic_conf.pic_width, pic_conf.pic_height, avctx->max_pixels, AV_PIX_FMT_YUV410P, 0, avctx) < 0) {
185 pic_conf.pic_width, pic_conf.pic_height);
189 ctx->is_scalable = pic_conf.luma_bands != 1 || pic_conf.chroma_bands != 1;
190 if (ctx->is_scalable && (pic_conf.luma_bands != 4 || pic_conf.chroma_bands != 1)) {
192 pic_conf.luma_bands, pic_conf.chroma_bands);
197 if (ivi_pic_config_cmp(&pic_conf, &ctx->pic_conf)) {
198 if (ff_ivi_init_planes(avctx, ctx->planes, &pic_conf, 1)) {
200 ctx->pic_conf.luma_bands = 0;
204 ctx->pic_conf = pic_conf;
208 for (i = 0; i < (!p ? pic_conf.luma_bands : pic_conf.chroma_bands); i++) {
214 if (ff_ivi_init_tiles(ctx->planes, ctx->pic_conf.tile_width,
215 ctx->pic_conf.tile_height)) {
681 ctx->pic_conf.pic_width = 0;
682 ctx->pic_conf.pic_height = 0;