Lines Matching refs:depth
205 int depth;
781 if (region->depth == 8)
783 else if (region->depth == 4)
793 if (region->depth < 4) {
794 av_log(avctx, AV_LOG_ERROR, "4-bit pixel string in %d-bit region!\n", region->depth);
798 if (region->depth == 8)
808 if (region->depth < 8) {
809 av_log(avctx, AV_LOG_ERROR, "8-bit pixel string in %d-bit region!\n", region->depth);
911 int entry_id, depth , full_range;
945 depth = (*buf) & 0xe0;
947 if (depth == 0) {
948 av_log(avctx, AV_LOG_ERROR, "Invalid clut depth 0x%x!\n", *buf);
976 if (depth & 0x80)
978 if (depth & 0x40)
980 if (depth & 0x20)
1031 region->depth = 1 << (((*buf++) >> 2) & 7);
1032 if(region->depth<2 || region->depth>8){
1033 av_log(avctx, AV_LOG_ERROR, "region depth %d is invalid\n", region->depth);
1034 region->depth= 4;
1038 if (region->depth == 8)
1043 if (region->depth == 4)
1228 switch (region->depth) {
1355 switch (region->depth) {
1369 memcpy(rect->pict.data[1], clut_table, (1 << region->depth) * sizeof(uint32_t));