Lines Matching defs:texture
35 int texture;/* index of the texture to keep (0 for rgb or 1 for alpha) */
39 if (((ctx->texture == 0)&&((section_type & 0x0F) == 0x0F)) || /* HapQ texture and rgb extract */
40 ((ctx->texture == 1)&&((section_type & 0x0F) == 0x01))) /* HapAlphaOnly texture and alpha extract */
42 return 1; /* the texture is the one to keep */
75 bytestream2_seek(&gbc, start_section_size, SEEK_SET);/* go to start of the first texture */
83 if (check_texture(ctx, section_type) == 0) { /* the texture is not the one to keep */
85 bytestream2_seek(&gbc, start_section_size, SEEK_SET);/* go to start of the second texture */
92 if (check_texture(ctx, section_type) == 0){ /* the second texture is not the one to keep */
93 av_log(bsf, AV_LOG_ERROR, "No valid texture found.\n");
115 { "texture", "texture to keep", OFFSET(texture), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS, "texture" },
116 { "color", "keep HapQ texture", 0, AV_OPT_TYPE_CONST, { .i64 = 0 }, 0, 0, FLAGS, "texture" },
117 { "alpha", "keep HapAlphaOnly texture", 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, 0, 0, FLAGS, "texture" },