Lines Matching defs:format
66 int format;
237 " format INTEGER NOT NULL," \
1039 * @param cmd->arg.format ART_FMT_PNG for png, ART_FMT_JPEG for jpeg or 0 if no artwork available
1053 query = "INSERT INTO artwork (id, persistentid, max_w, max_h, format, filepath, db_timestamp, data, type) VALUES (NULL, ?, ?, ?, ?, ?, ?, ?, ?);";
1073 sqlite3_bind_int(stmt, 4, cmd->arg.format);
1101 * In this case format and data contain the cached values.
1108 * @param cmd->arg.format set by this function to the format of the cache entry
1115 #define Q_TMPL "SELECT a.format, a.data FROM artwork a WHERE a.type = %d AND a.persistentid = %" PRIi64 " AND a.max_w = %d AND a.max_h = %d;"
1156 cmd->arg.format = sqlite3_column_int(stmt, 0);
1467 * @param format ART_FMT_PNG for png, ART_FMT_JPEG for jpeg or 0 if no artwork available
1473 cache_artwork_add(int type, int64_t persistentid, int max_w, int max_h, int format, char *filename, struct evbuffer *evbuf)
1488 cmd.arg.format = format;
1503 * In this case format and data contain the cached values.
1509 * @param format set by this function to the format of the cache entry
1514 cache_artwork_get(int type, int64_t persistentid, int max_w, int max_h, int *cached, int *format, struct evbuffer *evbuf)
1533 *format = cmd.arg.format;